did you find a fix for the "errlist.c count 1 vs Versions sys_errlist@GLIBC_2.3 count 126" problem

Kai Ruottu karuottu@mbnet.fi
Mon Mar 15 13:07:00 GMT 2004


Dubois, Jean-Christophe wrote:

> Failure:
> 
> gcc -M -MP ../sysdeps/gnu/siglist.c -std=gnu99 -O2 -Wall -Winline -Wstrict-proto
> types -Wwrite-strings -g -Wa,-mppc -mpowerpc -mnew-mnemonics
<snip>
> cc1: error: invalid option `powerpc'
> cc1: error: invalid option `new-mnemonics'

  This 'gcc' should put your bells ringing... Isn't it your native GCC
which doesn't know anything about the '-mpowerpc' and '-mnew-mnemonics'
options?  A Linux/PPC targeted GCC surely knows these...

> *** errlist.c count 1 vs Versions sys_errlist@GLIBC_2.3 count 126
> make[2]: *** [/export/home/jdubois/crosstool-0.28-pre7/build/powerpc-7400-linux-
> gnu/gcc-3.3.2-glibc-2.3.2/build-glibc-headers/stdio-common/errlist-compat.c] Err
> or 1
> make[1]: Leaving directory `/export/home/jdubois/crosstool-0.28-pre7/build/power
> pc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/glibc-2.3.2'

  You cannot build glibc-2.3.2 using your native GCC, you must use a
Linux/PPC targeted GCC !

Cheers, Kai




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



More information about the crossgcc mailing list