conftest: hidden symbol `_restgpr_31_x'

Bryan Hundven bryanhundven@gmail.com
Tue Jun 28 06:08:00 GMT 2011


On Mon, Jun 27, 2011 at 9:55 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Khem, Yann,
>
> 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

> 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
>

-Bryan

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



More information about the crossgcc mailing list