Subject: bin/28386: -current libc/__sigtramp1.d build fails
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <"\""@netbsd.org>
List: netbsd-bugs
Date: 11/22/2004 14:59:00
>Number:         28386
>Category:       bin
>Synopsis:       -current libc/__sigtramp1.d build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 22 14:59:00 +0000 2004
>Originator:     ,,,
>Release:        NetBSD 1.6.2 i386
>Organization:
>Environment:


System: NetBSD 1.6.2 (SANCTUM) #1: Sun Mar 14 06:59:50 PST 2004
    root@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM



>Description:


When I try to build a -current sparc64 release, the build fails on libc/__sigtramp1.d.




>How-To-Repeat:


sanctum $ ./build.sh -U -m sparc64 -D /usr/ben/DDIR -R /usr/ben/RDIR -O /usr/ben/ODIR release 2>&1 | tee benlog3

[...]

sanctum $ tail -38 benlog3
#    create  libc/__sigtimedwait.d
CC=/usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/sparc64--netbsd-gcc /usr/ben/ODIR /tooldir.NetBSD-1.6.2-i386/bin/nbmkdep -f __sigtimedwait.d --   -I/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64   -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/ben/src/netbsd/src-current/lib/libc/include -I/usr/ben/src/netbsd/src-current/lib/libc -DHESIOD -DINET6 -DNLS -DYP -DSOFTFLOATSPARC64_FOR_GCC -I/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64/softfloat -I/usr/ben/src/netbsd/src-current/lib/libc/softfloat  -I/usr/ben/src/netbsd/src-current/lib/libc/softfloat/bits64 -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS -I/usr/ben/src/netbsd/src-current/libexec/ld.elf_so -I/usr/ben/src/netbsd/src-current/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/usr/ben/src/netbsd/src-current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT   -nostdinc -isystem /usr/ben/DDIR/usr/include  -traditional-cpp __sigtimedwait.S
#    create  libc/__sigtramp1.d
CC=/usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/sparc64--netbsd-gcc /usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/nbmkdep -f __sigtramp1.d --   -I/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64   -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/ben/src/netbsd/src-current/lib/libc/include -I/usr/ben/src/netbsd/src-current/lib/libc -DHESIOD -DINET6 -DNLS -DYP -DSOFTFLOATSPARC64_FOR_GCC -I/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64/softfloat -I/usr/ben/src/netbsd/src-current/lib/libc/softfloat  -I/usr/ben/src/netbsd/src-current/lib/libc/softfloat/bits64 -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS -I/usr/ben/src/netbsd/src-current/libexec/ld.elf_so -I/usr/ben/src/netbsd/src-current/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/usr/ben/src/netbsd/src-current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT   -nostdinc -isystem /usr/ben/DDIR/usr/include  -traditional-cpp /usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64/sys/__sigtra!
 mp1.S
/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64/sys/__sigtramp1.S:54: machine/fsr.h: No such file or directory
/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64/sys/__sigtramp1.S:55: machine/ctlreg.h: No such file or directory
nbmkdep: compile failed.

*** Failed target:  __sigtramp1.d
*** Failed command: CC=/usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/sparc64--netbsd-gcc /usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/nbmkdep -f __sigtramp1.d -- -I/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64 -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/ben/src/netbsd/src-current/lib/libc/include -I/usr/ben/src/netbsd/src-current/lib/libc -DHESIOD -DINET6 -DNLS -DYP -DSOFTFLOATSPARC64_FOR_GCC -I/usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64/softfloat -I/usr/ben/src/netbsd/src-current/lib/libc/softfloat -I/usr/ben/src/netbsd/src-current/lib/libc/softfloat/bits64 -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS -I/usr/ben/src/netbsd/src-current/libexec/ld.elf_so -I/usr/ben/src/netbsd/src-current/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/usr/ben/src/netbsd/src-current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT -nostdinc -isystem /usr/ben/DDIR/usr/include -traditional-cpp /usr/ben/src/netbsd/src-current/lib/libc/arch/sparc64/!
 sys/__sigtramp1.S
*** Error code 1

Stop.
nbmake: stopped in /usr/ben/src/netbsd/src-current/lib/libc

*** Failed target:  do-lib-libc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/ben/src/netbsd/src-current" ;; *) this="${dir}/"; real="/usr/ben/src/netbsd/src-current/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib/libc dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/ben/src/netbsd/src-current

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/ben/src/netbsd/src-current" ;; *) this="${dir}/"; real="/usr/ben/src/netbsd/src-current/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-lib-libc
*** Error code 1

Stop.
nbmake: stopped in /usr/ben/src/netbsd/src-current

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/ben/src/netbsd/src-current" ;; *) this="${dir}/"; real="/usr/ben/src/netbsd/src-current/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/ben/ODIR/tooldir.NetBSD-1.6.2-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/ben/src/netbsd/src-current

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


>Fix:


I have no idea how to fix this.