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

--- Comment #11 from James Clarke <jrtc27 at jrtc27 dot com> ---
(In reply to Oleg Endo from comment #10)
> I can't reproduce the first case with a standalone sh-elf compiler (GCC 9).
> 
> The compile flags mention
> 
>       -specs=/usr/share/dpkg/pie-compile.specs
> 
> ... what's in that specs file?

  (sid-sh4-sbuild)root@sh4-gandi-02:~# cat /usr/share/dpkg/pie-compile.specs 
  *self_spec:
  +
%{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:%{!fno-PIE:%{!no-pie:-fPIE}}}}}}}}

So, since -fPIC is provided on the command line already, it shouldn't be doing
anything.

Reply via email to