Hi Toad,
Sorry, I wish I could reply quicker, I'm currently busy with some contracted
work, ...
The ARM and uclibc config used to build not too far in the past. uClibC used to
be easier to keep build. Some others are using glibc, too, as some latest X.org
bits started to depend on the latest, greatest glibc features :-(
I agree we should add a soft vs. hard FP option to the config, not only for
ARM, PowerPC, SPARC et al, too. Unfortunately this means we should also test
the option have the desired effect, ...
Patches welcome!
René
On 23.02.2011, at 23:31, Toan Pham wrote:
>
> Rene,
>
>
> I figured out why it failed at syscalls.c already. When glibc is
> compiled with eabi, it undefines some system calls in
> arm/asm/unistd.h. Going in there and remove the undefine directives
> fix the problem described above. However, below is another error in
> which i have not figured out yet. Please let me know if you have any
> clues what it is about. Also, i am thinking of giving up glic/eglibc
> totally and use uClibc; since most builds for embedded system use
> uClibc. However, i would like to use glibc if possible.
>
>
>
> thank you,
>
> Toan
>
>
>
>
> arm-t2-linux-uclibcgnueabi-gcc
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c
> -c -std=gnu99 -fgnu89-inline -DNDEBUG=1 -Wall -Winline -Wwrite-strings
> -fmerge-all-constants -fno-unwind-tables -g -Wstrict-prototypes
> -I../include
> -I/media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc
> -I/media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir
> -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/nptl
> -I../ports/sysdeps/unix/sysv/linux/arm
> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
> -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux
> -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../ports/sysdeps/unix/sysv
> -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm
> -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix
> -I../sysdeps/posix -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm
> -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754
> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports
> -I.. -I../libio -I. -nostdinc -isystem
> /media/sata/root/repos/os/t2-8.0/build/ngss-8.0-ngss-arm-gnueabi-cortex-a8-cross-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/arm-t2-linux-uclibcgnueabi/4.5.0/include
> -isystem
> /media/sata/root/repos/os/t2-8.0/build/ngss-8.0-ngss-arm-gnueabi-cortex-a8-cross-linux/usr/include
> -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.o
> -MD -MP -MF
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.o.dt
> -MT
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.o
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:2:18:
> warning: ISO C99 requires whitespace after the macro name
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:8:17:
> warning: extra tokens at end of #undef directive
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:18:1:
> error: stray '@' in program
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:18:1:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before
> 'GLIBC_2'
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:19:1:
> error: stray '@' in program
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:19:1:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before
> 'GLIBC_2'
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:20:1:
> error: stray '@' in program
> /media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.c:20:1:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before
> 'GLIBC_2'
> make[2]: ***
> [/media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/objdir/misc/stub-syscalls.o]
> Error 1
> make[2]: Leaving directory
> `/media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2/misc'
> make[1]: *** [misc/subdir_lib] Error 2
> make[1]: Leaving directory
> `/media/sata/root/repos/os/t2-8.0/src.glibc.ngss.20110223.094238.7406.localhost/glibc-2.11.2'
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
--
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
http://exactcode.com | http://t2-project.org | http://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2