[PATCH] Fix and simplify (Re: Fix libbacktrace -fPIC breakage from "Use libbacktrace in libgfortran")
Ian Lance Taylor
ian@airs.com
Thu Aug 27 13:48:00 GMT 2015
"Ulrich Weigand" <uweigand@de.ibm.com> writes:
> Ian Lance Taylor wrote:
>> "Ulrich Weigand" <uweigand@de.ibm.com> writes:
>>
>> > I've verified that this works on x86_64: the resulting
>> > libgfortran.so uses the -fPIC version of the libbacktrace
>> > object, while libgfortran.a uses the non-PIC versions.
>> >
>> > On SPU, libtool will now automatically only generate the
>> > non-PIC versions since the target does not support shared
>> > library. So everything works as expected.
>> >
>> > OK for mainline?
>>
>> Can you verify that libgo works as expected?
>
> Looks correct to me: On x86_64, libgo.so contains -fPIC
> versions of the backtrace routine, while libgo.a contains
> non-PIC versions. (There's no Go support on SPU.)
Your patch to libbacktrace is OK.
Thanks.
Ian
More information about the Fortran
mailing list