LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   gcc 4.4.2 in testing: problem trying multilib setup (https://www.linuxquestions.org/questions/slackware-14/gcc-4-4-2-in-testing-problem-trying-multilib-setup-766143/)

ponce 11-02-2009 01:40 AM

gcc 4.4.2 in testing: problem trying multilib setup
 
hi fellas,

as I like to experiment a little ( :D ) I tried to create a multilib toolchain from scratch, with new gcc (4.4.2) in testing so i built a static gcc, editing before /usr/lib64/gcc/x86_64-slackware-linux/4.4.2/specs as indicated in alien bob's guide;
upgraded gcc with the new static version (reedited the file) and tried to build a bootstrap glibc but, no matter which glibc version I use (tried also with 2.10.1), I end up with this:
Code:

x86_64-slackware-linux-gcc memusagestat.c -c -std=gnu99 -fgnu89-inline -O3 -Wall -Winline -Wwrite-strings -fPIC -fmerge-all-constants -g -Wstrict-prototypes      -I../include -I/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc -I/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1 -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h      -DNOT_IN_libc -o /glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o -MD -MP -MF /glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o.dt -MT /glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o
In file included from ../include/argp.h:1,
                from memusagestat.c:23:
../argp/argp.h: In function '__option_is_short':
../argp/argp.h:579: error: 'UCHAR_MAX' undeclared (first use in this function)
../argp/argp.h:579: error: (Each undeclared identifier is reported only once
../argp/argp.h:579: error: for each function it appears in.)
make[2]: *** [/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o] Error 1
make[2]: Leaving directory `/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/malloc'
make[1]: *** [malloc/others] Error 2
make[1]: Leaving directory `/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1'
make: *** [all] Error 2

just to know if anybody else solved this...

looks like he doesn't recognize the include of limits.h

P.S. I tried days ago with testing's 4.4.1 with the same results.


All times are GMT -5. The time now is 08:15 PM.