in case of userland_GNU ebuild will add -Wl,--default-symver to LDFLAGS. this option valid for ld.bfd but not for ld.gold. Reproducible: Always Steps to Reproduce: 1.binutils-config --linker ld.gold 2.emerge -1x =sys-libs/db-4.8.30 3. Actual Results: configure stage failed
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 365830 [details] output of `cave info` I use paludis, having emerge is not configured. so here is `cave info` log
Created attachment 365832 [details] output of `cave resolve sys-libs/db`
Created attachment 365834 [details] config.log after broken ./configure here is a log file mentioned in cave-resolve.log
Comment on attachment 365830 [details] output of `cave info` LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--gc-sections -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--default-symver Where did that come from?
(In reply to Jeroen Roovers from comment #5) > Comment on attachment 365830 [details] > output of `cave info` > > LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--gc-sections > -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--default-symver > > Where did that come from? I've told you, "-Wl,--default-symver" came from the ebuild! in case of userland_GNU... and that is invalid for ld.gold!
*** This bug has been marked as a duplicate of bug 470634 ***