Summary: | dev-embedded/gpsim - ld: -warn-once: unknown option | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cmuelle8 <cmue81> |
Component: | [OLD] Development | Assignee: | Embedded Gentoo Team <embedded> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, xaviermiller |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=369291 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315 | ||
Attachments: | gpsim-0.26.1.ebuild.patch |
Description
cmuelle8
2015-01-13 07:58:50 UTC
I'm seeing this too, when I'm using gold instead of ld.bfd. Created attachment 417956 [details, diff]
gpsim-0.26.1.ebuild.patch
So dropping the flag gets past this error, but there are other issues when linking with ld.gold that are frankly going to take too long for me to sort out.
Just forcing ld.bfd in the ebuild however doesn't suffice either, as -Wl,-warn-once is still rejected by CCLD when ld.gold is the system linker.
However, doing both allows the build to finish fine. Patch to gpsim-0.26.1.ebuild is attached.
Comment on attachment 417956 [details, diff] gpsim-0.26.1.ebuild.patch > DOCS="ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO" > >+ > src_prepare() { drop the spurious newline >+ sed -i '/AM_LDFLAGS/s/ -Wl,-warn-once//' \ >+ "${S}"/configure.ac || die the "${S}" is redundant > src_configure() { >+ tc-ld-disable-gold >+ LD="$(tc-getLD)" LDFLAGS="${LDFLAGS}" \ it's not clear why you need to pass LD or LDFLAGS explicitly. configure should already do the right thing wrt both. Hello, same problem with dev-embedded/gputils-1.5.0 patching configure file of gputils works for me (In reply to Xavier Miller from comment #5) > patching configure file of gputils works for me Any news on this? It's still failing. I can't reproduce the failure now, with binutils-2.37. |