This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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 v3] Fix various tests to use -no-pie linker flag when needed


On 2018-10-17 11:43, Simon Marchi wrote:
On 2018-10-17 11:12, Jan Vrany wrote:
Various test use test code written in i385 / x86_64 assembly that cannot

typo, "i385"

be used to create PIE executables. Therefore compilation of test programs failed on systems where the compiler default is to create PIE executable.

To fix this, force -no-pie linker flag.

LGTM, thanks!

Actually, see the message from Pedro. gcc 4.8 doesn't know about this flag, and we probably want to support that for a while... so we'll have to implement that gdb_compile flag.

Simon


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