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]

Re: master error list for crossgcc enthusiasts


Roman:


Feel free to start a page at my crossgcc wiki:


http://billgatliff.com/twiki/bin/view/Crossgcc/WebHome

b.g.


Roman Duka wrote:


Hi all, if it's viable, i'd like to propose to create a master error list and then get everyone to contribute to it. The idea is to catalog error message during compilation of software, toolchain description and possible solutions. Quite often people get similar error message when they try building cross gcc and libc libraires etc, once there is a master error list, people could search that, and see if the same error message have been catalogued and which solutions have been suggested

for example:

This is a list of error messages during different cross compilation stages
You can search for any error message you got, in case they have been
documented here and provide solutions to solve the problem


----------------------------
Problem:
x86-cross-sparc64 toolchain, binutils-2.14, gcc-3.4-20040121, glibc-2.3.3-20040127
cross compiling glibc fails


Solution:
When running "configure" script for glibc, set CC="sparc-64-unknown-linux-gnu -mcpu=ultrasp
arc3"


sparc64-unknown-linux-gnu-gcc ../sysdeps/sparc/sparc64/memset.S -c -I../include -I. -I/hom
e/roman/crosstool/TOOLS/build/glibc-build/string -I.. -I../libio -I/home/roman/crosstool/T
OOLS/build/glibc-build -I../sysdeps/sparc/sparc64/elf -I../sysdeps/sparc/elf -I../linuxthre
ads/sysdeps/unix/sysv/linux/sparc/sparc64 -I../linuxthreads/sysdeps/unix/sysv/linux/sparc -
I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pth
read -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/s
ysdeps/sparc/sparc64 -I../linuxthreads/sysdeps/sparc -I../sysdeps/unix/sysv/linux/sparc/spa
rc64 -I../sysdeps/unix/sysv/linux/sparc -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/sparc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc/sparc64/fpu -
I../sysdeps/sparc/sparc64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 -I../sysde
ps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/sparc/sparc64/soft-fp -I../sysde
ps/sparc/fpu -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/
generic -nostdinc -isystem /home/roman/crosstool/sparc64-unknown/gccmin/bin/../lib/gcc/spar
c64-unknown-linux-gnu/3.4.0/include -isystem /home/roman/crosstool/sparc64-unknown/sparc64-
unknown-linux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSE
MBLER -o /home/roman/crosstool/TOOLS/build/glibc-build/string/memset.o -MD -MP -MF /hom
e/roman/crosstool/TOOLS/build/glibc-build/string/memset.o.dt
../sysdeps/sparc/sparc64/memset.S: Assembler messages:
../sysdeps/sparc/sparc64/memset.S:248: Error: Architecture mismatch on "fzero".
../sysdeps/sparc/sparc64/memset.S:248: (Requires v9a|v9b; requested architecture is v9.)
../sysdeps/sparc/sparc64/memset.S:251: Error: Architecture mismatch on "fzero".
../sysdeps/sparc/sparc64/memset.S:251: (Requires v9a|v9b; requested architecture is v9.)
make[2]: *** [/home/roman/crosstool/TOOLS/build/glibc-build/string/memset.o] Error 1
make[2]: Leaving directory `/home/roman/crosstool/TOOLS/build/glibc-2.3.3-cvs/string'
make[1]: *** [string/subdir_lib] Error 2
make[1]: Leaving directory `/home/roman/crosstool/TOOLS/build/glibc-2.3.3-cvs'
make: *** [all] Error 2
----------------------------



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



-- Bill Gatliff Embedded Linux *is* user friendly, it just chooses its friends carefully. bgat@billgatliff.com




------ 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]