On Tue, 22 Jan 2019, David Livshin wrote: > Doesn't seems to solve the problem - while compiling with '-no-pie' or > '-fno-pie', gcc still generating @GOT* ( and @PLT ) references ( on Ubuntu ). Hm, I don't have an easy access to new Ubuntu systems, and indeed it seems -no-pie might not work; but -fno-pie should work nevertheless. It would help if you'd show output of 'gcc -v' and a short self-contained testcase exhibiting the problem. Alexander