Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 418225

Summary: sys-libs/glibc-2.15* doesn't have x32 ABI support if cross-compiled
Product: Gentoo Linux Reporter: Ostashevskyi Viktor <ostash>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ostashevskyi Viktor 2012-05-30 09:25:07 UTC
Gentoo supports x32 ABI for glibc starting from version 2.15.

In order to have support patch from hjl branch is applied to glibc sources.
It is done conditionally:

eblit-src_unpack-pre() {
        [[ ${CHOST} == x86_64* ]] && has x32 $(get_all_abis) \
                || GLIBC_PATCH_EXCLUDE+=" 1200_all_glibc-${PV}-x32.patch"
}

However, during cross-compiling CHOST is for sure not x86_64.


Reproducible: Always




Ways to resolve:

Check for CTARGET == x86_64 or apply unconditionally.
Comment 1 SpanKY gentoo-dev 2012-05-30 15:38:11 UTC
do not file x32 toolchain bugs until i've announced things
Comment 2 Ostashevskyi Viktor 2012-05-30 15:43:44 UTC
Ok, in which other way I can participate?
Comment 3 SpanKY gentoo-dev 2012-05-30 18:53:23 UTC
i should have an announcement this week.  until then, using the existing x32 patches in glibc-2.15 won't work and has known bugs, so testing packages against it won't really be useful.