Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94565 - uclibc still runs src_test by default which breaks cross-compiling
Summary: uclibc still runs src_test by default which breaks cross-compiling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Other
: High minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-30 17:02 UTC by Marius Mauch (RETIRED)
Modified: 2005-05-30 17:27 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 Marius Mauch (RETIRED) gentoo-dev 2005-05-30 17:02:28 UTC
We talked about that a while ago ...

ROOT=/target/ CHOST=mipsel-gentoo-linux-uclibc emerge busybox
[snip]
make[1]: Leaving directory `/var/tmp/portage/uclibc-0.9.27/work/uClibc-0.9.27/utils'
make -C  args
make[1]: Entering directory `/var/tmp/portage/uclibc-0.9.27/work/uClibc-0.9.27/test/args'
-------
 
Compiling vs uClibc: 
 
gcc  -Wall -Wstrict-prototypes -O0  -mno-split-addresses -g -c arg_test.c -o arg_test.o
cc1: error: invalid option `no-split-addresses'
make[1]: *** [arg_test] Error 1
make[1]: Leaving directory `/var/tmp/portage/uclibc-0.9.27/work/uClibc-0.9.27/test/args'
make: *** [_dir_args] Error 2

!!! ERROR: sys-libs/uclibc-0.9.27 failed.
!!! Function src_test, Line 277, Exitcode 2

This is due to mips-specific CFLAGS (inherited from ARCH_CFLAGS in Rules.mak) being used with the host compiler (i386) for the tests.
Comment 1 SpanKY gentoo-dev 2005-05-30 17:27:09 UTC
already added the check ...