On Mon, 2019-07-22 at 12:39 -0400, Arvind Sankar wrote:
> The gcc configure script does not use the config/picflag.m4 macro to
> customize PICFLAG according to the host when using --enable-host-shared.
> 
> Fix configure.ac to do so.
> 
> Tested bootstrap on x86_64-linux-gnu.
> 
> 2019-07-22  Arvind Sankar  <nived...@alum.mit.edu>
> 
>       * gcc/configure.ac: Use GCC_PICFLAG.
I know this is old....

Can you be more specific here about what you're trying to fix?  ie, what
host/target combination are you working on.  What behavior are you seeing
(presumably usage of -fPIC) what behavior did you expect (some other flag
presumably).

>From looking at picflag.m4 the thing I worry the most about is the various
ix86/x86_64 clauses which specify -fpic.  It looks like your change would cause
us to start using -fpic rather than -fPIC as we've been doing for eons and I
worry that might have unintended consequences.

Thanks,
Jeff
> 

Reply via email to