i386-c required by cc1plus
Markus Duft
mduft@gentoo.org
Fri Sep 25 08:43:00 GMT 2009
Hey!
I'm just working on porting GCC 4.4.1 to interix (SUA). i'm getting to
stage2 by now, but am hit by an unexpected problem:
I'm getting this:
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?
my platforms does not allow unresolved externals, so.... :(
Adding $(C_TARGET_OBJS) to CXX_C_OBJS in gcc/cp/Make-lang.in fixes the
problem of course - i've just successfully bootstrapped gcc-4.4.1, now
starting to test and tweak the patch...
while we're at it, could you please take a quick look at what i have so
far, and wether that would be good enough, to (finally) make it into the
official sources...? after all, the initial interix patches exist since
quite some while now. This patch is however a more-or-less-rewrite from
scratch. (Additionally to this patch, some "*interix3*" files can be
removed from the source tree - i would include those hunks in a final
patch if it'd be accepted by you guys ;)).
Cheers, Markus
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-4.4.1-interix.patch
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090925/aa7b81ee/attachment.ksh>
More information about the Gcc-help
mailing list