Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418225 - sys-libs/glibc-2.15* doesn't have x32 ABI support if cross-compiled
Summary: sys-libs/glibc-2.15* doesn't have x32 ABI support if cross-compiled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 09:25 UTC by Ostashevskyi Viktor
Modified: 2012-06-05 18:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.