This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC3.3.3: building cross compiler powerpc-linux undefined symbol
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Gazelle Jean-Laurent <jean-laurent dot gazelle at thalescomputers dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 11 Mar 2004 11:23:48 -0800
- Subject: Re: GCC3.3.3: building cross compiler powerpc-linux undefined symbol
- References: <20040310185040.1cea39e2.jean-laurent.gazelle@thalescomputers.fr>
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