I still think specifying '-fPIC' on the compile command line
and '-fpic' on the link line should have the same effect
as '-fno-PIE' (compile) and '-no-pie' (link).

Moreover, while I see you've added documentation for
'-no-pie' to gcc-7.info, there is no documentation there
for '-fno-PIE' .

It is a bad idea to ignore what the user specifies on
the command line - when I specify '-fPIC', gcc silently 
contradicts me behind the scenes by adding '-fPIE', and
the same for '-fpic' (it specifies '-pie') .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1837881

Title:
  error in gcc / g++ specs : '-pie' always added

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1837881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to