Subject: toolchain/28604: -current/sparc64 crossbuild fails, 1.6.2/i386 host
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <collver@peak.org>
List: netbsd-bugs
Date: 12/10/2004 22:42:00
>Number: 28604
>Category: toolchain
>Synopsis: -current/sparc64 crossbuild fails, 1.6.2/i386 host
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 10 22:42:00 +0000 2004
>Originator: collver@peak.org
>Release: NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD sanctum 1.6.2 NetBSD 1.6.2 (SANCTUM) #2: Sat Dec 4 09:02:30 PST 2004 ben@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:
When crossbuilding a -current/sparc64 release on a 1.6.2/i386 host,
gnu/dist/binutils/libiberty/cp-demangle.c fails to compile.
>How-To-Repeat:
===> build.sh command: ./build.sh -U -m sparc64 -D /usr/ben/destdir -O /usr/ben/objdir -R /usr/ben/releasedir release
===> build.sh started: Fri Dec 10 13:51:35 PST 2004
[...]
# compile libiberty/./concat.o
/usr/ben/objdir/tooldir.NetBSD-1.6.2-i386/bin/sparc64--netbsd-gcc -O2 -Werror -DHAVE_CONFIG_H -I/usr/ben/src/netbsd/src-current/gnu/lib/libiberty -I/usr/ben/src/netbsd/src-current/gnu/dist/binutils/include -nostdinc -isystem /usr/ben/destdir/usr/include -c /usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/concat.c -o ./concat.o.tmp
/usr/ben/objdir/tooldir.NetBSD-1.6.2-i386/bin/sparc64--netbsd-ld -x -r ./concat.o.tmp -o ./concat.o
rm -f ./concat.o.tmp
# compile libiberty/./cp-demangle.o
/usr/ben/objdir/tooldir.NetBSD-1.6.2-i386/bin/sparc64--netbsd-gcc -O2 -Werror -DHAVE_CONFIG_H -I/usr/ben/src/netbsd/src-current/gnu/lib/libiberty -I/usr/ben/src/netbsd/src-current/gnu/dist/binutils/include -nostdinc -isystem /usr/ben/destdir/usr/include -c /usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c -o ./cp-demangle.o.tmp
/usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c: In function `d_print_resize':
/usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c:2656: warning: assignment makes pointer from integer without a cast
/usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c: In function `cplus_demangle_print':
/usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c:2743: warning: assignment makes pointer from integer without a cast
/usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c: In function `d_demangle':
/usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c:3807: warning: assignment makes pointer from integer without a cast
*** Failed target: ./cp-demangle.o
*** Failed command: /usr/ben/objdir/tooldir.NetBSD-1.6.2-i386/bin/sparc64--netbsd-gcc -O2 -Werror -DHAVE_CONFIG_H -I/usr/ben/src/netbsd/src-current/gnu/lib/libiberty -I/usr/ben/src/netbsd/src-current/gnu/dist/binutils/include -nostdinc -isystem /usr/ben/destdir/usr/include -c /usr/ben/src/netbsd/src-current/gnu/dist/binutils/libiberty/cp-demangle.c -o ./cp-demangle.o.tmp
*** Error code 1
Stop.
nbmake: stopped in /usr/ben/src/netbsd/src-current/gnu/lib/libiberty
*** Failed target: dependall
*** Failed command: cd /usr/ben/src/netbsd/src-current/gnu/lib/libiberty; /usr/ben/objdir/tooldir.NetBSD-1.6.2-i386/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/ben/src/netbsd/src-current/gnu/lib/libiberty
*** Failed target: dependall-libiberty
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/lib/"; real="/usr/ben/src/netbsd/src-current/gnu/lib" ;; *) this="gnu/lib/${dir}/"; real="/usr/ben/src/netbsd/src-current/gnu/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/ben/objdir/tooldir.NetBSD-1.6.2-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libiberty dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/ben/src/netbsd/src-current/gnu/lib
*** Failed target: do-gnu-lib
*** 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/objdir/tooldir.NetBSD-1.6.2-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gnu/lib 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/objdir/tooldir.NetBSD-1.6.2-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-gnu-lib
*** 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/objdir/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:
unknown