Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192820 - sys-devel/crossdev fails to build uclibc with gcc 4.1.2 for target mipsel-softfloat-linux-uclibc
Summary: sys-devel/crossdev fails to build uclibc with gcc 4.1.2 for target mipsel-sof...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 14:13 UTC by Woodward Crim Hoffman
Modified: 2007-09-17 16:34 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 Woodward Crim Hoffman 2007-09-17 14:13:24 UTC
Run crossdev with the command line:
USE="-* nptl" crossdev -v --target mipsel-softfloat-linux-uclibc
This will fail.
Run crossdev with the command line:
USE="-* nptl" crossdev -v --target mipsel-softfloat-linux-uclibc --gcc 3.4.6-r2 
and it succeeds.

Reproducible: Always

Steps to Reproduce:
1.run: USE="-* nptl" crossdev -v --target mipsel-softfloat-linux-uclibc
2.
3.

Actual Results:  
Tail of log file:

make[1]: Leaving directory `/opt/portage/tmp/cross/mipsel-softfloat-linux-uclibc/portage/cross-mipsel-softfloat-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/libc/sysdeps/linux/mips'
make -C  ldso
make[1]: Entering directory `/opt/portage/tmp/cross/mipsel-softfloat-linux-uclibc/portage/cross-mipsel-softfloat-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso'
echo "const char *_dl_progname=\""ld-uClibc.so.0"\";" \
                > include/dl-progname.h
echo "#include \"mips/elfinterp.c\"" \
                >> include/dl-progname.h
ln -fs ../../include/elf.h include/
ln -fs ../ldso/mips/dl-startup.h include/
ln -fs ../ldso/mips/dl-syscalls.h include/
ln -fs ../ldso/mips/dl-sysdep.h include/
make -C ldso;
make[2]: Entering directory `/opt/portage/tmp/cross/mipsel-softfloat-linux-uclibc/portage/cross-mipsel-softfloat-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso/ldso'
mipsel-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -funit-at-a-time -mno-split-addresses -mips1 -msoft-float -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -isystem /usr/lib/gcc/mipsel-softfloat-linux-uclibc/4.1.2/include  -I../libdl -c mips/resolve.S -o mips/resolve.o
mipsel-softfloat-linux-uclibc-strip -x -R .note -R .comment mips/resolve.o
mipsel-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -funit-at-a-time -mno-split-addresses -mips1 -msoft-float -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -isystem /usr/lib/gcc/mipsel-softfloat-linux-uclibc/4.1.2/include -I../libdl -c ldso.c -o ldso.o
ldso.c:74: error: static declaration of '_dl_malloc_addr' follows non-static declaration
../../ldso/include/ldso.h:45: error: previous declaration of '_dl_malloc_addr' was here
ldso.c:75: error: static declaration of '_dl_mmap_zero' follows non-static declaration
../../ldso/include/ldso.h:46: error: previous declaration of '_dl_mmap_zero' was here
In file included from ldso.c:935:
dl-hash.c: In function '_dl_find_hash':
dl-hash.c:150: warning: pointer targets in passing argument 1 of '_dl_elf_hash' differ in signedness
make[2]: *** [ldso.o] Error 1
make[2]: Leaving directory `/opt/portage/tmp/cross/mipsel-softfloat-linux-uclibc/portage/cross-mipsel-softfloat-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso/ldso'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/portage/tmp/cross/mipsel-softfloat-linux-uclibc/portage/cross-mipsel-softfloat-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso'
make: *** [_dir_ldso] Error 2

!!! ERROR: cross-mipsel-softfloat-linux-uclibc/uclibc-0.9.27-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  uclibc-0.9.27-r1.ebuild, line 326:   Called die

!!! could not make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/opt/portage/log/cross-mipsel-softfloat-linux-uclibc:uclibc-0.9.27-r1:20070917-112440.log'.
Comment 1 SpanKY gentoo-dev 2007-09-17 16:34:26 UTC
this has been fixed in uclibc-0.9.29 already ... i dont plan on backporting, so you'll have to sit tight