bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23750] Linker does not support R_ARM_GOT_BREL with -fdpic


From: clyon at gcc dot gnu.org
Subject: [Bug ld/23750] Linker does not support R_ARM_GOT_BREL with -fdpic
Date: Wed, 10 Oct 2018 14:02:59 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23750

--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
(In reply to Dmitrii from comment #4)
> Thanks for your answer.
> 
> I have checkouted fdpic gcc branch:
> https://git.linaro.org/people/christophe.lyon/gcc.git/log/?h=fdpic-v3-after-
> rebase
> And I have building issues.
> 
> I have tried to use ./configure line from fdpic-manifest from github:
> ./configure --prefix=~/gcc-fdpic/install
> --target=arm-v7-linux-uclinuxfdpiceabi --without-headers --with-newlib
> --disa    ble-shared --disable-threads --disable-libssp --disable-libgomp
> --disable-libmudflap --enable-languages=c --disable-libquadmath --d   
> isable-multilib --without-cloog --without-ppl --disable-nls
> 
> It caused an error:
> error: FDPIC mode is not supported on architectures older than Armv7

When did you get this error? During GCC build time or when using the resulting
compiler?

> 
> How can I correctly specify arch? (--with-arch=armv7 produces non-working
> compiler).
> 
> Could you, please, provide working ./configure command or tell me where can
> I get any manual?
> 

You should build GCC with armv7 as default architecture (for instance
--with-cpu=cortex-a9 when configuring GCC)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]