[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bignum branch
From: |
Andy Moreton |
Subject: |
Re: bignum branch |
Date: |
Sun, 15 Jul 2018 17:29:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
On Fri 13 Jul 2018, Eli Zaretskii wrote:
>> From: Robert Pluim <address@hidden>
>> Cc: address@hidden
>> Date: Fri, 13 Jul 2018 15:02:01 +0200
>>
>> emacs -Q
>> (require 'pgg)
>>
>> ⇒
>>
>> Debugger entered--Lisp error: (error "Error in CCL program")
>> register-ccl-program(pgg-parse-crc24 [1 30 14 114744 114775 0 161 131127 1
>> 148217 15 82167 1 1848 131159 1 1595 5 256 114743 390 114775 19707 1467 16 7
>> 183 1 4611686018427382276 4611686018427380740 22])
>
> Thanks.
>
> I guess the operations in pgg-parse-crc24 give birth to these numbers,
> so ccl.c should be fixed to avoid that, for backward compatibility
> with existing CCL programs. (I'm guessing that ccl.c relies on
> integer wrap-around, and bignums violate that.)
If I bootstrap a 32bit build from the bignum branch, this error does not
occur and the build completes successfully. However if I bootstrap a
64bit build and then build a 32bit emacs from the same source tree, I
see this error.
This suggests that the problem is (at least partly) in the compiler for
CCL programs in ccl.el, rather than the interpreter in ccl.c.
AndyM
- Re: bignum branch, (continued)
- Re: bignum branch, Eli Zaretskii, 2018/07/13
- Re: bignum branch, Robert Pluim, 2018/07/13
- Re: bignum branch, Eli Zaretskii, 2018/07/13
- Re: bignum branch, Eli Zaretskii, 2018/07/13
- Re: bignum branch, Robert Pluim, 2018/07/13
- Re: bignum branch, Eli Zaretskii, 2018/07/13
- Re: bignum branch,
Andy Moreton <=
- Re: bignum branch, Robert Pluim, 2018/07/17
- Re: bignum branch, Eli Zaretskii, 2018/07/17
- Re: bignum branch, Eli Zaretskii, 2018/07/17
- Re: bignum branch, Robert Pluim, 2018/07/17
- Re: bignum branch, Clément Pit-Claudel, 2018/07/17
- Re: bignum branch, Stefan Monnier, 2018/07/17
- Re: bignum branch, Andy Moreton, 2018/07/18
- Re: bignum branch, Robert Pluim, 2018/07/18
- Re: bignum branch, Stefan Monnier, 2018/07/18
- Re: bignum branch, Eli Zaretskii, 2018/07/18