This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/77464] gcc -no-pie breaks -shared
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Sep 2016 11:25:50 +0000
- Subject: [Bug c/77464] gcc -no-pie breaks -shared
- Auto-submitted: auto-generated
- References: <bug-77464-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77464
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #3)
> Or at least give a clearer error that mentions -fPIC ...
Actually this is not a driver issue just a binutils issue if that. Why add
no-pie anyways to the ldflags.