hi, my host is: ppc linux with gcc 3.4.6/4.1.2 binutils 2.17/2.18 if i invoke crossdev target --target mipsel-linux-uclibc the build has issues and ends as you can see from the included logs there is something wrong at the uclibc stage "error: static declaration of '_dl_malloc_addr' follows non-static declaration" i can't understand what does it mean, but i clearly think there is a bug in the build system " Reproducible: Always tail of error log (*) crossdev target --target mipsel-linux-uclibc mipsel-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -mno-split-addresses -mips1 -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -isystem /usr/lib/gcc/mipsel-linux-uclibc/4.1.2/include -D__SUPPORT_LD_DEBUG__ -I../libdl -c mips/resolve.S -o mips/resolve.o true -Since_we_are_debugging -x -R .note -R .comment mips/resolve.o mipsel-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -mno-split-addresses -mips1 -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -isystem /usr/lib/gcc/mipsel-linux-uclibc/4.1.2/include -D__SUPPORT_LD_DEBUG__ -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 `/var/tmp/cross/mipsel-linux-uclibc/portage/cross-mipsel-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso/ldso' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/cross/mipsel-linux-uclibc/portage/cross-mipsel-linux-uclibc/uclibc-0.9.27-r1/work/uClibc-0.9.27/ldso' make: *** [_dir_ldso] Error 2 !!! ERROR: cross-mipsel-linux-uclibc/uclibc-0.9.27-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3413: 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 '/var/tmp/cross/mipsel-linux-uclibc/portage/cross-mipsel-linux-uclibc/uclibc-0.9.27-r1/temp/build.log'. !!! This ebuild is from an overlay: '/usr/local/portage'
crossdev told you to post a lot more files as attachments ... do it
Created attachment 155639 [details] /var/log/portage/cross-mips-linux-uclibc-uclibc.log
Created attachment 155641 [details] /var/log/portage/cross-mips-linux-uclibc-info.log
There's the two logfiles, please reopen.
Note that while my logs appear to have a different Segfault issue, if I emerge cross-mips-linux-uclibc/uclibc by hand, I get the same problem the original reporter did.