This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PIC mode on IA64 (fixes libgomp failures on HP-UX)
* Steve Ellcey wrote on Thu, Jul 31, 2008 at 08:20:16PM CEST:
>
> If we apply this GCC patch then the -fpic flag isn't needed for IA64
> Linux either but Libtool is currently passing that to the IA64 Linux GCC
> compiler when generating pic code on that platform. This could be
> changed but wouldn't have to be.
>
> If we don't apply this patch we could address the problem by changing
> libtool to use -fpic when it calls the IA64 HP-UX compiler but I am
> proposing that we change the compiler and leave libtool alone.
>
> Did that help or did I just confuse things more?
I think that helped, thanks.
What I don't quite understand is why you deem it better to change GCC
than to change Libtool. I assume your change pessimizes TLS with
static libgomp? If so, does anybody care about that (asking because
I have no idea)?
Thanks,
Ralf