This is the mail archive of the crossgcc@sourceware.org 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] |
On (26/11/08 14:50), vg sdx wrote: > I've done a lot of times to building this crosstoolchain, and > eventually end in failure! > The following are some of my experiences: > > 1:<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > Reference: Error in glibc make > URL: http://sources.redhat.com/ml/libc-alpha/2003-10/msg00099.html > > Error: > gcc ../sysdeps/unix/sysv/linux/arm/sysdep.S -c -I../include -I. > -I/f/bld/tmp/csu -I.. -I../libio -I/f/bld/tmp -I../sysdeps/arm/elf > -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 > f:/dvlp/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/include -isystem > /f/bld/pfx/arm-linux/include -D_LIBC_REENTRANT -include > ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER > -I/f/bld/tmp/csu/. -o /f/bld/tmp/csu/sysdep.o > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s: Assembler messages: > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:50: Warning: .type pseudo-op > used outside of .def/.endef ignored. > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:50: Warning: rest of line > ignored; first ignored character is `e' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:51: Warning: .size pseudo-op > used outside of .def/.endef ignored. > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:51: Warning: rest of line > ignored; first ignored character is `e' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:56: Warning: .type pseudo-op > used outside of .def/.endef ignored. > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:56: Warning: rest of line > ignored; first ignored character is `_' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:57: Error: no such > instruction: `rsb r0,r0,$0' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:80: Error: no such > instruction: `ldr r1,_errno_loc' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:81: Error: invalid char '[' > beginning operand 2 `[r1]' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:83: Error: no such > instruction: `stmdb sp!,{r0,lr}' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:85: Error: no such > instruction: `bl __errno_location' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:86: Error: no such > instruction: `ldmia sp!,{r1,lr}' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:87: Error: invalid char '[' > beginning operand 2 `[r0]' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:89: Error: no such > instruction: `mvn r0,$0' > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:90: Error: no instruction > mnemonic suffix given and no register operands; can't size instruction > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:97: Warning: .size pseudo-op > used outside of .def/.endef ignored. > D:/DOCUME~1/test/LOCALS~1/Temp/ccsbbaaa.s:97: Warning: rest of line > ignored; first ignored character is `_' > make[2]: *** [/f/bld/tmp/csu/sysdep.o] Error 1 > make[2]: Leaving directory `/f/bld/glibc-2.3.1/csu' > make[1]: *** [csu/subdir_lib] Error 2 > make[1]: Leaving directory `/f/bld/glibc-2.3.1' > make: *** [all] Error 2 Your problem seems to be that its using the native gcc to compile the assembly file which if done correctly should have used the cross compiler/assembler try using ct-ng. > > 2.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > Reference: ezx-crosstool-0.6 > > 3.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > Reference: crosstool-0.43 > Error: > ../sysdeps/unix/sysv/linux/bind.S: Assembler messages: > ../sysdeps/unix/sysv/linux/bind.S:5: Error: symbol `__bind' is already defined > make[2]: *** [/f/build/crosstool-0.43/build/arm/tc/build-glibc/socket/bind.o] > Error 1 > make[2]: Leaving directory > `/f/build/crosstool-0.43/build/arm/tc/glibc-2.3.6/socket' > make[1]: *** [socket/subdir_lib] Error 2 > make[1]: Leaving directory `/f/build/crosstool-0.43/build/arm/tc/glibc-2.3.6' > make: *** [lib] Error 2 You might need some patch to solve this problem. Look around. > > > 4.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > Reference: crosstool-0.43 > Error: > arm-unknown-linux-gnu-gcc dl-load.c -c -std=gnu99 -O -Wall -Winline > -Wstrict-prototypes -Wwrite-strings -I../include -I. > -I/f/build/crosstool-0.43/build/arm/tc/build-glibc/elf -I.. -I../libio > -I/f/build/crosstool-0.43/build/arm/tc/build-glibc > -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 > f:/build/crosstool-0.43/build/arm/tc/gcc-core-prefix/bin/../lib/gcc/arm-unknown-linux-gnu/3.4.5/include > -isystem /f/build/crosstool/tc/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include > -D_LIBC_REENTRANT -include ../include/libc-symbols.h > -I/f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/. > -I/f/build/crosstool-0.43/build/arm/tc/build-glibc/csu/. -o > /f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/dl-load.o -MD -MP > -MF /f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/dl-load.o.dt > -MT /f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/dl-load.o > dl-load.c:35:21: abi-tag.h: No such file or directory > dl-load.c: In function `open_verify': > dl-load.c:1647: error: `__ABI_TAG_OS' undeclared (first use in this function) > dl-load.c:1647: error: (Each undeclared identifier is reported only once > dl-load.c:1647: error: for each function it appears in.) > make[2]: *** [/f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/dl-load.o] > Error 1 > make[2]: Leaving directory > `/f/build/crosstool-0.43/build/arm/tc/glibc-2.3.6/elf' > make[1]: *** [elf/subdir_lib] Error 2 > make[1]: Leaving directory `/f/build/crosstool-0.43/build/arm/tc/glibc-2.3.6' > make: *** [lib] Error 2 > > > 5.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > Reference: crosstool-0.43 > Error: > arm-unknown-linux-gnu-gcc -nostdlib -nostartfiles -shared -o > /f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/ld.so > \ > -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs \ > /f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/librtld.os > -Wl,--version-script=/f/build/crosstool-0.43/build/arm/tc/build-glibc/ld.map > \ > -Wl,-soname=ld-linux.so.2 -T > /f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/ld.so.lds > f:/build/crosstool-0.43/build/arm/tc/build-glibc/elf/librtld.os: In > function `_dl_start_final': > libgcc2.c:(.text+0x98): undefined reference to `memcpy' > f:/build/crosstool-0.43/build/arm/tc/build-glibc/elf/librtld.os: In > function `_dl_start': > libgcc2.c:(.text+0x8b0): undefined reference to `memcpy' > libgcc2.c:(.text+0x934): undefined reference to `getpagesize' > libgcc2.c:(.text+0x95c): undefined reference to `mmap' > f:/build/crosstool-0.43/build/arm/tc/build-glibc/elf/librtld.os: In > function `version_check_doit': > libgcc2.c:(.text+0xb7c): undefined reference to `_exit' > .......................... > libgcc2.c:(.text+0xee54): undefined reference to `_exit' > f:/build/crosstool-0.43/build/arm/tc/build-glibc/elf/librtld.os: In > function `__strtoul_internal': > libgcc2.c:(.text+0xefdc): undefined reference to `rtld_errno' > f:/build/crosstool-0.43/build/arm/tc/build-glibc/elf/librtld.os: In > function `__chk_fail': > libgcc2.c:(.text+0xf158): undefined reference to `_exit' > f:/build/crosstool-0.43/build/arm/tc/build-glibc/elf/librtld.os: In > function `__brk': > libgcc2.c:(.text+0xf1b4): undefined reference to `rtld_errno' > make[2]: *** [/f/build/crosstool-0.43/build/arm/tc/build-glibc/elf/ld.so] > Error 1 > make[2]: Leaving directory > `/f/build/crosstool-0.43/build/arm/tc/glibc-2.3.6/elf' > make[1]: *** [elf/subdir_lib] Error 2 > make[1]: Leaving directory `/f/build/crosstool-0.43/build/arm/tc/glibc-2.3.6' > make: *** [lib] Error 2 > > > Is there any help for me? > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |