Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545168 - sys-fs/udev-219 use gold and fail to build on ld-only flags
Summary: sys-fs/udev-219 use gold and fail to build on ld-only flags
Status: RESOLVED DUPLICATE of bug 539998
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-31 17:08 UTC by Denis Kaganovich
Modified: 2015-04-02 16:07 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 Denis Kaganovich 2015-03-31 17:08:29 UTC
sys-fs/udev-219 use gold and fail to build on ld-only flags.

Reproducible: Always

Steps to Reproduce:
1. LDFLAGS="-Wl,--sort-section=alignment" emerge -1 =sys-fs/udev-219
2.
3.



Possible fixes:
1) sanitize LDFLAGS;
2) use gold || sed -i -e 's:-Wl,-fuse-ld=gold::' "${S}"/configure.ac

PS IMHO can try it for Bug #543900 too.
Comment 1 Mart Raudsepp gentoo-dev 2015-04-02 16:07:40 UTC

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