This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc 2.3.3 failing


Funny story, and find it agravating.

I first use crosstool to create a gcc 3.4.2 armeb tool chain.
Copy it to /usr/local on my mandrake 10.1 system. The build of
gcc/glibc and kernel are ok. I copy the patched source from crosstool
into my snapgear distro, and edit the makefile so the configure for glibc
is correct compared to the original build.

Things go along just fill we get into the elf directory.

Any clues?



cd /data/snapgear/glibc/build && /usr/local/bin/../lib/gcc/armeb-linux-gnu/3.4.2/../../../../armeb-linux-gnu/bin/ar cruv libc_nonshared.a `cat csu/stamp.oST iconv/stamp.oST iconvdata/stamp.oST locale/stamp.oST localedata/stamp.oST assert/stamp.oST ctype/stamp.oST intl/stamp.oST catgets/stamp.oST math/stamp.oST setjmp/stamp.oST signal/stamp.oST stdlib/stamp.oST stdio-common/stamp.oST libio/stamp.oST dlfcn/stamp.oST malloc/stamp.oST string/stamp.oST wcsmbs/stamp.oST timezone/stamp.oST time/stamp.oST dirent/stamp.oST grp/stamp.oST pwd/stamp.oST posix/stamp.oST io/stamp.oST termios/stamp.oST resource/stamp.oST misc/stamp.oST socket/stamp.oST sysvipc/stamp.oST gmon/stamp.oST gnulib/stamp.oST wctype/stamp.oST manual/stamp.oST shadow/stamp.oST po/stamp.oST argp/stamp.oST crypt/stamp.oST linuxthreads/stamp.oST resolv/stamp.oST nss/stamp.oST rt/stamp.oST conform/stamp.oST debug/stamp.oST linuxthreads_db/stamp.oST inet/stamp.oST hesiod/stamp.oST sunrpc/stamp.oST nis/stamp.oST nscd/stamp.oST streams/stamp.oST login/stamp.oST elf/stamp.oST stamp.oST`
a - csu/elf-init.oST
a - stdlib/atexit.oST
a - io/stat.oST
a - io/fstat.oST
a - io/lstat.oST
a - io/mknod.oST
a - io/stat64.oST
a - io/fstat64.oST
a - io/lstat64.oST
: /data/snapgear/glibc/build/libc_nonshared.a
armeb-linux-gnu-gcc -mbig-endian sprof.c -c -std=gnu99 -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -I../include -I. -I/data/snapgear/glibc/build/elf -I.. -I../libio -I/data/snapgear/glibc/build -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/local/bin/../lib/gcc/armeb-linux-gnu/3.4.2/include -isystem /data/snapgear/linux-2.6.x/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -o /data/snapgear/glibc/build/elf/sprof.o -MD -MP -MF /data/snapgear/glibc/build/elf/sprof.o.dt
armeb-linux-gnu-gcc -mbig-endian -O1 -fno-common -Wall -fno-builtin -DEMBED -nostdinc -I/data/snapgear/include -idirafter /data/snapgear/include/include -Dlinux -D__linux__ -Dunix -nostdlib -nostartfiles -r -o /data/snapgear/glibc/build/libc_pic.os \
-Wl,-d -Wl,--whole-archive /data/snapgear/glibc/build/libc_pic.a
armeb-linux-gnu-gcc -mbig-endian -O1 -fno-common -Wall -fno-builtin -DEMBED -nostdinc -I/data/snapgear/include -idirafter /data/snapgear/include/include -Dlinux -D__linux__ -Dunix -shared -Wl,-O1 \
-nostdlib -nostartfiles \
-Wl,-dynamic-linker=/usr/lib/ld-linux.so.2 -Wl,-z,combreloc \
-Wl,--verbose 2>&1 | \
sed > /data/snapgear/glibc/build/shlib.ldsT \
-e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/^.*\.hash[ ]*:.*$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \
-e 's/^.*\*(\.dynbss).*$/& \
PROVIDE(__start___libc_freeres_ptrs = .); \
*(__libc_freeres_ptrs) \
PROVIDE(__stop___libc_freeres_ptrs = .);/'
mv -f /data/snapgear/glibc/build/shlib.ldsT /data/snapgear/glibc/build/shlib.lds
armeb-linux-gnu-gcc -mbig-endian -O1 -fno-common -Wall -fno-builtin -DEMBED -nostdinc -I/data/snapgear/include -idirafter /data/snapgear/include/include -Dlinux -D__linux__ -Dunix -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/usr/lib/ld-linux.so.2 -B/data/snapgear/glibc/build/csu/ -Wl,--version-script=/data/snapgear/glibc/build/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -nostdlib -nostartfiles -e __libc_main -L/data/snapgear/glibc/build -L/data/snapgear/glibc/build/math -L/data/snapgear/glibc/build/elf -L/data/snapgear/glibc/build/dlfcn -L/data/snapgear/glibc/build/nss -L/data/snapgear/glibc/build/nis -L/data/snapgear/glibc/build/rt -L/data/snapgear/glibc/build/resolv -L/data/snapgear/glibc/build/crypt -L/data/snapgear/glibc/build/linuxthreads -Wl,-rpath-link=/data/snapgear/glibc/build:/data/snapgear/glibc/build/math:/data/snapgear/glibc/build/elf:/data/snapgear/glibc/build/dlfcn:/data/snapgear/glibc/build/nss:/data/snapgear/glibc/build/nis:/data/snapgear/glibc/build/rt:/data/snapgear/glibc/build/resolv:/data/snapgear/glibc/build/crypt:/data/snapgear/glibc/build/linuxthreads -o /data/snapgear/glibc/build/libc.so -T /data/snapgear/glibc/build/shlib.lds /data/snapgear/glibc/build/csu/abi-note.o /data/snapgear/glibc/build/elf/soinit.os /data/snapgear/glibc/build/libc_pic.os /data/snapgear/glibc/build/elf/sofini.os /data/snapgear/glibc/build/elf/interp.os /data/snapgear/glibc/build/elf/ld.so -lgcc
rm -f /data/snapgear/glibc/build/libc.so.6.new
/bin/sh ../scripts/rellns-sh /data/snapgear/glibc/build/libc.so /data/snapgear/glibc/build/libc.so.6.new
mv -f /data/snapgear/glibc/build/libc.so.6.new /data/snapgear/glibc/build/libc.so.6
make[6]: *** No rule to make target `/data/snapgear/glibc/build/dlfcn/libdl.so.2', needed by `/data/snapgear/glibc/build/elf/sprof'. Stop.
make[6]: Leaving directory `/data/snapgear/glibc/elf'
make[5]: *** [/data/snapgear/glibc/build/elf/rtld-libc.a] Error 2
make[5]: Leaving directory `/data/snapgear/glibc/elf'
make[4]: *** [elf/subdir_lib] Error 2
make[4]: Leaving directory `/data/snapgear/glibc'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/data/snapgear/glibc/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/data/snapgear/glibc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/snapgear/lib'
make: *** [subdirs] Error 1
[root@EextremeGw snapgear]#



------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]