Doubts using the precompiled binaries

Janne Blomqvist blomqvist.janne@gmail.com
Fri May 19 13:36:00 GMT 2017


On Fri, May 12, 2017 at 5:49 PM, Manfred Schwarb <manfred99@gmx.ch> wrote:
> Am 12.05.2017 um 10:19 schrieb Janne Blomqvist:
>> On Fri, May 12, 2017 at 12:16 AM, Manfred Schwarb <manfred99@gmx.ch> wrote:
>>> Am 11.05.2017 um 22:09 schrieb Janne Blomqvist:
>>>
>>>>
>>>> I just committed https://gcc.gnu.org/r247927 to trunk, can you apply
>>>> it to your tree and see whether it works (my gfortran dev machine has
>>>> glibc 2.23 so I can't see whether the weakref trick actually works..)?
>>>>
>>
>> Please also pick gcc.gnu.org/r247952 which has some fixes.
>>
>>> In your original patch you had a Makefile.in hunk, which seems to have been
>>> committed earlier this week by Thomas. Is this hunk required when back-porting
>>> this patch to e.g. the release version 7.1 ?
>>
>> This is just churn generated by autotools. It doesn't have anything to
>> do with the patch, so you can ignore it.
>>
>>
>
> Patch works for me. I compiled the 7.1.0 release including your patch in my chroot environment
> with glibc 2.11.3 and ran it natively with glibc 2.22. No problems with static linking.
>
> Now I will add the patch command to my build script so future builds of versions <= 7.1.0
> will work also for static linking.

FYI, I have now backported the patch (+ the fixes by Thomas Schwinge)
to the gcc 7, 6, and 5 branches.

Thanks to Marco and Manfred for bringing this issue to my attention and testing.


-- 
Janne Blomqvist



More information about the Fortran mailing list