sparc64-elf compile error

View: New views
1 Messages — Rating Filter:   Alert me  

sparc64-elf compile error

by Joel Sherrill <joel@OARcorp.com> :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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