This is the mail archive of the gcc-bugs@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]

[Bug driver/81653] gcc configured with --enable-default-pie on SPARC miscompiles hand-written .s files


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81653

--- Comment #6 from Bruno Haible <bruno at clisp dot org> ---
> passing -fno-pie seems to be the agreed upon way out here.

My assembly code is located in a library (think at libffcall, libffi, gmp,
...).
Therefore I don't control the final linker options.

So, the only available option the '#ifdef __PIC__' solution from comment 2.

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