Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 386308 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]
Performs a test of compiling and running a 32-bit elf to determine if IA32_EMULATION is set in running kernel
enable-IA32_EMULATION-check.patch (text/plain), 1017 bytes, created by
Steven Presser
on 2014-10-09 17:38:05 UTC
(
hide
)
Description:
Performs a test of compiling and running a 32-bit elf to determine if IA32_EMULATION is set in running kernel
Filename:
MIME Type:
Creator:
Steven Presser
Created:
2014-10-09 17:38:05 UTC
Size:
1017 bytes
patch
obsolete
>--- a/sys-libs/glibc/glibc-2.20.ebuild >+++ b/sys-libs/glibc/glibc-2.20.ebuild >@@ -138,6 +138,23 @@ > eblit-run-maybe eblit-$1-post > } > >+pkg_pretend() { >+# 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 && { >+ ebegin "Checking IA32 emulation is enabled" >+ echo 'int main(){return 0;}' > "${T}/check-ia32-emulation.c" >+ "${CC-${CHOST}-gcc}" ${CFLAGS_x86} "${T}/check-ia32-emulation.c" -o "${T}/check-ia32-emulation.elf32" >+ "${T}/check-ia32-emulation.elf32" >+ STAT=$? >+ rm -f "${T}/check-ia32-emulation.elf32" >+ eend $STAT >+ [ $STAT -eq 0 ] || die "CONFIG_IA32_EMULATION must be enabled in the kernel to compile glibc" >+ } >+ fi >+} > 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