[uClibc] toolchain compilation failure on linux/sparc

Jason Wever weeve at gentoo.org
Mon Sep 8 22:59:01 UTC 2003


Hello,

I'm attempting to build the gcc-3.2.3 based uclibc toolchain on
linux/sparc for sparc but I'm running into a problem.  I've tried using
both USE_UCLIBC_SNAPSHOT:=false and
USE_UCLIBC_SNAPSHOT:=true but I have the same result each time.

For informational purposes my system currently is running;

binutils-2.14.90.0.6
gcc-3.2.3
glibc-2.3.2

During what I'm guessing to be the build for uclibc, it dies with this;

gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -Os   
 -fno-builtin -nostdinc -D_LIBC -I../../include -I.
-I/root/Gentoo/uclibc/toolchain/gcc-3.2.3-stable/toolchain_sparc/lib/gcc-
lib/sparc-linux/3.2.3/include -DNDEBUG -fPIC -DUCLIBC_TARGET_PREFIX=\"/\"
-DUCLIBC_DEVEL_PREFIX=\""/root/Gentoo/uclibc/toolchain/gcc-3.2.3-stable/t
oolchain_sparc"\"
-DUCLIBC_BUILD_DIR=\"/root/Gentoo/uclibc/toolchain/gcc-3.2.3-stable/build
_sparc/uClibc-0.9.20\" -I. -I./sparc -I../libdl -c ldso.c -o ldso.o In
file included from ldso.c:108: ld_syscall.h: In function `_dl_exit':
ld_syscall.h:47: warning: `return' with a value, in function returning
void ld_syscall.h: In function `_dl_mmap_real':
ld_syscall.h:61: warning: return makes pointer from integer without a cast
ld_syscall.h: In function `_dl_getpid':
ld_syscall.h:133: `__NR_getpid' undeclared (first use in this function)
ld_syscall.h:133: (Each undeclared identifier is reported only once
ld_syscall.h:133: for each function it appears in.)
In file included from ldso.h:2,
                 from ldso.c:160:
sparc/elfinterp.c: At top level:
sparc/elfinterp.c:53: warning: type defaults to `int' in declaration of
`_elf_rtbndr' In file included from ldso.h:2,
                 from ldso.c:160:
ld_syscall.h: In function `_dl_linux_resolver':
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
sparc/elfinterp.c: At top level:
sparc/elfinterp.c:146: conflicting types for
`_dl_parse_lazy_relocation_information' linuxelf.h:21: previous
declaration of `_dl_parse_lazy_relocation_information' In file included
from ldso.h:2,                 from ldso.c:160:
ld_syscall.h: In function `_dl_parse_lazy_relocation_information':
ld_syscall.h:47: warning: statement with no effect
sparc/elfinterp.c: At top level:
sparc/elfinterp.c:191: conflicting types for
`_dl_parse_relocation_information' linuxelf.h:23: previous declaration of
`_dl_parse_relocation_information' sparc/elfinterp.c: In function
`_dl_parse_relocation_information': sparc/elfinterp.c:255: warning:
assignment makes integer from pointer without a cast
sparc/elfinterp.c:262: warning: assignment makes integer from pointer
without a cast
In file included from ldso.h:2,
                 from ldso.c:160:
ld_syscall.h:47: warning: statement with no effect
sparc/elfinterp.c: At top level:
sparc/elfinterp.c:307: conflicting types for `_dl_parse_copy_information'
linuxelf.h:19: previous declaration of `_dl_parse_copy_information'
ldso.c: In function `_dl_boot':
ldso.c:358: syntax error before "dpnt"
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h: In function `_dl_get_ready_to_run':
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h:47: warning: statement with no effect
ld_syscall.h: In function `_dl_fixup':
ld_syscall.h:47: warning: statement with no effect
In file included from ldso.c:1399:
ld_syscall.h: In function `search_for_named_library':
ld_syscall.h:47: warning: statement with no effect
In file included from ldso.c:1399:
ld_syscall.h: In function `_dl_malloc':
ld_syscall.h:47: warning: statement with no effect
make[3]: *** [ldso.o] Error 1
make[3]: Leaving directory
`/root/Gentoo/uclibc/toolchain/gcc-3.2.3-stable/build_sparc/uClibc-0.9.20
/ldso/ldso' make[2]: *** [all] Error 2
make[2]: Leaving directory
`/root/Gentoo/uclibc/toolchain/gcc-3.2.3-stable/build_sparc/uClibc-0.9.20
/ldso' make[1]: *** [_dir_ldso] Error 2
make[1]: Leaving directory
`/root/Gentoo/uclibc/toolchain/gcc-3.2.3-stable/build_sparc/uClibc-0.9.20'
make: ***
[/root/Gentoo/uclibc/toolchain/gcc-3.2.3-stable/build_sparc/uClibc-0.9.20
/lib/libc.a] Error 2


Any suggestions?

Thanks,
-- 
Jason Wever
Gentoo/Sparc Team Co-Lead
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20030908/dbe88880/attachment-0002.pgp 


More information about the uClibc mailing list