Subject: Ovfork.s with gcc3.3.2
To: None <port-powerpc@NetBSD.org>
From: Manju Mahajan <manju@skipperwireless.com>
List: port-powerpc
Date: 09/02/2005 14:05:43
I am stuck with this error, please help.
Host ARCH=i386
Target = powerpc,, ARCH= ppc405, OS= Netbsd.
I have toolchain ready for cross compilation.
I am getting following error whicle compiling Ovfork.S,
My version of gcc is 3.3.2, NetBsd source tree version is 1.6
bash# ./build.sh -R < > -O < > -D < > -m evbppc -u release
## compile Lint_swapcontext.ln
CC=/root/src/nbsrc/myobj/tooldir.NetBSD-2.0.2-i386/bin/powerpc--netbsd-gcc
/root/src/nbsrc/myobj/tooldir.NetBSD-2.0.2-i386/bin/powerpc--netbsd-lint -ch
apbxzF -X 272 -d
/root/obj/destdir/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRAN
T -I/home/src/nbsrc/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTER
FACE_PRIVATE -DI18NMODULE_MAJOR=4 -I/home/src/nbsrc/libexec/ld.elf_so -I/hom
e/src/nbsrc/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/home/src/nbsrc/lib/
libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i
/home/src/nbsrc/lib/libc/gen/Lint_swapcontext.c
# compile Lint_syscall.ln
CC=/root/src/nbsrc/myobj/tooldir.NetBSD-2.0.2-i386/bin/powerpc--netbsd-gcc
/root/src/nbsrc/myobj/tooldir.NetBSD-2.0.2-i386/bin/powerpc--netbsd-lint -ch
apbxzF -X 272 -d
/root/obj/destdir/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRAN
T -I/home/src/nbsrc/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTER
FACE_PRIVATE -DI18NMODULE_MAJOR=4 -I/home/src/nbsrc/libexec/ld.elf_so -I/hom
e/src/nbsrc/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/home/src/nbsrc/lib/
libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i
/home/src/nbsrc/lib/libc/sys/Lint_syscall.c
# compile Ovfork.o
/root/src/nbsrc/myobj/tooldir.NetBSD-2.0.2-i386/bin/powerpc--netbsd-gcc -D_L
IBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/home/src/nbsrc/lib/libc/inclu
de -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4
-I/home/src/nbsrc/libexec/ld.elf_so -I/home/src/nbsrc/lib/libc/dlfcn
/home/src/nbsrc/lib/libc/include -DCITRUS_ICONV -DWITH_RUNE -I/home/src/nbsr
c/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nost
dinc -isystem
/root/obj/destdir/usr/include -c -traditional-cpp -DALL_STATE -DUSG_COMPAT -
I/home/src/nbsrc/lib/libc/arch/powerpc -nostdinc -idirafter
/root/obj/destdir/usr/include
/home/src/nbsrc/lib/libc/arch/powerpc/sys/Ovfork.S -o Ovfork.o.tmp
powerpc--netbsd-gcc: cannot specify -o with -c or -S and multiple
compilations
*** Failed target: Ovfork.o
*** Failed command:
/root/src/nbsrc/myobj/tooldir.NetBSD-2.0.2-i386/bin/powerpc--netbsd-gcc -D_L
IBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/home/src/nbsrc/lib/libc/inclu
de -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4
-I/home/src/nbsrc/libexec/ld.elf_so -I/home/src/nbsrc/lib/libc/dlfcn
/home/src/nbsrc/lib/libc/include -DCITRUS_ICONV -DWITH_RUNE -I/home/src/nbsr
c/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nost
dinc -isystem
/root/obj/destdir/usr/include -c -traditional-cpp -DALL_STATE -DUSG_COMPAT -
I/home/src/nbsrc/lib/libc/arch/powerpc -nostdinc -idirafter
/root/obj/destdir/usr/include
/home/src/nbsrc/lib/libc/arch/powerpc/sys/Ovfork.S -o Ovfork.o.tmp