From: Kjell Tore Ullavik on

I'm trying to build devel/cross-gcc like this

# make TGTARCH=amd64 TGTABI=linux-gnu

only to have my dreams and aspirations crushed like this

cc -O2 -pipe -fno-strict-aliasing -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -
Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -
Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-
long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -o
xgcc gcc.o opts-common.o gcc-options.o gccspec.o \
intl.o prefix.o version.o ../libcpp/libcpp.a
/usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
.../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
gcc.o(.rodata+0x1b38): undefined reference to `host_detect_local_cpu'
gmake[2]: *** [xgcc] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory `/usr/ports/devel/cross-gcc/work/build'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/cross-gcc.
*** Error code 1

Am I missing something?
Interestingly I find no open bug reports whatsoever on cross-gcc



_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"