Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188729 - cross-compiling glibc for sparc fails
Summary: cross-compiling glibc for sparc fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-13 16:13 UTC by SpanKY
Modified: 2008-12-08 04:29 UTC (History)
1 user (show)

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 SpanKY gentoo-dev 2007-08-13 16:13:41 UTC
the glibc ebuild forces CHOST rewriting on sparc in the case of the generic "sparc-*" which means glibc configures for "sparcv9-*" ... in a native build, this gets ignored as the host `gcc` is OK to use, but in a cross build, the cross-compiler `sparcv9-...` cannot be located which means it falls back to the host which means it bombs

 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   sparc-unknown-linux-gnu
 *      CBUILD_OPT:
 *     CTARGET_OPT:   sparcv9-unknown-linux-gnu
...
checking build system type... x86_64-pc-linux-gnu
checking host system type... sparcv9-unknown-linux-gnu
...
checking for sparcv9-unknown-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
...
Comment 1 SpanKY gentoo-dev 2008-12-08 04:29:09 UTC
gcc-4.3.2 / glibc-2.9 seems to be OK now

issue was probably related to some of the configure scripts ive fixed along the way ...