Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330604 Details for
Bug 409815
sys-freebsd/boot0-9.0 fails to build with USE=zfs and either Clang or GCC 4.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for boot0-9.1_rc3.ebuild
409815-final.patch (text/plain), 1.02 KB, created by
Yuta SATOH
on 2012-11-26 11:28:55 UTC
(
hide
)
Description:
sample patch for boot0-9.1_rc3.ebuild
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2012-11-26 11:28:55 UTC
Size:
1.02 KB
patch
obsolete
>--- boot0-9.1_rc3.ebuild.orig 2012-11-06 21:52:54.000000000 +0900 >+++ boot0-9.1_rc3.ebuild 2012-11-26 20:27:24.000000000 +0900 >@@ -4,7 +4,7 @@ > > EAPI=2 > >-inherit bsdmk freebsd flag-o-matic >+inherit bsdmk freebsd flag-o-matic toolchain-funcs > > DESCRIPTION="FreeBSD's bootloader" > SLOT="0" >@@ -34,11 +34,20 @@ > } > > src_prepare() { >- sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ >+ sed -e '/-mno-align-long-strings/d' \ > -i "${S}"/i386/boot2/Makefile \ > -i "${S}"/i386/gptboot/Makefile \ > -i "${S}"/i386/gptzfsboot/Makefile \ > -i "${S}"/i386/zfsboot/Makefile || die >+ >+ # gcc-4.6 or later version support, bug #409815 >+ if ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -ge 6 ]] ) ; then >+ sed -i -e '/-m elf_i386_fbsd/d' "${S}"/i386/Makefile.inc || die >+ for dir in boot2 gptboot gptzfsboot zfsboot; do >+ echo "LDFLAGS+= -m elf_i386_fbsd" >> "${S}"/i386/${dir}/Makefile || die >+ done >+ echo "CFLAGS+= -fno-asynchronous-unwind-tables" >> "${S}"/i386/boot2/Makefile || die >+ fi > } > > 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 409815
:
306809
|
313301
|
315285
|
315343
|
330476
|
330478
|
330530
|
330604
|
355870