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: did you find a fix for the "errlist.c count 1 vs Versions sys_errlist@GLIBC_2.3 count 126" problem


On Sun, 2004-03-14 at 23:46, Dan Kegel wrote: 



I'm up to -pre7 now.  Go ahead and run it, and post the last 50 lines

of the log when it blows up; maybe I can figure it out remotely.

- Dan


OK, I tried crosstool-0.28-pre7 and it still fails for me, here is my setup:

Host: Sparc Solaris 2.8
Crosstool: crosstool-0.28-pre7
Target: Linux 2.4.24, PPC 7400, ALtivec enabled

.dat file:

BINUTILS_DIR=binutils-2.14
BINUTILS_URL= ftp://ftp.gnu.org/pub/gnu/binutils

GCC_DIR=gcc-3.3.2

LINUX_DIR=linux-2.4.24

GLIBC_DIR=glibc-2.3.2
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2

TARGET=powerpc-7400-linux-gnu
TARGET_CFLAGS="-O"
GCC_EXTRA_CONFIG="--with-cpu=7400 --enable-altivec"

Failure:

mv -f /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/tstscanf.T /export/home/jdubo
is/crosstool-0.28-pre7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-
glibc-headers/stdio-common/tstscanf.d 
gcc -M -MP ../sysdeps/gnu/siglist.c -std=gnu99 -O2 -Wall -Winline -Wstrict-proto
types -Wwrite-strings -g -Wa,-mppc -mpowerpc -mnew-mnemonics      -I../include -
I. -I/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 -I.. -I../libio  -I/export/hom
e/jdubois/crosstool-0.28-pre7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2
/build-glibc-headers -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/pow
erpc -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/un
ix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/f
pu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/
soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-3
2 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I..
/sysdeps/generic  -nostdinc -isystem /vobs/native_tools/SunOS-5.8-sparc/usr/loca
l/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include -isystem /vobs/target_to
ols/sparc-unknown-solaris-gnu/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/power
pc-7400-linux-gnu/include  -include ../include/libc-symbols.h        | sed -e 's
,siglist\.o,/export/home/jdubois/crosstool-0.28-pre7/build/powerpc-7400-linux-gn
u/gcc-3.3.2-glibc-2.3.2/build-glibc-headers/stdio-common/siglist.o /export/home/
jdubois/crosstool-0.28-pre7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/b
uild-glibc-headers/stdio-common/siglist.os /export/home/jdubois/crosstool-0.28-p
re7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc-headers/stdio
-common/siglist.op /export/home/jdubois/crosstool-0.28-pre7/build/powerpc-7400-l
inux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc-headers/stdio-common/siglist.og /expo
rt/home/jdubois/crosstool-0.28-pre7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc
-2.3.2/build-glibc-headers/stdio-common/siglist.ob /export/home/jdubois/crosstoo
l-0.28-pre7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc-heade
rs/stdio-common/siglist.oST /export/home/jdubois/crosstool-0.28-pre7/build/power
pc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc-headers/stdio-common/siglist
.d,' -e 's@ /export/home/jdubois/crosstool-0\.28-pre7/build/powerpc-7400-linux-g
nu/gcc-3\.3\.2-glibc-2\.3\.2/build-glibc-headers/@ $(common-objpfx)@g' -e 's@^/e
xport/home/jdubois/crosstool-0\.28-pre7/build/powerpc-7400-linux-gnu/gcc-3\.3\.2
-glibc-2\.3\.2/build-glibc-headers/@$(common-objpfx)@g' > /export/home/jdubois/c
rosstool-0.28-pre7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glib
c-headers/stdio-common/siglist.T
cc1: error: invalid option `powerpc'
cc1: error: invalid option `new-mnemonics'
mv -f /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/siglist.T /export/home/jduboi
s/crosstool-0.28-pre7/build/powerpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-g
libc-headers/stdio-common/siglist.d 
gawk -v maxerr=`\
  gcc -S  -I../include -I. -I/export/home/jdubois/crosstool-0.28-pre7/build/powe
rpc-7400-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc-headers/stdio-common -I.. -
I../libio  -I/export/home/jdubois/crosstool-0.28-pre7/build/powerpc-7400-linux-g
nu/gcc-3.3.2-glibc-2.3.2/build-glibc-headers -I../sysdeps/powerpc/powerpc32/elf 
-I../sysdeps/powerpc/elf -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sys
deps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../
sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/u
nix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sys
deps/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-
32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I
../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../
sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /vobs/native_tools/
SunOS-5.8-sparc/usr/local/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include 
-isystem /vobs/target_tools/sparc-unknown-solaris-gnu/powerpc-7400-linux-gnu/gcc
-3.3.2-glibc-2.3.2/powerpc-7400-linux-gnu/include  -include ../include/libc-symb
ols.h       -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g
-Wa,-mppc -mpowerpc -mnew-mnemonics     -DNOT_IN_libc -DEMIT_ERR_MAX ../sysdeps
/gnu/errlist.c -o - \
  | sed -n 's/^.*@@@[^0-9]*\([0-9]*\)[^0-9]*@@@.*$/\1/p'` \
       -f ../sysdeps/gnu/errlist-compat.awk \
       ../sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions ../sysdeps/unix/sys
v/linux/Versions ../sysdeps/unix/sysv/Versions ../sysdeps/powerpc/powerpc32/Vers
ions ../sysdeps/powerpc/soft-fp/Versions ../sysdeps/powerpc/Versions > /export/h
ome/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.cT
cc1: error: invalid option `powerpc'
cc1: error: invalid option `new-mnemonics'
*** 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[2]: 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/stdio-common'
make[1]: *** [stdio-common/install-headers] Error 2
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'
make: *** [install-headers] Error 2
jcd@fr_fd0:crosstool-0.28-pre7>

I am going to investigate this further.

JC








-- 


Jean-Christophe Dubois <  <mailto:jdubois@mc.com> jdubois@mc.com>


Mercury Computer Systems

	



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