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

Ryan Macnak rmacnak at gmail.com
Fri Mar 23 04:24:17 UTC 2018


On Thu, Mar 22, 2018 at 7:22 AM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:

> Hi Ryan,
>
>
> On Mar 21, 2018, at 7:51 PM, Ryan Macnak <rmacnak at gmail.com> wrote:
>
> On Tue, Mar 20, 2018 at 8:27 AM, Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
>
>> Hi Tobias, Hi Ryan,
>>
>> On Tue, Mar 20, 2018 at 6:12 AM, Tobias Pape <Das.Linux at gmx.de> wrote:
>>
>>>
>>> On 20.03.2018, at 13:58, Holger Freyther <holger at freyther.de> wrote:
>>> >
>>> >
>>> >
>>> >
>>> >> On 20. Mar 2018, at 11:54, Tobias Pape <Das.Linux at gmx.de> wrote:
>>> >>
>>> >
>>> > Hey!
>>> >
>>> >
>>> >> https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/jobs/35
>>> 5802605#L2458
>>> >
>>> > indeed! I think it is this bug: https://gcc.gnu.org/bugzilla/s
>>> how_bug.cgi?id=59477. I love how GCC developers add a regression test
>>> for every issue fixed and they do it for many many years already. And it is
>>> a codebase that is 30+ years old and started before SSA was "known".
>>>
>>> Yes, upgrading GCC fixes this (see https://travis-ci.org/OpenSmal
>>> ltalk/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/35
>>> 5826630#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.


>
> regards, Eliot
> _,,,^..^,,,_ (phone)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180322/520209aa/attachment.html>


More information about the Vm-dev mailing list