﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
773	Ancient coastline GCC won't build for MIPS	Jakub Jermář		"The mips build of gcc errs with the following error:

{{{
mips-helenos-cc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o xgcc gcc.o opts-common.o gcc-options.o diagnostic.o pretty-print.o input.o vec.o ggc-none.o \
  gccspec.o intl.o prefix.o version.o  ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
/usr/local/cross/lib/gcc/mips-helenos/8.2.0/../../../../mips-helenos/bin/ld: gcc.o:(.data.rel.ro+0x74): undefined reference to `host_detect_local_cpu'
}}}

[https://github.com/HelenOS/gcc/blob/304fe7e2c5d69342d094c7f50b14da030d56777b/gcc/config/mips/driver-native.c#L27 This] comment here suggests that gcc thinks it is building natively on a mips system. Also see [https://github.com/HelenOS/gcc/blob/304fe7e2c5d69342d094c7f50b14da030d56777b/gcc/config/mips/helenos.h#L96 helenos.h]."	defect	new	major		coastline	mainline						
