cross-gcc tgtarch=amd64 tgtabi=linux-gnu, no party

Kjell Tore Ullavik ktullavik at
Wed Mar 17 08:54:02 UTC 2010

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/ -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

More information about the freebsd-ports mailing list