i386-c required by cc1plus

Ian Lance Taylor iant@google.com
Fri Sep 25 14:43:00 GMT 2009

Markus Duft <mduft@gentoo.org> writes:

> c-pragma.o(.text+0x1f30):c-pragma.c: undefined reference to
> `_ix86_register_pragmas'
> c-cppbuiltin.o(.text+0x248c):c-cppbuiltin.c: undefined reference to
> `_ix86_target_macros'
> while trying to link cc1plus-dummy. could it be, that CXX_C_OBJS in
> gcc/cp/Make-lang.in is missing i386-c.o (or better $(C_TARGET_OBJS))? Or
> am i missing something else here?

This normally works because in config.gcc cxx_target_objs is set to
contain i386-c.o.  In your patch you have the line
> +	cxx_target_objs="winnt-cxx.o"
which is breaking this.  You may want something like
> +	cxx_target_objs="${cxx_targets_objs} winnt-cxx.o"


More information about the Gcc-help mailing list