Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 3 weeks ago

Last modified 3 weeks ago

#773 new defect

GCC build for mips attempts to detect host cpu features

Reported by: Jakub Jermář Owned by:
Priority: major Milestone:
Component: coastline Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

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'

This comment here suggests that gcc thinks it is building natively on a mips system. Also see helenos.h.

Change History (1)

comment:1 Changed 3 weeks ago by Jakub Jermář

Summary: GCC build on mips attempts to detect host cpu featuresGCC build for mips attempts to detect host cpu features
Note: See TracTickets for help on using tickets.