NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/41365: cross compilure tools failure for EVBARM-EL ON I386 PLATFORM
>Number: 41365
>Category: toolchain
>Synopsis: cross compilure tools failure for EVBARM-EL ON I386 PLATFORM
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 06 06:40:00 +0000 2009
>Originator: Tony Zhu
>Release: NetBSD 5.0 Release
>Organization:
HAVE NO COMPANY YET
>Environment:
# uname -a
NetBSD 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
1. cd /usr/src
2. run "build.sh -m evbarm-el tools"
3. get error, following is screen dump
========================================
# pwd
/usr/src
# /bin/sh +x build.sh -m evbarm-el tools > /usr/home/tozhu/build.sh.log
[1] Segmentation fault (core dumped) cat >&5 <<...
[1] Segmentation fault (core dumped) cat <<...
[1] Segmentation fault (core dumped) cat >&5 <<...
[1] Segmentation fault (core dumped) cat >conftest.${...
[1] Segmentation fault (core dumped) cat conftest.${a...
configure: error: C compiler cannot create executables
*** Failed target: config.cache
*** Failed command: CC=cc CFLAGS=-O LDFLAGS= /bin/sh
/usr/src/tools/compat/configure --cache-file=config.cache
*** Error code 77
*** Failed target: dependall-compat
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/tooldir.NetBSD-5.0-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget compat dependall
*** Error code 1[1] Segmentation fault (core dumped) cat >&2 <<...
# uname -a
NetBSD 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
last 100 line of /usr/home/tozhu/build.sh.log
=============================================
CC=cc /bin/sh /usr/src/tools/host-mkdep/configure --cache-file=config.cache
configure: creating cache config.cache
checking for sh... /bin/sh
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
updating cache config.cache
configure: creating ./config.status
config.status: creating host-mkdep
chmod +x host-mkdep
install ===> host-mkdep
mkdir -p /usr/src/tooldir.NetBSD-5.0-i386/bin
cp host-mkdep /usr/src/tooldir.NetBSD-5.0-i386/bin/nbhost-mkdep
chmod +x /usr/src/tooldir.NetBSD-5.0-i386/bin/nbhost-mkdep
dependall ===> compat
mkdir -p include/sys include/machine include/rpc include/arpa
rm -f config.cache
CC=cc CFLAGS=-O LDFLAGS= /bin/sh /usr/src/tools/compat/configure
--cache-file=c onfig.cache
configure: creating cache config.cache
checking for gcc... cc
checking for C compiler default output...
Stop.
nbmake: stopped in /usr/src/tools/compat
Stop.
nbmake: stopped in /usr/src/tools
>How-To-Repeat:
just run the command as I mentioned above, it reproduces every time.
>Fix:
DON'T KNOW HOW TO FIX
Home |
Main Index |
Thread Index |
Old Index