This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC3.3.3: building cross compiler powerpc-linux undefined symbol


Gazelle Jean-Laurent wrote:
libbackend.a(builtins.o): In function `expand_builtin_return_addr':
/CrossCompiler/build-ppc32-gcc-3.3.3/gcc/../../gcc-3.3.3/gcc/builtins.c:402: undefined reference to `rs6000_aix_emit_builtin_unwind_init'

I am not able to reproduce this from the current gcc-3.3.x sources. Looking at the sources, I don't see how this could have happened.


There is a macro SETUP_FRAME_ADDRESSES that calls rs6000_aix_emit_builtin_unwind_emit. This function is defined only if TARGET_AIX is true. This macro is only defined for aix and powerpc64-linux targets, both of which define the TARGET_AIX macro. It should not be used for a powerpc-linux target.

You should check your build tree to see what happened.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]