Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911581 (binutils-2.41) - [Tracker] Build failures with sys-devel/binutils-2.41
Summary: [Tracker] Build failures with sys-devel/binutils-2.41
Status: CONFIRMED
Alias: binutils-2.41
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: Tracker
Depends on: 575504 654820 736046 737112 791022 882343 916067 920808 923719 923944 924202 924204 924205 924207 924482 924483 924875 924966 925151 925181 925183 925185 925186 925552 925882 926362 926369 926372 926470 926471 926472 926473 926474 926475 926476 926477 926478 926480 927010 927170 927390 927391 927676 927677 927787 927810 927901 928101 928250 932157 938973 800284 911582 911679 911687 911688 911839 911986 912343 912708 913109 913110 913129 913410 913412 918105 924964 925010 930145 937610
Blocks:
  Show dependency tree
 
Reported: 2023-08-02 06:58 UTC by Sam James
Modified: 2024-09-11 23:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-02 06:58:31 UTC
Please file individual bugs and have them block this one.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-11 23:03:08 UTC
For fixing textrel issues, in order of preference:
* report it upstream if upstream is alive
* look around for patches or fix it yourself, see https://wiki.gentoo.org/wiki/Hardened/Position_Independent_Code_internals and https://devmanual.gentoo.org/general-concepts/pic/index.html
* just build unconditionally as PIC if upstream offer an option for it;
* for ancient stuff with no realistic security issues possible (e.g. an emulator which works entirely offline) and is (32-bit) x86-only, consider just doing -Wl,-z,notext
* disable asm if it's ancient (like SSE or something, the compiler can likely do a better job nowadays)