[PATCH] Fix various tests to use -no-pie linker flag when needed

Tom Tromey tom@tromey.com
Wed Oct 17 13:55:00 GMT 2018


>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:

>> No, I don't know how universal -no-pie is. From what I have understood
>> from Simon
>> (https://sourceware.org/ml/gdb-patches/2018-08/msg00662.html),
>> out of the options available -no-pie is still the best bet.

Simon> gcc supports it, icc supports it [1], clang supports it starting at
Simon> version 6 according to my testing.  I think this is universal enough
Simon> that we can use it.

Sounds reasonable to me.

Tom



More information about the Gdb-patches mailing list