Subject: port-i386/31351: crossbuild of 2.0.2/i386 fails in Ovfork.S:54
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <bcollver@whiteselectronics.com>
List: netbsd-bugs
Date: 09/19/2005 17:26:00
>Number:         31351
>Category:       port-i386
>Synopsis:       crossbuild of 2.0.2/i386 fails in Ovfork.S:54
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 19 17:26:00 +0000 2005
>Originator:     bcollver@whiteselectronics.com
>Release:        NetBSD 2.0.2
>Organization:
>Environment:
System: NetBSD bcollver 2.0.2 NetBSD 2.0.2 (BCOLLVER) #0: Tue Aug 30 08:18:42 PDT 2005 root@bcollver:/build/src/sys/arch/amd64/compile/BCOLLVER amd64
Architecture: x86_64
Machine: amd64
>Description:
	When attempting to cross-build NetBSD/i386 2.0.2 on a NetBSD/amd64
	2.0.2 host, the build fails like so:

#   compile  libc/Ovfork.o
/build/obj/tooldir.NetBSD-2.0.2-x86_64/bin/i386--netbsdelf-gcc   -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/build/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -I/build/src/libexec/ld.elf_so -I/build/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/build/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT   -nostdinc -isystem /build/dst/usr/include -c -traditional-cpp  -DALL_STATE -DUSG_COMPAT  -I/build/src/lib/libc/arch/i386 -nostdinc -idirafter /build/dst/usr/include /build/src/lib/libc/arch/i386/sys/Ovfork.S -o Ovfork.o.tmp
/build/obj/tooldir.NetBSD-2.0.2-x86_64/bin/i386--netbsdelf-ld -x -r Ovfork.o.tmp -o Ovfork.o
rm -f Ovfork.o.tmp
#   compile  libc/Ovfork.po
/build/obj/tooldir.NetBSD-2.0.2-x86_64/bin/i386--netbsdelf-gcc   -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/build/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -I/build/src/libexec/ld.elf_so -I/build/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/build/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT   -nostdinc -isystem /build/dst/usr/include -c -traditional-cpp -DGPROF -DPROF  -DALL_STATE -DUSG_COMPAT  -I/build/src/lib/libc/arch/i386 -nostdinc -idirafter /build/dst/usr/include /build/src/lib/libc/arch/i386/sys/Ovfork.S -o Ovfork.po.tmp
/build/src/lib/libc/arch/i386/sys/Ovfork.S: Assembler messages:
/build/src/lib/libc/arch/i386/sys/Ovfork.S:54: Error: suffix or operands invalid for `push'
/build/src/lib/libc/arch/i386/sys/Ovfork.S:54: Error: `(%rsp)' is not a valid 32 bit base/index expression
/build/src/lib/libc/arch/i386/sys/Ovfork.S:54: Error: suffix or operands invalid for `pop'

*** Failed target:  Ovfork.po

>How-To-Repeat:
	My source tree is in /build/src and /build/xsrc.
	I ran build.sh -m i386 -D /build/dst -O /build/obj -R /build/rel -X /build/xsrc -x release

>Fix:
	Unknown