NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/38826: netbsd-4 (20080601) build failing in libcvs (with tools)
>Number: 38826
>Category: lib
>Synopsis: netbsd-4 (20080601) build failing in libcvs (with tools)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 02 00:25:00 +0000 2008
>Originator: Matthew Mondor
>Release: NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD hal.xisop 4.0_STABLE NetBSD 4.0_STABLE (GENERIC_MM) #0: Sun Feb
10 02:22:15 EST 2008
root%hal.xisop@localhost:/usr/src/sys/arch/i386/compile/GENERIC_MM i386
Architecture: i386
Machine: i386
>Description:
After a fresh CVS checkout of netbsd-4 branch's src and xsrc, and
deleting plus recreating the directories /usr/NetBSD-new-build,
/usr/obj and /usr/tools:
cd /usr/src
./build.sh -D /usr/NetBSD-new-build -O /usr/obj -T /usr/tools -u -x \
build
[...]
# compile libcvs/md5.o
/usr/tools/bin/i386--netbsdelf-gcc -DMALLOC_DEBUG -DRTLD_DEBUG -DDEBUG -g
-march=i686 -O2 -pipe -Werror -DSETXID_SUPPORT -DHAVE_CONFIG_H
-I/usr/src/gnu/usr.bin/xcvs/libcvs/../include -I/usr/src/gnu/dist/xcvs/lib
-I/usr/src/gnu/dist/xcvs/diff -I/usr/src/gnu/dist/xcvs/src -DSETXID_SUPPORT
-DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/xcvs/libcvs/../include
-I/usr/src/gnu/dist/xcvs/lib -I/usr/src/gnu/dist/xcvs/diff
-I/usr/src/gnu/dist/xcvs/src -nostdinc -isystem
/usr/NetBSD-new-build/usr/include -c /usr/src/gnu/dist/xcvs/lib/md5.c -o
md5.o
# compile libcvs/regex.o
/usr/tools/bin/i386--netbsdelf-gcc -DMALLOC_DEBUG -DRTLD_DEBUG -DDEBUG -g
-march=i686 -O2 -pipe -Werror -DSETXID_SUPPORT -DHAVE_CONFIG_H
-I/usr/src/gnu/usr.bin/xcvs/libcvs/../include -I/usr/src/gnu/dist/xcvs/lib
-I/usr/src/gnu/dist/xcvs/diff -I/usr/src/gnu/dist/xcvs/src -DSETXID_SUPPORT
-DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/xcvs/libcvs/../include
-I/usr/src/gnu/dist/xcvs/lib -I/usr/src/gnu/dist/xcvs/diff
-I/usr/src/gnu/dist/xcvs/src -nostdinc -isystem
/usr/NetBSD-new-build/usr/include -c /usr/src/gnu/dist/xcvs/lib/regex.c -o
regex.o
/usr/src/gnu/dist/xcvs/lib/regex.c: In function 're_match_2_internal':
/usr/src/gnu/dist/xcvs/lib/regex.c:5274: error: incompatible types in assignment
/usr/src/gnu/dist/xcvs/lib/regex.c:5696: error: incompatible types in assignment
*** Failed target: regex.o
*** Failed command: /usr/tools/bin/i386--netbsdelf-gcc -DMALLOC_DEBUG
-DRTLD_DEBUG -DDEBUG -g -march=i686 -O2 -pipe -Werror -DSETXID_SUPPORT
-DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/xcvs/libcvs/../include
-I/usr/src/gnu/dist/xcvs/lib -I/usr/src/gnu/dist/xcvs/diff
-I/usr/src/gnu/dist/xcvs/src -DSETXID_SUPPORT -DHAVE_CONFIG_H
-I/usr/src/gnu/usr.bin/xcvs/libcvs/../include -I/usr/src/gnu/dist/xcvs/lib
-I/usr/src/gnu/dist/xcvs/diff -I/usr/src/gnu/dist/xcvs/src -nostdinc -isystem
/usr/NetBSD-new-build/usr/include -c /usr/src/gnu/dist/xcvs/lib/regex.c -o
regex.o
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/xcvs/libcvs
*** Failed target: dependall
*** Failed command: cd /usr/src/gnu/usr.bin/xcvs/libcvs; /usr/tools/bin/nbmake
realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/xcvs/libcvs
*** Failed target: dependall-libcvs
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="gnu/usr.bin/xcvs/"; real="/usr/src/gnu/usr.bin/xcvs" ;; *)
this="gnu/usr.bin/xcvs/${dir}/"; real="/usr/src/gnu/usr.bin/xcvs/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget libcvs dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/xcvs
*** Failed target: dependall-xcvs
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/usr.bin/";
real="/usr/src/gnu/usr.bin" ;; *) this="gnu/usr.bin/${dir}/";
real="/usr/src/gnu/usr.bin/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget xcvs dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu/usr.bin
*** Failed target: dependall-usr.bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/";
real="/usr/src/gnu" ;; *) this="gnu/${dir}/"; real="/usr/src/gnu/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget usr.bin dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu
*** Failed target: dependall-gnu
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /usr/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget
gnu dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /usr/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget
. dependall BUILD_tools=no BUILD_lib=no
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /usr/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget
. do-build
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make build
*** BUILD ABORTED ***
I initially thought that the toolchain might have changed, but it
isn't so:
cc -v
Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=i386-unknown-netbsdelf4.99.3 --host=i386--netbsdelf
--target=i386--netbsdelf
Thread model: posix
gcc version 4.1.2 20061021 prerelease (NetBSD nb3 20061125)
/usr/tools/i386--netbsdelf/bin/gcc -v
Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--target=i386--netbsdelf --disable-nls --enable-long-long --disable-multilib
--enable-threads --program-transform-name=s,^,i386--netbsdelf-,
--enable-languages=c c++ objc --prefix=/usr/tools
Thread model: posix
gcc version 4.1.2 20061021 (prerelease) (NetBSD nb3 20061125)
This strikes me as odd sice /src/gnu/dist/xcvs/lib/regex.c was last
modified as far as two years ago on netbsd-4 branch. A possibility
might be a rather recent toolchain update during my last netbsd-4
upgrade, and the new toolchain causes the issue (I see that
/src/gnu/dist/gcc4/ChangeLog history shows
"import GCC 4.1 branch from 20061021" 19 months ago).
It is possible that -march=i686 -O2 might play a role, I'll have to
perform other tests and post a follow-up. However, the same system
has otherwise normally reliably produced netbsd-4 builds using the
same settings.
The two errors:
/usr/src/gnu/dist/xcvs/lib/regex.c: In function 're_match_2_internal':
/usr/src/gnu/dist/xcvs/lib/regex.c:5274: error: incompatible types in assignment
/usr/src/gnu/dist/xcvs/lib/regex.c:5696: error: incompatible types in assignment
Are calling a huge macro and I did not yet verify after preprocessing
phase alone what the code looks like or where it exactly breaks.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index