Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 386268 Details for
Bug 326693
sys-libs/glibc: add pkg_config check for CONFIG_IA32_EMULATION when USE=multilib and CTARGET=x86_64-*
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add check for CONFIG_IA32_EMULATION if using multilib and amd64 and not cross-compiling
enable-IA32_EMULATION-check.patch (text/plain), 1.39 KB, created by
Steven Presser
on 2014-10-09 02:17:29 UTC
(
hide
)
Description:
Add check for CONFIG_IA32_EMULATION if using multilib and amd64 and not cross-compiling
Filename:
MIME Type:
Creator:
Steven Presser
Created:
2014-10-09 02:17:29 UTC
Size:
1.39 KB
patch
obsolete
>--- a/sys-libs/glibc/glibc-2.20.ebuild >+++ b/sys-libs/glibc/glibc-2.20.ebuild >@@ -4,7 +4,7 @@ > > EAPI="4" > >-inherit eutils versionator toolchain-funcs flag-o-matic gnuconfig multilib systemd unpacker multiprocessing >+inherit eutils versionator toolchain-funcs flag-o-matic gnuconfig multilib systemd unpacker multiprocessing linux-info > > DESCRIPTION="GNU libc6 (also called glibc2) C library" > HOMEPAGE="http://www.gnu.org/software/libc/libc.html" >@@ -103,6 +103,17 @@ > ) > SRC_URI+=" ${GCC_BOOTSTRAP_VER:+multilib? ( $(gentoo_uris gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2) )}" > >+# ABI-specific checks, but run only if the right target+destination conditions are met. >+if [[ ${CATEGORY} != cross-* ]] >+then >+ # In a cross-compile situation we cannot (easily) probe the kernel that glibc will be running on. Skip the check >+ use amd64 && use multilib && { >+ # IA32 Emulation MUST be enabled on amd64 kernels: >+ CONFIG_CHECK="IA32_EMULATION ${CONFIG_CHECK}" >+ ERROR_CONFIG_IA32_EMULATION="CONFIG_IA32_EMULATION must be enabled on amd64 kernels to compile glibc" >+ } >+fi >+ > # eblit-include [--skip] <function> [version] > eblit-include() { > local skipable=false >@@ -138,6 +149,7 @@ > eblit-run-maybe eblit-$1-post > } > >+pkg_pretend() { check_extra_config ; } > src_unpack() { eblit-run src_unpack ; } > src_prepare() { eblit-run src_prepare ; } > src_configure() { eblit-run src_configure ; }
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 326693
:
386268
|
386308