Summary: | sys-devel/binutils-2.24: LDFLAGS="-Wl,--as-needed" breaks >=sys-libs/db-5.0.32 ("undefined reference" to dlopen calls dl{sym,error,open,close}) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel, reuben-gentoo-bugzilla |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=72f758d066732d56d50851a97dd67a31f331e2b3 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 497850 | ||
Attachments: | build.log file of db-5.3.21 |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2014-01-13 09:52:39 UTC
This seems to be a problem with sys-devel/binutils-2.24 and --as-needed LDFLAG. Downgrading to binutils-2.23.2 makes the problem disappear. CCing toolchain herd. binutils upstream fixed this already (see URL). I've applied the patch locally and after that I go no more errors. should be all set now in the tree; thanks for the report! Commit message: Add fix from upstream for --as-needed handling http://sources.gentoo.org/gentoo/src/patchsets/binutils/2.24/24_all_as-needed.patch?rev=1.1 http://sources.gentoo.org/sys-devel/binutils/binutils-2.24-r2.ebuild?rev=1.1 *** Bug 462494 has been marked as a duplicate of this bug. *** |