# New Ticket Created by Eduardo CAPANEMA
# Please include the string: [perl #129838]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=129838 >
Hi guys,
Friends on IRC kindly asked me to submit this error report:
Asked to
Looks like libtommath has now been fixed:
https://github.com/libtom/libtommath/pull/57
On Sat Oct 08 14:47:40 2016, timo wrote:
> Apparently libtommath is known to leave some bits 0 when specific
> conditions for the defines are met; i haven't looked but i suspect we
> are hitting exactly this
Fixed in https://github.com/rakudo/rakudo/commit/3b5ef07cee
Tests added in
https://github.com/perl6/roast/blob/412539ab809a769b7bf36df02c4aba8040f95f7e/S04-exceptions/exceptions-json.t#L27
On Wed Oct 05 11:07:23 2016, nxadm wrote:
> Hi,
>
> Great job adding JSON error output (lizmat++). This
Fixed with:
https://github.com/MoarVM/MoarVM/commit/688796b434
https://github.com/rakudo/rakudo/commit/a92f092ac5
The error message now reads:
$ perl6 -e 'class Foo is repr { has Buf $.a }'
===SORRY!=== Error while compiling -e
CStruct representation only handles attributes of type:
(u)int8,
This issue is fixed if you configure MoarVM with --has-libffi as of today.
(You need of course the libffi-dev package installed.)