Opened 3 years ago

Closed 3 years ago

#5011 closed enhancement (fixed)

add binutils-2.38 LTO patch

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 11.1
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

It's known that binutils-2.38 starts to break some packages if LTO is enabled: https://sourceware.org/bugzilla/show_bug.cgi?id=28879

Some BLFS packages (esp. those from Mozilla) is enabling LTO by default and can trigger this issue. So it's better to patch binutils before 11.1 freeze to avoid further issues in BLFS.

Change History (5)

comment:1 by Bruce Dubbs, 3 years ago

Can you attach the patch?

comment:2 by Xi Ruoyao, 3 years ago

I'm running a test now. After check the result I'll put the patch into patches.git.

comment:3 by Bruce Dubbs, 3 years ago

That will work. Right now I'm running all tests. gcc tests are approaching 2 hours.

comment:4 by Xi Ruoyao, 3 years ago

Pushed as binutils/binutils-2.38-lto_fix-1.patch in patches.git.

comment:5 by Bruce Dubbs, 3 years ago

Resolution: fixed
Status: newclosed

Fixed at commit 6af4dabc16cc044f4d65372cdbd203310df08e20

Package updates and fixes.
    Add binutils-2.38 LTO patch.
    Update to util-linux-2.37.4.
    Update to man-db-2.10.1.
    Update to linux-5.16.9.
    Update to vim-8.2.4383.
    Update to iana-etc-20220207.
Note: See TracTickets for help on using tickets.