Greetings.

I attempted to build the 4.3-20080501 snapshot targeting
m68k--netbsdelf last night on my sparc:

[EMAIL PROTECTED]: uname -a
SunOS rox.fddx.com 5.10 Generic_120011-14 sun4u sparc SUNW,Ultra-60

I configured thusly:
CC=gcc64 ../gcc-4.3-20080501/configure \
        --prefix=/nbsd/coldfire/tools \
        --disable-nls --disable-libssp --enable-languages=c \
        --with-build-sysroot=/nbsd/coldfire/nbuild/usr/include \
        --with-gmp=/usr/local --with-mpfr=/usr/local \
        --target=m68k--netbsdelf -v

And it failed like this:

gcc64   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-Wmissing-format-attribute    -DHAVE_CONFIG_H  -o Tcollect2 \
        collect2.o tlink.o intl.o version.o ../libcpp/libcpp.a   
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
Undefined                       first referenced
 symbol                             in file
m68k_cpu_flags                      collect2.o
ld: fatal: Symbol referencing errors. No output written to Tcollect2
collect2: ld returned 1 exit status
gmake[2]: *** [collect2] Error 1
gmake[2]: Leaving directory `/nbsd/x/gcc-cf/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory `/nbsd/x/gcc-cf'
gmake: *** [all] Error 2

My "gcc64" wrapper program just calls the system-installed gcc
(gcc -v reports "gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)") with
these flags "-mptr64 -m64 -mcpu=ultrasparc -O2" before any user-specified
flags.

This exact failure happens with 4.3.0 release and the snapshots for the
4.3 series to date.

-Kurt

Reply via email to