[Vm-dev] cute, we crash gcc...

Tobias Pape Das.Linux at gmx.de
Fri Mar 23 07:57:02 UTC 2018


Hi Ryan,
> On 23.03.2018, at 05:24, Ryan Macnak <rmacnak at gmail.com> wrote:
> […]
>> 
>> Yes, upgrading GCC fixes this (see https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/355826629 )
>> 
>> But the newspeak-bootstrap now fails.
>> 
>> @Eliot, can you have a look at this?
>>         https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/jobs/355826630#L6518
>> I actually cannot fathom how a gcc upgrade should influence this, but I'll hold whit the Pull Request until you say that its either my fault or nothing to be afraid of.
>> 
>> Well, if it's a result of my enabling read-only objects (-DIMMUTABILITY=1) for all Spur VMs then I'll turn it off for the Newspeak builds,
>> 
>> Hm, I though object immutability was something implemented years ago? Before Cog even.
> 
> Yes, but it happened in a fork of the Squeak VM we used at Cadence for the original Newspeak platform.  This VM wasn't carried forward and was a pure interpreter, so only some of the work was ported.
> 
>>  
>> but the key point here is that we should decouple the Newspeak builds from the Pharo and Squeak builds asap.  Newspeak shouldn't block new releases of what should be perfectly good VMs.  This is urgent IMO.
>> 
>> If any VM configuration breaks because a compiler update, it's very likely because of undefined behavior, and it casts doubt on the correctness of the other configurations sharing code.
> 
> In any case, if you have to time, it would be great if you could take a look at the failing bootstrap and diagnose.
> 
> A Strongtalk dictionary is failing to rehash on growth (1229.1) and failing to find an element that was definitely inserted (1230.35). Most likely cause is a unstable hash from one of the Fraction or ByteSymbol elements.

Sounds in line with the stack trace to me. can this even possibly related to immutability? to my ears this sounds pretty far removed from each other…

best regards
	-Tobias




More information about the Vm-dev mailing list