Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Perl 5 Optimizing Compiler, Part 11: RPerl v1.0 Beta Released!

by Will_the_Chill (Pilgrim)
on Jan 17, 2014 at 09:10 UTC ( [id://1070920]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl 5 Optimizing Compiler, Part 11: RPerl v1.0 Beta Released!
in thread Perl 5 Optimizing Compiler, Part 11: RPerl v1.0 Beta Released!

wazoox,

Thanks for your interest in RPerl!

It looks like you're passing the first 3 test files, then failing on the 4th test, which is where we actually start to use RPerl data types.

Please try to run this command and post the output:

rm -Rf _Inline/; reset; perl -Ilib t/04_type_scalar.t

You may also choose to join us in #perl11 on irc.perl.org where Reini Urban, bulk88, and other RPerl people hang out. I'm not always online 24/7, but when I am online I may be able to give you somewhat faster feedback than through Perl Monks. Either way works fine for me! :-)

Perling,
~ Will the Chill

Replies are listed 'Best First'.
Re^3: Perl 5 Optimizing Compiler, Part 11: RPerl v1.0 Beta Released!
by wazoox (Prior) on Jan 17, 2014 at 15:01 UTC
    OK, here are the results:
    # # [[[ Beginning Scalar Type Pre-Test Loading, RPerl Type System ]]] # ok 1 - use RPerl; ok 2 - use parent ('RPerl'); ok 3 - use Data::Dumper; ok 4 - our $AUTOLOAD; sub AUTOLOAD {...} ok 5 - use RPerl::DataType::Integer_cpp; ok 6 - use RPerl::DataType::Number_cpp; ok 7 - use RPerl::DataType::String_cpp; in Array.pm, loading C++ helper functions for type-checking... in HelperFunctions_cpp::cpp_load(), have $RPerl::HelperFunctions_cpp:: +CPP_LOADED = '0' validate Stage Starting Build Preprocess Stage get_maps Stage Finished Build Preprocess Stage Starting Build Parse Stage Finished Build Parse Stage Starting Build Glue 1 Stage Finished Build Glue 1 Stage Starting Build Glue 2 Stage Finished Build Glue 2 Stage Starting Build Glue 3 Stage Finished Build Glue 3 Stage Starting Build Compile Stage Starting "perl Makefile.PL" Stage Generating a Unix-style Makefile Writing Makefile for eval_652_d115 Writing MYMETA.yml and MYMETA.json Finished "perl Makefile.PL" Stage Starting "make" Stage Running Mkbootstrap for eval_652_d115 () chmod 644 eval_652_d115.bs /usr/bin/perl5.18.1 /usr/share/perl5/ExtUtils/xsubpp -typemap "/usr/s +hare/perl5/ExtUtils/typemap" -typemap "/home/emmanuel/dev/git/rperl/l +ib/typemap.rperl" eval_652_d115.xs > eval_652_d115.xsc && mv eval_6 +52_d115.xsc eval_652_d115.c g++ -c -I"/home/emmanuel/dev/git/rperl/t" -Ilib -Wno-deprecated -std= +c++0x -Wno-reserved-user-defined-literal -O2 -march=i486 -mtune=i686 + -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/usr/lib/perl5/CO +RE" eval_652_d115.c In file included from /usr/lib/perl5/CORE/perl.h:3476:0, from eval_652_d115.xs:11: /usr/lib/perl5/CORE/pad.h:146:19: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: illegal pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:146:54: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: illegal pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:153:19: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: invalid pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:153:54: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: invalid pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:323:8: attention : invalid suffix on literal +; C++11 requires a space between literal and identifier [-Wliteral-su +ffix] "Pad 0x%"UVxf"[0x%"UVxf"] set_cur depth=%d\n", \ ^ /usr/lib/perl5/CORE/pad.h:323:21: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] "Pad 0x%"UVxf"[0x%"UVxf"] set_cur depth=%d\n", \ ^ /usr/lib/perl5/CORE/pad.h:341:8: attention : invalid suffix on literal +; C++11 requires a space between literal and identifier [-Wliteral-su +ffix] "Pad 0x%"UVxf"[0x%"UVxf"] save_local\n", \ ^ /usr/lib/perl5/CORE/pad.h:341:21: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] "Pad 0x%"UVxf"[0x%"UVxf"] save_local\n", \ ^ /usr/lib/perl5/CORE/pad.h:349:8: attention : invalid suffix on literal +; C++11 requires a space between literal and identifier [-Wliteral-su +ffix] "Pad 0x%"UVxf"[0x%"UVxf"] restore_local\n", \ ^ /usr/lib/perl5/CORE/pad.h:349:21: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] "Pad 0x%"UVxf"[0x%"UVxf"] restore_local\n", \ ^ In file included from eval_652_d115.xs:11:0: /usr/lib/perl5/CORE/perl.h:4257:8: attention : invalid suffix on liter +al; C++11 requires a space between literal and identifier [-Wliteral- +suffix] INIT("Use of uninitialized value%"SVf"%s%s"); ^ /usr/lib/perl5/CORE/perl.h:4277:8: attention : invalid suffix on liter +al; C++11 requires a space between literal and identifier [-Wliteral- +suffix] INIT("Modification of non-creatable hash value attempted, subscript + \"%"SVf"\""); ^ eval_652_d115.c:212:26: attention : invalid suffix on literal; C++11 r +equires a space between literal and identifier [-Wliteral-suffix] Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), pa +rams); ^ cc1plus: attention : option "-Wno-reserved-user-defined-literal" de la + ligne de commande non reconnue [enabled by default] rm -f blib/arch/auto/eval_652_d115/eval_652_d115.so LD_RUN_PATH="/usr/lib" cc -shared -O2 -march=i486 -mtune=i686 -L/usr/ +local/lib -fstack-protector eval_652_d115.o -o blib/arch/auto/eval_6 +52_d115/eval_652_d115.so \ -lstdc++ \ chmod 755 blib/arch/auto/eval_652_d115/eval_652_d115.so /usr/bin/perl5.18.1 -MExtUtils::Command::MM -e 'cp_nonempty' -- eval_6 +52_d115.bs blib/arch/auto/eval_652_d115/eval_652_d115.bs 644 Finished "make" Stage Starting "make install" Stage Running Mkbootstrap for eval_652_d115 () chmod 644 eval_652_d115.bs Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree Installing /home/emmanuel/dev/git/rperl/_Inline/lib/auto/eval_652_d115 +/eval_652_d115.so Finished "make install" Stage Starting Cleaning Up Stage Finished Cleaning Up Stage Finished Build Compile Stage Had problems bootstrapping Inline module 'eval_652_d115' Not a CODE reference at /usr/lib/perl5/DynaLoader.pm line 213. END failed--call queue aborted at (eval 733) line 213. at (eval 652) line 4. BEGIN failed--compilation aborted at (eval 652) line 21. at lib/RPerl/DataStructure/Array.pm line 23. INIT failed--call queue aborted. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 2 just after 7.
    Unfortunately I won't be able to be on IRC until tomorrow.
      wazoox,

      I won't be online for the next few days, but I think this error is actually related to some code changes made by Reini Urban in order to get RPerl to compile on his Macintosh computer. Reini does hang out in #perl11 on irc.perl.org under the username rurban or sometimes rurban1.

      Please try to get Reini's attention on IRC and show him your output to see if he knows an easy and obvious fix. If not, I'll have to dig deeper.

      Thanks!

      Perling,
      ~ Will the Chill

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1070920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-29 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found