Here, by the way, is the same problem, in a CPANtesters setup: http://www.cpantesters.org/cpan/report/93a62eb0-f94e-11e3-82c2-bc3ea1235623

In the CPANtesters case, there's a suggestion of what the issue is. Perl is built with "intsize=4" (4 bytes, that is, or 32 bits) as reported by "perl -V". This seems consistent with the "ccflags" Config value. But the flags from the environment as reported by "perl -V" specify "USE_64_BIT_INT ", which you'd expect to cause trouble.

The Perl XS library is built using 'ccflags". Libmarpa itself uses autoconf, which builds a 32-bit library, which seems consistent with the way that the tester's Perl was actually built.

-- jeffrey

On 06/04/2014 03:19 PM, Jeffrey Kegler wrote:
Don't know how closely it relates to the actual problems, but this is not good:
In file included from lib/Marpa/R2.xs:23:0:
lib/Marpa/R2.xs: In function 'XS_Marpa__R2__Thin__SLR_g1_lexeme_complete':
/usr/lib/perl/5.18/CORE/perl.h:1818:26: warning: cast to pointer from integer 
of different size [-Wint-to-pointer-cast]
  #  define INT2PTR(any,d) (any)(d)
                           ^
lib/Marpa/R2.xs:6072:10: note: in expansion of macro 'INT2PTR'
           INT2PTR (void *, lexeme_length));
           ^

It's essentially saying that the INT2PTR macro of the Perl XS API doesn't work as documented -- or at least warning that it might not.

The issues are all Perl XS level issues if the error messages are reliable. (For those unfamiliar with C programming, they often are not.)

I don't suppose anyone out there is in a position to run gdb on the IBM s390 architecture?

-- jeffrey

On 06/04/2014 02:32 PM, Durand Jean-Damien wrote:
Jeffrey,
I was reading the debian build-log on the s390 architecture <https://buildd.debian.org/status/fetch.php?pkg=libmarpa-r2-perl&arch=s390x&ver=2.084000%7Edfsg-1&stamp=1401473766> - puzzling -; gcc complains about truncations and there are strange segfaults. Original report is here <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/2014-June/077947.html>.
JD.

Le lundi 2 juin 2014 23:57:45 UTC+2, Durand Jean-Damien a écrit :

    FYI the Debian-Perl group has taken over packaging of Marpa::R2,
    c.f. their repository
    
<http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmarpa-r2-perl.git;a=summary>
    that is adressing the (debian naming for such thing) this Package
    Request Bug Report
    <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748484>.

    This mean that Marpa::R2, when their package will be ok (I refer
    to this mail
    
<http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/2014-June/077945.html>
    for example) will hit a miriad of computer on various
    architectures via various distributions (Ubuntu in particular).

    Very good news -;

    JD.

--
You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "marpa 
parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to