This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
sparc64-elf compile error
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "newlib at sources dot redhat dot com" <newlib at sources dot redhat dot com>, <e_leontie at yahoo dot com>
- Date: Wed, 14 Oct 2009 21:59:43 -0500
- Subject: sparc64-elf compile error
Hi,
Trying to build a sparc64-elf compiler as baseline for
sparc64-rtems using gcc 4.4.1 and newlib 1.17.0, I ran
into this:
/users/joel/test-gcc/b-sp64-elf/./gcc/xgcc
-B/users/joel/test-gcc/b-sp64-elf/./gcc/ -nostdinc
-B/users/joel/test-gcc/b-sp64-elf/sparc64-elf/newlib/ -isystem
/users/joel/test-gcc/b-sp64-elf/sparc64-elf/newlib/targ-include -isystem
/users/joel/test-gcc/gcc-4.4.1/newlib/libc/include
-B/users/joel/test-gcc/install-4.4.1//sparc64-elf/bin/
-B/users/joel/test-gcc/install-4.4.1//sparc64-elf/lib/ -isystem
/users/joel/test-gcc/install-4.4.1//sparc64-elf/include -isystem
/users/joel/test-gcc/install-4.4.1//sparc64-elf/sys-include
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"1.17.0\" -DPACKAGE_STRING=\"newlib\ 1.17.0\"
-DPACKAGE_BUGREPORT=\"\" -I.
-I../../../../../../gcc-4.4.1/newlib/libc/sys/sparc64 -O2
-DMALLOC_ALIGNMENT=8 -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_BLKSIZE
-DHAVE_FCNTL -DTARGET_PTR_SIZE=64 -fno-builtin -g -O2 -DREENT -c
times.S -o times_r.o
../../../../../../gcc-4.4.1/newlib/libc/sys/sparc64/stat.S:6:36: error:
macro "defsyscall_r" passed 3 arguments, but takes just 2
make[6]: *** [stat_r.o] Error 1
Any suggestions?
Thanks.
--joel