tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

buffer overflow detected using Linux to build netbsd-4-0



The command was:

         ./build.sh -a arm -m evbarm -U release

(Maybe I did this wrong.)

The host is Ubuntu Linux 11.10 x86_64.

#   compile  libgcc/_umoddi3.so
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/arm--netbsdelf-gcc
 
-O2  -Werror    -I/home/reed/src/netbsd/src/gnu/lib/libgcc4/libgcc 
-I/home/reed/src/netbsd/src/gnu/lib/libgcc4/arch/arm 
-I/home/reed/src/netbsd/src/gnu/usr.bin/gcc4/arch/arm -DIN_GCC 
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
-I/home/reed/src/netbsd/src/gnu/dist/gcc4/gcc 
-I/home/reed/src/netbsd/src/gnu/dist/gcc4/gcc/. 
-I/home/reed/src/netbsd/src/gnu/dist/gcc4/gcc/../include 
-I/home/reed/src/netbsd/src/gnu/dist/gcc4/gcc/../libcpp/include 
-I/home/reed/src/netbsd/src/gnu/dist/gcc4/gcc/config/arm 
-I/home/reed/src/netbsd/src/gnu/dist/gcc4/gcc/cp 
-I/home/reed/src/netbsd/src/gnu/dist/gcc4/gcc/config 
-I/home/reed/src/netbsd/src/gnu/lib/libstdc++-v3_4/arch/arm -I.   
-nostdinc -isystem /home/reed/src/netbsd/src/destdir.evbarm/usr/include 
-c -fPIC -DPIC -fexceptions -fnon-call-exceptions  -o _umoddi3.so 
_umoddi3.c
#     build  libgcc/libgcc.a
rm -f libgcc.a
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/arm--netbsdelf-ar
 
cq libgcc.a 
`NM=/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/arm--netbsdelf-nm
 
NM=/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/arm--netbsdelf-nm
 
MKTEMP=/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmktemp
 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nblorder 
_muldi3.o _negdi2.o _lshrdi3.o _ashldi3.o _ashrdi3.o _cmpdi2.o 
_ucmpdi2.o _floatdidf.o _floatdisf.o _fixunsdfsi.o _fixunssfsi.o 
_fixunsdfdi.o _fixdfdi.o _fixunssfdi.o _fixsfdi.o _fixxfdi.o 
_fixunsxfdi.o _floatdixf.o _fixunsxfsi.o _fixtfdi.o _fixunstfdi.o 
_floatditf.o _clear_cache.o _enable_execute_stack.o _trampoline.o 
__main.o _absvsi2.o _absvdi2.o _addvsi3.o _addvdi3.o _subvsi3.o 
_subvdi3.o _mulvsi3.o _mulvdi3.o _negvsi2.o _negvdi2.o _ctors.o 
_ffssi2.o _ffsdi2.o _clz.o _clzsi2.o _clzdi2.o _ctzsi2.o _ctzdi2.o 
_popcount_tab.o _popcountsi2.o _popcountdi2.o _paritysi2.o _paritydi2.o 
_powisf2.o _powidf2.o _powixf2.o _powitf2.o _mulsc3.o _muldc3.o 
_mulxc3.o _multc3.o _divsc3.o _divdc3.o _divxc3.o _divtc3.o _eprintf.o 
__gcc_bcmp.o _divdi3.o _moddi3.o _udivdi3.o _umoddi3.o _udiv_w_sdiv.o 
_udivmoddi4.o | 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbtsort 
-q`
Aborted

*** Failed target:  libgcc.a
*** Failed command: 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/arm--netbsdelf-ar
 
cq libgcc.a 
`NM=/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/arm--netbsdelf-nm
 
NM=/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/arm--netbsdelf-nm
 
MKTEMP=/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmktemp
 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nblorder 
_muldi3.o _negdi2.o _lshrdi3.o _ashldi3.o _ashrdi3.o _cmpdi2.o 
_ucmpdi2.o _floatdidf.o _floatdisf.o _fixunsdfsi.o _fixunssfsi.o 
_fixunsdfdi.o _fixdfdi.o _fixunssfdi.o _fixsfdi.o _fixxfdi.o 
_fixunsxfdi.o _floatdixf.o _fixunsxfsi.o _fixtfdi.o _fixunstfdi.o 
_floatditf.o _clear_cache.o _enable_execute_stack.o _trampoline.o 
__main.o _absvsi2.o _absvdi2.o _addvsi3.o _addvdi3.o _subvsi3.o 
_subvdi3.o _mulvsi3.o _mulvdi3.o _negvsi2.o _negvdi2.o _ctors.o 
_ffssi2.o _ffsdi2.o _clz.o _clzsi2.o _clzdi2.o _ctzsi2.o _ctzdi2.o 
_popcount_tab.o _popcountsi2.o _popcountdi2.o _paritysi2.o _paritydi2.o 
_powisf2.o _powidf2.o _powixf2.o _powitf2.o _mulsc3.o _muldc3.o 
_mulxc3.o _multc3.o _divsc3.o _divdc3.o _divxc3.o _divtc3.o _eprintf.o 
__gcc_bcmp.o _divdi3.o _moddi3.o _udivdi3.o _umoddi3.o _udiv_w_sdiv.o 
_udivmoddi4.o | 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbtsort 
-q`
*** Error code 134

Stop.
nbmake: stopped in /home/reed/src/netbsd/src/gnu/lib/libgcc4/libgcc

*** Failed target:  dependall
*** Failed command: cd /home/reed/src/netbsd/src/gnu/lib/libgcc4/libgcc; 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmake 
realall
*** Error code 1

Stop.
nbmake: stopped in /home/reed/src/netbsd/src/gnu/lib/libgcc4/libgcc

*** Failed target:  dependall-libgcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this="gnu/lib/libgcc4/"; 
real="/home/reed/src/netbsd/src/gnu/lib/libgcc4" ;; *) 
this="gnu/lib/libgcc4/${dir}/"; 
real="/home/reed/src/netbsd/src/gnu/lib/libgcc4/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
"${real}" && 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libgcc dependall
*** Error code 1

Stop.
nbmake: stopped in /home/reed/src/netbsd/src/gnu/lib/libgcc4

*** Failed target:  do-gnu-lib-libgcc4
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/home/reed/src/netbsd/src" ;; *) this="${dir}/"; 
real="/home/reed/src/netbsd/src/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gnu/lib/libgcc4 
dependall
*** Error code 1

Stop.
nbmake: stopped in /home/reed/src/netbsd/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/home/reed/src/netbsd/src" ;; *) this="${dir}/"; 
real="/home/reed/src/netbsd/src/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . 
do-gnu-lib-libgcc4
*** Error code 1

Stop.
nbmake: stopped in /home/reed/src/netbsd/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/home/reed/src/netbsd/src" ;; *) this="${dir}/"; 
real="/home/reed/src/netbsd/src/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build 
NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /home/reed/src/netbsd/src

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/home/reed/src/netbsd/src" ;; *) this="${dir}/"; 
real="/home/reed/src/netbsd/src/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/home/reed/src/netbsd/src/tooldir.Linux-3.0.0-15-generic-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /home/reed/src/netbsd/src

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



Home | Main Index | Thread Index | Old Index