Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494896 - sys-libs/db-4.8.30: --default-symver added in src_compile doesn't work with ld.gold
Summary: sys-libs/db-4.8.30: --default-symver added in src_compile doesn't work with l...
Status: RESOLVED DUPLICATE of bug 470634
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2013-12-20 22:06 UTC by Alex Turbov
Modified: 2014-01-15 07:40 UTC (History)
1 user (show)

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


Attachments
output of `cave info` (cave-info.log,19.92 KB, text/plain)
2013-12-21 18:11 UTC, Alex Turbov
Details
output of `cave resolve sys-libs/db` (cave-resolve.log,8.65 KB, text/plain)
2013-12-21 18:12 UTC, Alex Turbov
Details
config.log after broken ./configure (config.log,15.36 KB, text/plain)
2013-12-21 18:13 UTC, Alex Turbov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2013-12-20 22:06:49 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-21 16:02:13 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Alex Turbov 2013-12-21 18:11:52 UTC
Created attachment 365830 [details]
output of `cave info`

I use paludis, having emerge is not configured.
so here is `cave info` log
Comment 3 Alex Turbov 2013-12-21 18:12:23 UTC
Created attachment 365832 [details]
output of `cave resolve sys-libs/db`
Comment 4 Alex Turbov 2013-12-21 18:13:38 UTC
Created attachment 365834 [details]
config.log after broken ./configure

here is a log file mentioned in cave-resolve.log
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-22 17:32:11 UTC
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?
Comment 6 Alex Turbov 2013-12-22 17:46:05 UTC
(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!
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-01-15 07:40:07 UTC

*** This bug has been marked as a duplicate of bug 470634 ***