Subject: port-alpha/19282: cross building -currrent on alpha fails
To: None <gnats-bugs@gnats.netbsd.org>
From: Ray Phillips <r.phillips@jkmrc.uq.edu.au>
List: netbsd-bugs
Date: 12/05/2002 10:21:03
>Number:         19282
>Category:       port-alpha
>Synopsis:       cannot build i386 distribution on alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 04 16:22:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ray Phillips
>Release:        NetBSD 1.6
>Organization:
JKMRC, University of Queensland
>Environment:
System: NetBSD as200.jkmrc.uq.edu.au 1.6 NetBSD 1.6 (GENERIC) #0: Sun 
Sep 8 12:15:59 UTC 2002 
autobuild@cs20.apochromatic.org:/autobuilder/build/alpha/OBJ/autobuilder/build/src/sys/arch/alpha/compile/GENERIC 
alpha
Architecture: alpha
Machine: alpha
>Description:

Building a NetBSD/i386 distribution from -current cvs sources checked 
out a couple of days ago (~ 3 Dec 2002) doesn't work on an alpha.

After checking out the sources I:

# mkdir /usr/obj /usr/tools /usr/i386-DistribDir /usr/i386-ReleaseDir
# cd /usr/src
# ./build.sh -d -D ../i386-DistribDir -R ../i386-ReleaseDir -a i386

which eventually broke with:

CC=/usr/tools/bin/i386--netbsdelf-gcc 
/usr/tools/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d 
/usr/src/../i386-DistribDir/usr/include -D_LIBC -DLIBC_SCCS 
-DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD 
-DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE 
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn 
-DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. 
-DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i 
/usr/src/lib/libc/string/Lint_strrchr.c
CC=/usr/tools/bin/i386--netbsdelf-gcc 
/usr/tools/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d 
/usr/src/../i386-DistribDir/usr/include -D_LIBC -DLIBC_SCCS 
-DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD 
-DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE 
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn 
-DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. 
-DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i 
/usr/src/lib/libc/string/Lint_swab.c
CC=/usr/tools/bin/i386--netbsdelf-gcc 
/usr/tools/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d 
/usr/src/../i386-DistribDir/usr/include -D_LIBC -DLIBC_SCCS 
-DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD 
-DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE 
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn 
-DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. 
-DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i 
/usr/src/lib/libc/sys/Lint_syscall.c
/usr/tools/bin/i386--netbsdelf-gcc   -D_LIBC -DLIBC_SCCS 
-DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD 
-DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE 
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn 
-DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. 
-DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -isystem 
/usr/src/../i386-DistribDir/usr/include  -c -traditional-cpp 
-DALL_STATE -DUSG_COMPAT -I/usr/src/lib/libc/arch/i386 -nostdinc 
-idirafter /usr/src/../i386-DistribDir/usr/include 
/usr/src/lib/libc/arch/i386/sys/Ovfork.S
/var/tmp/ccU8lG4q.s: Assembler messages:
/var/tmp/ccU8lG4q.s:771: Error: invalid character '(' in mnemonic
/var/tmp/ccU8lG4q.s:2341: Error: Rest of line ignored. First ignored 
character is `('.
/var/tmp/ccU8lG4q.s:2355: Error: invalid character '(' in mnemonic
/var/tmp/ccU8lG4q.s:2370: Error: junk `(__cerror)' after expression
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: failed to make release
*** BUILD ABORTED ***

>How-To-Repeat:
see "Description"
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: