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: Still stuck on OSX with errlist.c count mismatch


Did I somehow spooje my previous email?  It arrived back to me with
attachments but no text!  My apologies to the list.  Here's what I had
meant to say in it:

I'm still trying to get past this OSX behavior: during the glibc-2.3.2
build, I get the following error:

awk -v maxerr=`\
  mipsel-unknown-linux-gnu-gcc -S  -I../include -I. -I/Users/roku/perforce/targets/crosstool-0.27/build/mipsel-unknown-linu\x-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/stdio-common -I.. -I../libio  -I/Users/roku/perforce/targets/crosstool-0.27/build/m\ipsel-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/m\ips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysd\eps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/\unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/s\ysv -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mipsel -I../sysdeps/mips -I../sysdeps/wor\dsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps\/generic  -nostdinc -isystem /Users/roku/perforce/targets/mipsel-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/lib/gcc-lib/mipsel\-unknown-linux-gnu/3.3.2/include -isystem /Users/roku/perforce/targets/mipsel-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/mipse\l-unknown-linux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -D_IO_MTSAFE_IO -std=gnu99 -O2 -Wall\ -Winline -Wstrict-prototypes -Wwrite-strings -finline-limit=10000     -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 \
       ../linuxthreads/sysdeps/unix/sysv/linux/Versions ../sysdeps/unix/sysv/linux/mips/Versions ../sysdeps/unix/sysv/linux\/Versions ../sysdeps/unix/sysv/Versions ../linuxthreads/Versions > /Users/roku/perforce/targets/crosstool-0.27/build/mipsel\-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/stdio-common/errlist-compat.cT
*** errlist.c count 1134 vs Versions sys_errlist@GLIBC_2.0 count 123
make[3]: *** [/Users/roku/perforce/targets/crosstool-0.27/build/mipsel-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/\stdio-common/errlist-compat.c] Error 1
make[2]: *** [stdio-common/subdir_lib] Error 2
make[1]: *** [all] Error 2

If this is not the right forum to post this question, please advise.
I'm appending my "Versions" files:  I think that the interesting one
is ../sysdeps/unix/sysv/linux/mips/Versions, which has the following lines:

...<snip>
 GLIBC_2.0 {
    #errlist-compat     123
...<snip>...
 GLIBC_2.2 {
    #errlist-compat     1134
<snip>...

These are the same numbers that the script seems to be complaining
about.  I'm building crosstool-0.27, with this configuration:

 mipsel-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2

My only changes to stock crossool-0.27 are the inclusion of a
-msoft-float patch for gcc and Martin Schaffner's patch to
glibc-2.3.2/configure to change the "as --version" check to "as -v".

I also see this same result if I change the "as --version" check in
the configure.in file and run autoconf, so I don't think this patch
has anything to do with the above error.


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