conftest: hidden symbol `_restgpr_31_x'

Baruch Siach baruch@tkos.co.il
Tue Jun 28 06:45:00 GMT 2011


Hi Bryan,

On Mon, Jun 27, 2011 at 11:08:21PM -0700, Bryan Hundven wrote:
> On Mon, Jun 27, 2011 at 9:55 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> > Thanks for you previous fenv.h related reply. I've enabled 
> > UCLIBC_HAS_FENV,
> > and the compile process now continues to the next failure point. Now it's when
> > building cross libelf, at the configure stage as follows:
> >
> > configure:724: checking whether the C compiler (powerpc-e500v2-linux-uclibc-gcc -fPIC ) works
> > configure:740: powerpc-e500v2-linux-uclibc-gcc -o conftest -fPIC   conftest.c  1>&5
> > /home/baruch/x-tools/powerpc-e500v2-linux-uclibc/lib/gcc/powerpc-e500v2-linux-uclibc/4.5.2/../../../../powerpc-e500v2-linux-uclibc/bin/ld: conftest: hidden symbol `_restgpr_31_x' in /home/baruch/x-tools/powerpc-e500v2-linux-uclibc/lib/gcc/powerpc-e500v2-linux-uclibc/4.5.2/libgcc.a(crtresxgpr.o) is referenced by DSO
> > /home/baruch/x-tools/powerpc-e500v2-linux-uclibc/lib/gcc/powerpc-e500v2-linux-uclibc/4.5.2/../../../../powerpc-e500v2-linux-uclibc/bin/ld: final link failed: Nonrepresentable section on output
> 
> Known gcc issue:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810
> 
> This should be fixed in 4.5.3, or you can disable
> --enable-target-optspace by turning off CC_GCC_ENABLE_TARGET_OPTSPACE

Disabling CC_GCC_ENABLE_TARGET_OPTSPACE didn't help. I still get the same 
error. I'll try gcc 4.4.6 instead.

Thanks for your help.

baruch

> > It seems that the CRT lacks support for gprs-float. Any suggestion?
> >
> > My .config and uClibc.config are attached.
> >
> > Please Cc me your replies, since I'm not subscribed to the crossgcc ml.
> >
> > baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list