Subject: Re: gcc4 status
To: None <tech-toolchain@NetBSD.org>
From: Erik Bertelsen <ebe@statsbiblioteket.dk>
List: tech-toolchain
Date: 05/31/2006 17:50:33
On Thu, May 25, 2006 at 02:02:54PM +0200, ebe-list@get2net.dk wrote:
> 2006/5/22, matthew green <mrg@eterna.com.au>:
> 
>      powerpc could when people
>     verify that all the non-macppc powerpc platforms 
> build..


Further observations on NetBSD macppc current as of today using GCC4:

A sh build.sh build stops at 

    compile  libobjc4/archive.po
    compile  libobjc4/archive.so
    compile  libobjc4/class.o
    compile  libobjc4/class.po
    compile  libobjc4/class.so
    compile  libobjc4/encoding.o
/home/NetBSD/src/gnu/dist/gcc4/libobjc/encoding.c: In function 'objc_layout_structure_next_member':
/home/NetBSD/src/gnu/dist/gcc4/libobjc/encoding.c:849: error: 'TARGET_ALTIVEC' undeclared (first use in this function)
/home/NetBSD/src/gnu/dist/gcc4/libobjc/encoding.c:849: error: (Each undeclared identifier is reported only once
/home/NetBSD/src/gnu/dist/gcc4/libobjc/encoding.c:849: error: for each function it appears in.)

*** Failed target:  encoding.o
*** Failed command: /home/NetBSD/tooldir/bin/powerpc--netbsd-gcc -O2 -Werror -fno-strict-aliasing -fexceptions -I. -I/home/NetBSD/src/gnu/usr.bin/gcc4/arch/powerpc -I/home/NetBSD/src/gnu/lib/libgcc4/libgcc/obj.macppc -DIN_GCC -DIN_TARGET_LIBS -I/home/NetBSD/src/gnu/dist/gcc4/libobjc -I/home/NetBSD/src/gnu/dist/gcc4/libobjc/objc -I/home/NetBSD/src/gnu/dist/gcc4/libobjc/../gcc -I/home/NetBSD/src/gnu/dist/gcc4/libobjc/../gcc/config -I/home/NetBSD/src/gnu/dist/gcc4/libobjc/../include -I/home/NetBSD/src/gnu/lib/libstdc++-v3_4/arch/powerpc -nostdinc -isystem /usr/include -c /home/NetBSD/src/gnu/dist/gcc4/libobjc/encoding.c -o encoding.o
*** Error code 1

Stop.
nbmake: stopped in /home/NetBSD/src/gnu/lib/libobjc4

*** Failed target:  dependall
*** Failed command: cd /home/NetBSD/src/gnu/lib/libobjc4; /home/NetBSD/tooldir/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /home/NetBSD/src/gnu/lib/libobjc4

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

Stop.
nbmake: stopped in /home/NetBSD/src/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="/home/NetBSD/src" ;; *) this="${dir}/"; real="/home/NetBSD/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/NetBSD/tooldir/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gnu/lib dependall
*** Error code 1

Stop.
nbmake: stopped in /home/NetBSD/src

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

Stop.
nbmake: stopped in /home/NetBSD/src

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

Kind regards
 - Erik

ps: is gcc4 in a state where we should file PR's or should we continue to append to the GCC 4 status thread?