Marpa::R2 8.000000 is out

33 views
Skip to first unread message

Jeffrey Kegler

unread,
Dec 17, 2018, 3:07:48 PM12/17/18
to Marpa Parser Mailing LIst
I have uploaded a new indexed release of Marpa::R2: 8.000000: https://metacpan.org/pod/distribution/Marpa-R2/pod/Marpa_R2.pod

It fixes a bug, which under unusual circumstances caused the integer arguments of $recce->resume() or $recce->lexeme_complete() to be ignored.

krishn...@gmail.com

unread,
Dec 26, 2018, 2:41:50 PM12/26/18
to marpa parser
Hi Jeff,

Getting error while installing the Marpa::R2 module.

# perl Build test
Using built-in Libmarpa
t/00-load.t ............ Bailout called.  Further testing stopped:  Could not load Marpa::R2
# Can't load '/tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so' for module Marpa::R2: rtld: 0712-001 Symbol __builtin_expect was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found. at /usr/opt/perl5/lib/5.20.1/aix-thread-multi/DynaLoader.pm line 193.
#  at t/00-load.t line 24
# Compilation failed in require at t/00-load.t line 24.
FAILED--Further testing stopped: Could not load Marpa::R2

Kindly need your help

Thanks and Regards
Krishna

Jeffrey Kegler

unread,
Dec 26, 2018, 2:52:14 PM12/26/18
to Marpa Parser Mailing LIst
This error typically means a bad Perl installation, or that Marpa::R2 was built with a Perl different from the one that is attempting to load it.

Best, jeffrey

--
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 marpa-parser...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

krishn...@gmail.com

unread,
Dec 26, 2018, 3:12:28 PM12/26/18
to marpa parser
Hi Jeff

Perl and the compilers I am using, I can able install all dependency modules, Only getting issue with Marpa::R2 module.


                        /usr/opt/perl5/bin/perl -V              --- XLC - xlc_r -q32 
/usr/opt/perl5_5203/bin/perl -V         --- GCC - gcc -maix64 -maix64
/usr/bin/perl -V                        --- XLC - cc='xlc_r -q32'

I tried with the recent updated module from Meta::Cpan

below find the details

root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >
# ls -ltr
total 192
drwxr-xr-x    2 1000     1000            256 Dec 16 14:24 xs
-r--r--r--    1 1000     1000           4045 Dec 16 14:24 typemap
drwxr-xr-x    2 1000     1000           4096 Dec 16 14:24 t
drwxr-xr-x    3 1000     1000            256 Dec 16 14:24 pperl
drwxr-xr-x    6 1000     1000           4096 Dec 16 14:24 pod
drwxr-xr-x    2 1000     1000            256 Dec 16 14:24 meta
drwxr-xr-x    3 1000     1000            256 Dec 16 14:24 lib
drwxr-xr-x    4 1000     1000            256 Dec 16 14:24 inc
drwxr-xr-x    8 1000     1000            256 Dec 16 14:24 html
drwxr-xr-x    3 1000     1000            256 Dec 16 14:24 g
drwxr-xr-x    2 1000     1000           4096 Dec 16 14:24 etc
drwxr-xr-x    3 1000     1000            256 Dec 16 14:24 engine
drwxr-xr-x    2 1000     1000           4096 Dec 16 14:24 author.t
-r--r--r--    1 1000     1000            143 Dec 16 14:24 README
-r--r--r--    1 1000     1000           3799 Dec 16 14:24 META.yml
-r--r--r--    1 1000     1000           5771 Dec 16 14:24 META.json
-r--r--r--    1 1000     1000           2259 Dec 16 14:24 MANIFEST.SKIP
-r--r--r--    1 1000     1000           6889 Dec 16 14:24 MANIFEST
-r--r--r--    1 1000     1000            809 Dec 16 14:24 LICENSE
-r--r--r--    1 1000     1000            670 Dec 16 14:24 INSTALL
-r--r--r--    1 1000     1000          10407 Dec 16 14:24 Changes
-r--r--r--    1 1000     1000           7653 Dec 16 14:24 COPYING.LESSER
-r--r--r--    1 1000     1000           5976 Dec 16 14:24 Build.PL
-r--r--r--    1 1000     1000            402 Dec 16 14:24 .gitignore
-r--r--r--    1 1000     1000             31 Dec 16 14:24 .gitattributes
-r--r--r--    1 1000     1000             95 Dec 16 14:24 .gdbinit
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >
#
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >
# cd pod
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/pod >
# ls -ltr
total 672
-r--r--r--    1 1000     1000          15552 Dec 16 14:24 Vocabulary.pod
-r--r--r--    1 1000     1000           8382 Dec 16 14:24 Tutorial2.pod
-r--r--r--    1 1000     1000           5263 Dec 16 14:24 Tracing.pod
-r--r--r--    1 1000     1000           2490 Dec 16 14:24 Support.pod
-r--r--r--    1 1000     1000          33537 Dec 16 14:24 Semantics.pod
drwxr-xr-x    2 1000     1000            256 Dec 16 14:24 Semantics
-r--r--r--    1 1000     1000          14949 Dec 16 14:24 Scanless.pod
drwxr-xr-x    2 1000     1000            256 Dec 16 14:24 Scanless
-r--r--r--    1 1000     1000          52475 Dec 16 14:24 Progress.pod
-r--r--r--    1 1000     1000          19387 Dec 16 14:24 NAIF.pod
drwxr-xr-x    3 1000     1000            256 Dec 16 14:24 NAIF
-r-xr-xr-x    1 1000     1000          23052 Dec 16 14:24 Marpa_R2.pod
-r--r--r--    1 1000     1000          39347 Dec 16 14:24 Glade.pod
-r--r--r--    1 1000     1000          11450 Dec 16 14:24 Exhaustion.pod
-r--r--r--    1 1000     1000          40655 Dec 16 14:24 Event.pod
-r--r--r--    1 1000     1000          12335 Dec 16 14:24 Changes.pod
-r--r--r--    1 1000     1000           6023 Dec 16 14:24 BNF.pod
drwxr-xr-x    2 1000     1000            256 Dec 16 14:24 Advanced
-r--r--r--    1 1000     1000           4695 Dec 16 14:24 Acknowledgements.pod
-r--r--r--    1 1000     1000          22172 Dec 16 14:24 ASF.pod
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/pod >
# cd ..
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >
# ls
.gdbinit        COPYING.LESSER  MANIFEST        README          g               meta            typemap
.gitattributes  Changes         MANIFEST.SKIP   author.t        html            pod             xs
.gitignore      INSTALL         META.json       engine          inc             pperl
Build.PL        LICENSE         META.yml        etc             lib             t
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >
# /usr/opt/perl5_5203/bin/perl Build.PL
Module::Build will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at Build.PL, line 26.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Marpa-R2' version '8.000000'
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >
# /usr/opt/perl5_5203/bin/perl Build
Module::Build will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at inc/Marpa/R2/Build_Me.pm, line 29.
Building Marpa-R2
Writing version files
Running [/bin/sh configure --with-pic --disable-shared --disable-maintainer-mode]...
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... powerpc-ibm-aix7.2.1.0
checking host system type... powerpc-ibm-aix7.2.1.0
checking how to print strings... print -r
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert powerpc-ibm-aix7.2.1.0 file names to powerpc-ibm-aix7.2.1.0 format... func_convert_file_noop
checking how to convert powerpc-ibm-aix7.2.1.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... AIX lib.a(lib.so.V)
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gawk... (cached) nawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking whether GCC handles -Wextra... -Wextra
checking whether GCC handles -Wdeclaration-after-statement... -Wdeclaration-after-statement
checking size of int... 4
checking for memset... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating LIB_VERSION
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Running [make]...
        make  all-am
        /bin/sh ./libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I.  -Wundef -Wendif-labels   -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic  -g -O2 -MT marpa.lo -MD -MP -MF .deps/marpa.Tpo -c -o marpa.lo marpa.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wundef -Wendif-labels -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic -g -O2 -MT marpa.lo -MD -MP -MF .deps/marpa.Tpo -c marpa.c  -fPIC -DPIC -o marpa.o
        mv -f .deps/marpa.Tpo .deps/marpa.Plo
        /bin/sh ./libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I.  -Wundef -Wendif-labels   -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic  -g -O2 -MT marpa_obs.lo -MD -MP -MF .deps/marpa_obs.Tpo -c -o marpa_obs.lo marpa_obs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wundef -Wendif-labels -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic -g -O2 -MT marpa_obs.lo -MD -MP -MF .deps/marpa_obs.Tpo -c marpa_obs.c  -fPIC -DPIC -o marpa_obs.o
        mv -f .deps/marpa_obs.Tpo .deps/marpa_obs.Plo
        /bin/sh ./libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I.  -Wundef -Wendif-labels   -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic  -g -O2 -MT marpa_avl.lo -MD -MP -MF .deps/marpa_avl.Tpo -c -o marpa_avl.lo marpa_avl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wundef -Wendif-labels -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic -g -O2 -MT marpa_avl.lo -MD -MP -MF .deps/marpa_avl.Tpo -c marpa_avl.c  -fPIC -DPIC -o marpa_avl.o
        mv -f .deps/marpa_avl.Tpo .deps/marpa_avl.Plo
        /bin/sh ./libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I.  -Wundef -Wendif-labels   -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic  -g -O2 -MT marpa_tavl.lo -MD -MP -MF .deps/marpa_tavl.Tpo -c -o marpa_tavl.lo marpa_tavl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wundef -Wendif-labels -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic -g -O2 -MT marpa_tavl.lo -MD -MP -MF .deps/marpa_tavl.Tpo -c marpa_tavl.c  -fPIC -DPIC -o marpa_tavl.o
        mv -f .deps/marpa_tavl.Tpo .deps/marpa_tavl.Plo
        /bin/sh ./libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I.  -Wundef -Wendif-labels   -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic  -g -O2 -MT marpa_ami.lo -MD -MP -MF .deps/marpa_ami.Tpo -c -o marpa_ami.lo marpa_ami.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wundef -Wendif-labels -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic -g -O2 -MT marpa_ami.lo -MD -MP -MF .deps/marpa_ami.Tpo -c marpa_ami.c  -fPIC -DPIC -o marpa_ami.o
./marpa_ami.w: In function 'marpa__default_debug_handler':
./marpa_ami.w:372:1: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
        mv -f .deps/marpa_ami.Tpo .deps/marpa_ami.Plo
        /bin/sh ./libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I.  -Wundef -Wendif-labels   -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic  -g -O2 -MT marpa_codes.lo -MD -MP -MF .deps/marpa_codes.Tpo -c -o marpa_codes.lo marpa_codes.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wundef -Wendif-labels -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic -g -O2 -MT marpa_codes.lo -MD -MP -MF .deps/marpa_codes.Tpo -c marpa_codes.c  -fPIC -DPIC -o marpa_codes.o
        mv -f .deps/marpa_codes.Tpo .deps/marpa_codes.Plo
        /bin/sh ./libtool  --tag=CC    --mode=link gcc -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic  -g -O2  -release 8.6.2  -o libmarpa.la -rpath /usr/local/lib marpa.lo marpa_obs.lo marpa_avl.lo  marpa_tavl.lo marpa_ami.lo marpa_codes.lo
libtool: link: ar cru .libs/libmarpa.a  marpa.o marpa_obs.o marpa_avl.o marpa_tavl.o marpa_ami.o marpa_codes.o
libtool: link: ranlib .libs/libmarpa.a
libtool: link: ( cd ".libs" && rm -f "libmarpa.la" && ln -s "../libmarpa.la" "libmarpa.la" )
Target "all-am" is up to date.
gcc -maix64 -maix64 -I/usr/opt/perl5_5203/lib/5.20.3/aix-64all/CORE -DVERSION="8.000000" -DXS_VERSION="8.000000" -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -maix64 -DUSE_64_BIT_ALL -I /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/libmarpa_build -I xs -Wall -W -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wmissing-declarations -ansi -Wdeclaration-after-statement -g -o lib/Marpa/R2.o lib/Marpa/R2.c
Using built-in Libmarpa
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Marpa/R2/R2.bs')
gcc -maix64 -maix64 -Wl,-b64 -Wl,-bhalt:4 -Wl,-G -Wl,-bI:/usr/opt/perl5_5203/lib/5.20.3/aix-64all/CORE/perl.exp -Wl,-bE:R2.exp -Wl,-bnoentry -lc -lm -o blib/arch/auto/Marpa/R2/R2.so lib/Marpa/R2.o /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/libmarpa_build/.libs/libmarpa.a
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >
# /usr/opt/perl5_5203/bin/perl Build test
Module::Build will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at inc/Marpa/R2/Build_Me.pm, line 29.
Using built-in Libmarpa
t/00-load.t ............ Bailout called.  Further testing stopped:  Could not load Marpa::R2
# Can't load '/tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so' for module Marpa::R2: rtld: 0712-001 Symbol _marpa_v_trace was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.
# rtld: 0712-001 Symbol _marpa_t_nook_predecessor_is_ready was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.
# rtld: 0712-001 Symbol _marpa_t_nook_is_predecessor was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.
# rtld: 0712-001 Symbol _marpa_t_nook_cause_is_ready was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.
# rtld: 0712-001 Symbol _marpa_t_nook_is_cause was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.
# rtld: 0712-001 Symbol _marpa_t_nook_parent was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.
# rtld: 0712-001 Symbol _marpa_t_nook_choice was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.
# Additional errors occurred but are not reported. at /usr/opt/perl5_5203/lib/5.20.3/aix-64all/DynaLoader.pm line 193.
#  at t/00-load.t line 24.
# Compilation failed in require at t/00-load.t line 24.
FAILED--Further testing stopped: Could not load Marpa::R2
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >


Thanks 
Krishna

Jeffrey Kegler

unread,
Dec 26, 2018, 3:49:23 PM12/26/18
to Marpa Parser Mailing LIst
My first guess would be that the crucial messages are the ones in this series:

# Can't load '/tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so' for module Marpa::R2: rtld: 0712-001 Symbol _marpa_v_trace was referenced
#       from module /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so(), but a runtime definition
#           of the symbol was not found.

Things I would look at first are paths, and the R2.so file itself -- does it actually exist, does it look like it was built right, does it contain an _marpa_v_trace symbol, what happens when you trace the link loader, etc.?

As a random guess, perhaps AIX has special rules about symbol visibility, which explain why it is not finding the symbols in R2.so.

Anyone else with suggestions?

Hope this helps, jeffrey   

krishn...@gmail.com

unread,
Dec 26, 2018, 4:07:23 PM12/26/18
to marpa parser
Hi Jeff,

File exists, how to verify the link loader ?

# ls -ltr /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so
-rwx------    1 root     system      1176733 Dec 26 12:07 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000/blib/arch/auto/Marpa/R2/R2.so
root@czapms22 /tmp/ITM_Audit_Scripts/Marpa-R2-8.000000 >

Jeffrey Kegler

unread,
Dec 26, 2018, 4:26:36 PM12/26/18
to Marpa Parser Mailing LIst
On my system, commands to examine the file are nm, objdump and ldd.  They have man pages and the ld.so man page describes environment variables which can be set to do tracing.  The environment variable can be tricky to use -- a bad choice can make your current terminal session unusable.

First think I'd be curious to know is are all those "not found" symbols actually defined in R2.so, and if so, how?
Reply all
Reply to author
Forward
0 new messages