[gambit-list] Gambit no longer compiles with Clang >= 3.7
Marc Feeley
feeley at iro.umontreal.ca
Wed Jan 20 14:53:32 EST 2016
I can confirm that, on OS X with clang 3.7.1 (installed using brew), gsi goes into an infinite loop when configured with ./configure --enable-single-host CC="clang-3.7" . Gdb says it is stuck somewhere in _num.scm .
I also tried debugging this issue with ./configure --enable-single-host --enable-debug CC="clang-3.7" … of course now that it is compiled for debug clang compiles gsi fine and the problem goes away... Hate heisenbugs!
clang has given me quite a few problems in the past (see the end of file INSTALL.txt).
Are you going to file a bug report with LLVM? I’ve lost patience in the past filing bug reports for C compilers that never get processed…
Marc
> On Jan 20, 2016, at 9:30 AM, Marc Feeley <feeley at iro.umontreal.ca> wrote:
>
> Good! (for Gambit but bad for clang!) Gambit has a long history in triggering bugs in C compilers…
>
> I will check on my end too.
>
> Marc
>
>> On Jan 20, 2016, at 9:28 AM, Alex Silva <asandroq at gmail.com> wrote:
>>
>> Hallo,
>>
>> On 19/01/16 20:28, Marc Feeley wrote:
>>> OK, my latest commit fixes this issue (tested on OS X). Could you try on Ubuntu and let me know if issues persist?
>>>
>>
>> Thanks for the quick fix. I still see the problem, but it seems to be
>> actually a bug in Clang. If I build stock 4.8.3 without
>> "--enable-single-host", "gsi" runs fine despite the warnings. With
>> "--enable-single-host", both 4.8.3 and latest master get stuck.
>>
>> Cheers,
>> --
>> -alex
>> http://unendli.ch/
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
More information about the Gambit-list
mailing list