Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 352244 Details for
Bug 475202
sys-firmware/ipxe aborts with ld.gold
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
ipxe.patch (text/plain), 1.33 KB, created by
Michael Weber (RETIRED)
on 2013-06-29 13:49:38 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Michael Weber (RETIRED)
Created:
2013-06-29 13:49:38 UTC
Size:
1.33 KB
patch
obsolete
>--- ipxe-1.0.0_p20130624.ebuild 2013-06-28 00:18:30.000000000 +0200 >+++ ipxe-1.0.0_p20130624-r1.ebuild 2013-06-29 15:46:03.115595892 +0200 >@@ -4,6 +4,8 @@ > > EAPI=5 > >+inherit flag-o-matic toolchain-funcs >+ > GIT_REV="936134ed460618e18cc05d677a442d43d5e739a1" > GIT_SHORT="936134e" > >@@ -39,6 +41,35 @@ > #define CONSOLE_VMWARE > EOF > fi >+ >+ #package rejects the Gnu gold linker, bug https://bugs.gentoo.org/475202 >+ LD=$(tc-getLD) >+ if ${LD} -v | grep -i "GNU gold" >/dev/null ; then >+ if which "${LD}.bfd" >/dev/null ; then >+ elog "overiding GNU gold linker with ld.bfd (bug 475202)" >+ LD="${LD}.bfd" >+ else >+ elog "GNU gold linker is rejected by the package (bug 475202)" >+ fi >+ fi >+ >+ # verbose build, respect gcc, ld, >+ # maybe just set CROSS_COMPILE to $(tc-getCC) without -gcc >+ # HOST_CC is used to compile util/zbin to be later run in the >+ # build process >+ sed -e '1iV := 1' \ >+ -e "/\(C\|LD\)FLAGS/d" \ >+ -e "/^AR\t*:=/s|:=.*|:= $(tc-getAR)|" \ >+ -e "/^CC\t*:=/s|:=.*|:= $(tc-getCC)|" \ >+ -e "/^LD\t*:=/s|:=.*|:= ${LD}|" \ >+ -e "/^OBJCOPY\t*:=/s|:=.*|:= $(tc-getOBJCOPY)|" \ >+ -e "/^OBJDUMP\t*:=/s|:=.*|:= $(tc-getPROG OBJDUMP objdump)|" \ >+ -e "/^RANLIB\t*:=/s|:=.*|:= $(tc-getRANLIB)|" \ >+ -e "/^HOST_CC\t*:=/s|:=.*|:= $(tc-getCC) ${CFLAGS} ${LDFLAGS}|" \ >+ -i Makefile >+ export CFLAGS= >+ export LDFLAGS= >+ > } > > src_compile() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 475202
: 352244