This is the mail archive of the gcc-patches@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: [PATCH][testsuite] Require shared effective target for some lto.exp tests


On Jan 24, 2017, at 6:16 AM, Kyrill Tkachov <kyrylo.tkachov@foss.arm.com> wrote:
> 
> The tests in this patch fail for me on aarch64-none-elf with:
> relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `_impure_ptr' can not be used when making a shared object; recompile with -fPIC
> 
> I believe since the tests pass -shared to the linker they should be gated on the 'shared' effective target?
> With this patch these tests appear as UNSUPPORTED on aarch64-none-elf rather than FAILing.
> 
> Ok for trunk?

Ok.


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