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] |
Hi, I'm using crosstool-0.28-rc37 to build a tool-chain for sh4. I ran demo-sh4.sh (basically to build gcc 3.4.1, glibc 2.3.3). First glibc-2.3.3-s390-fadvise64.patch didn't apply cleanly (complained about sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c already being present). Since the patch didn't seem to affect sh4, I removed it and proceeded forward. Next it failed when trying to compile strtold.c with the following error : sh4-unknown-linux-gnu-gcc strtold.c -c -std=gnu99 -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -m4 -ml -I../include -I. -I/home/ankur/crosstool-0.28-rc37/build/sh4-unknown-linux-gnu/gcc-3.4.1-glib c-2.3.3/build-glibc/stdlib -I.. -I../libio -I/home/ankur/crosstool-0.28-rc37/build/sh4-unknown-linux-gnu/gcc-3.4.1-glib c-2.3.3/build-glibc -I../sysdeps/sh/elf -I../linuxthreads/sysdeps/unix/sysv/linux/sh -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/sh -I../sysdeps/unix/sysv/linux/sh/sh4 -I../sysdeps/unix/sysv/linux/sh -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/sh -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sh/sh4/fpu -I../sysdeps/sh/sh4 -I../sysdeps/sh -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /opt/cegl-build-2.0-8/sh4-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/lib/gcc/sh 4-unknown-linux-gnu/3.4.1/include -isystem /opt/cegl-build-2.0-8/sh4-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/sh4-unknow n-linux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /home/ankur/crosstool-0.28-rc37/build/sh4-unknown-linux-gnu/gcc-3.4.1-glibc- 2.3.3/build-glibc/stdlib/strtold.o -MD -MP -MF /home/ankur/crosstool-0.28-rc37/build/sh4-unknown-linux-gnu/gcc-3.4.1-glibc- 2.3.3/build-glibc/stdlib/strtold.o.dt In file included from strtold.c:35: strtod.c: In function `round_and_return': strtod.c:294: error: `FLOAT_HUGE_VAL' undeclared (first use in this function) strtod.c:294: error: (Each undeclared identifier is reported only once strtod.c:294: error: for each function it appears in.) In file included from strtold.c:35: strtod.c: In function `__strtold_internal': strtod.c:589: error: `FLOAT_HUGE_VAL' undeclared (first use in this function) strtod.c:624: warning: implicit declaration of function `SET_MANTISSA' make[2]: *** [/home/ankur/crosstool-0.28-rc37/build/sh4-unknown-linux-gnu/gcc-3.4.1-glibc -2.3.3/build-glibc/stdlib/strtold.o] Error 1 make[2]: Leaving directory `/home/ankur/crosstool-0.28-rc37/build/sh4-unknown-linux-gnu/gcc-3.4.1-glibc -2.3.3/glibc-2.3.3/stdlib' make[1]: *** [stdlib/subdir_lib] Error 2 make[1]: Leaving directory `/home/ankur/crosstool-0.28-rc37/build/sh4-unknown-linux-gnu/gcc-3.4.1-glibc -2.3.3/glibc-2.3.3' make: *** [all] Error 2 Digging thru I found that FLOAT_HUGE_VAL doesn't get defined in strtod.c because FLOAT is defined by strtold.c (which includes strtod.c). Quick google search for this error didn't help. Has anybody else encountered this problem? ankur ------ 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] |