This is the mail archive of the
mailing list for the GCC project.
Re: how to prevent gcc from generating GOT references
On Wed, 2019-01-23 at 09:16 +0200, David Livshin wrote:
> On 1/22/19 5:51 PM, Alexander Monakov wrote:
> Unfortunately I myself don't have an easy access to Ununtu system -
> using it occasionally on the cloud. Also, after compiling with the
> -[f]no-pie flags I was unable to link the generated objects - don't
> remember the exact wording of the error message but it was requesting
> recompile the sources using -fPIC.
Pretty sure there are similar options you need to pass to the linker