Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B::C fails to build against perl 5.18 #439

Open
ramrella opened this issue Aug 25, 2021 · 1 comment
Open

B::C fails to build against perl 5.18 #439

ramrella opened this issue Aug 25, 2021 · 1 comment
Assignees

Comments

@ramrella
Copy link

ramrella commented Aug 25, 2021

Hi,

I attempted to install B-C version 1.54 in perl 5.18 and compilation failed with the below error. Please help on this issue.

$ perl Makefile.PL

Warning: Bad perl version 5.018000
Perl handling of new unicode identifiers - package and symbol names -
without proper TR39 handling is considered a security risc and is not fully supported.
See http://websec.github.io/unicode-security-guide/

Check your code for syntax spoofs, confusables, esp. strip \0 from package names.
Checking if your kit is complete...
Looks good
Warning: prerequisite Opcodes 0 not found.
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Empty %B::C::Config::Config at lib/B/C.pm line 22.
Generating a Unix-style Makefile
Writing Makefile for B::C
Writing MYMETA.yml and MYMETA.json

$ make

"perl/bin/perl" bytecode.pl
cp lib/B/Assembler.pm blib/lib/B/Assembler.pm
cp lib/B/Bytecode56.pm blib/lib/B/Bytecode56.pm
cp lib/B/CC.pm blib/lib/B/CC.pm
cp lib/B/Disassembler.pm blib/lib/B/Disassembler.pm
cp lib/B/C/Config.pm blib/lib/B/C/Config.pm
cp lib/B/Asmdata.pm blib/lib/B/Asmdata.pm
cp lib/B/Bytecode.pm blib/lib/B/Bytecode.pm
cp lib/B/C.pm blib/lib/B/C.pm
cp perloptree.pod blib/lib/B/perloptree.pod
cp perlcompile.pod blib/lib/B/perlcompile.pod
cp lib/B/Stackobj.pm blib/lib/B/Stackobj.pm
cp lib/B/Bblock.pm blib/lib/B/Bblock.pm
make[1]: Entering directory `/home/scratch/ramesh/perl/B-C-1.57/ByteLoader'
cp ByteLoader.pm ../blib/lib/ByteLoader.pm
cp BcVersions.pod ../blib/lib/BcVersions.pod
Running Mkbootstrap for ByteLoader ()
chmod 644 "ByteLoader.bs"
"perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ByteLoader.bs ../blib/arch/auto/ByteLoader/ByteLoader.bs 644
cc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="0.12" -DXS_VERSION="0.12" -fPIC "-Iperl/lib/5.18.0/x86_64-linux-thread-multi/CORE" byterun.c
"perl/bin/perl" "perl/lib/site_perl/5.18.0/ExtUtils/xsubpp" -noprototypes -typemap 'perl/lib/5.18.0/ExtUtils/typemap' ByteLoader.xs > ByteLoader.xsc
mv ByteLoader.xsc ByteLoader.c
cc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="0.12" -DXS_VERSION="0.12" -fPIC "-Iperl/lib/5.18.0/x86_64-linux-thread-multi/CORE" ByteLoader.c
rm -f ../blib/arch/auto/ByteLoader/ByteLoader.so
cc -shared -O2 -L/usr/local/lib -fstack-protector byterun.o ByteLoader.o -o ../blib/arch/auto/ByteLoader/ByteLoader.so
\

chmod 755 ../blib/arch/auto/ByteLoader/ByteLoader.so
Manifying 2 pod documents
make[1]: Leaving directory /home/scratch/ramesh/perl/B-C-1.57/ByteLoader' make[1]: Entering directory /home/scratch/ramesh/perl/B-C-1.57/Stash'
cp Stash.pm ../blib/lib/B/Stash.pm
Running Mkbootstrap for Stash ()
chmod 644 "Stash.bs"
"perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Stash.bs ../blib/arch/auto/B/Stash/Stash.bs 644
"perl/bin/perl" "perl/lib/site_perl/5.18.0/ExtUtils/xsubpp" -typemap 'perl/lib/5.18.0/ExtUtils/typemap' Stash.xs > Stash.xsc
mv Stash.xsc Stash.c
cc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="1.03" -DXS_VERSION="1.03" -fPIC "-Iperl/lib/5.18.0/x86_64-linux-thread-multi/CORE" Stash.c
rm -f ../blib/arch/auto/B/Stash/Stash.so
cc -shared -O2 -L/usr/local/lib -fstack-protector Stash.o -o ../blib/arch/auto/B/Stash/Stash.so
\

chmod 755 ../blib/arch/auto/B/Stash/Stash.so
Manifying 1 pod document
make[1]: Leaving directory `/home/scratch/ramesh/perl/B-C-1.57/Stash'
Running Mkbootstrap for C ()
chmod 644 "C.bs"
"perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- C.bs blib/arch/auto/B/C/C.bs 644
"perl/bin/perl" "perl/lib/site_perl/5.18.0/ExtUtils/xsubpp" -typemap 'perl/lib/5.18.0/ExtUtils/typemap' -typemap '/home/scratch/ramesh/perl/B-C-1.57/typemap' C.xs > C.xsc
mv C.xsc C.c
cc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="1.57" -DXS_VERSION="1.57" -fPIC "-Iperl/lib/5.18.0/x86_64-linux-thread-multi/CORE" C.c
rm -f blib/arch/auto/B/C/C.so
cc -shared -O2 -L/usr/local/lib -fstack-protector C.o -o blib/arch/auto/B/C/C.so
\

chmod 755 blib/arch/auto/B/C/C.so
"perl/bin/perl" "-Iblib/arch" "-Iblib/lib" script/perlcc.PL script/perlcc
Extracting perlcc (with variable substitutions)
cp script/assemble blib/script/assemble
"perl/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/assemble
cp script/cc_harness blib/script/cc_harness
"perl/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cc_harness
cp script/disassemble blib/script/disassemble
"perl/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/disassemble
cp script/perlcc blib/script/perlcc
"perl/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/perlcc
Manifying 3 pod documents
Manifying 11 pod documents

$ make test

"perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- C.bs blib/arch/auto/B/C/C.bs 644
make[1]: Entering directory /home/scratch/ramesh/perl/B-C-1.57/ByteLoader' "perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ByteLoader.bs ../blib/arch/auto/ByteLoader/ByteLoader.bs 644 Manifying 2 pod documents make[1]: Leaving directory /home/scratch/ramesh/perl/B-C-1.57/ByteLoader'
make[1]: Entering directory /home/scratch/ramesh/perl/B-C-1.57/Stash' "perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Stash.bs ../blib/arch/auto/B/Stash/Stash.bs 644 Manifying 1 pod document make[1]: Leaving directory /home/scratch/ramesh/perl/B-C-1.57/Stash'
make[1]: Entering directory /home/scratch/ramesh/perl/B-C-1.57/ByteLoader' "perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ByteLoader.bs ../blib/arch/auto/ByteLoader/ByteLoader.bs 644 No tests defined for ByteLoader extension. make[1]: Leaving directory /home/scratch/ramesh/perl/B-C-1.57/ByteLoader'
make[1]: Entering directory /home/scratch/ramesh/perl/B-C-1.57/Stash' "perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Stash.bs ../blib/arch/auto/B/Stash/Stash.bs 644 No tests defined for B::Stash extension. make[1]: Leaving directory /home/scratch/ramesh/perl/B-C-1.57/Stash'
PERL_DL_NONLAZY=1 "perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/.t
t/asmdata.t ....... ok
t/assembler.t ..... ok
t/bblock.t ........ Subroutine DynaLoader::croak redefined at (eval 14) line 1.
t/bblock.t ........ ok
t/bytecode.t ...... ok
t/c.t ............. ok
t/c_allow_opts.t .. ok
t/c_argv.t ........ ok
t/c_cross.t ....... Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
script/perlcc: Unexpected compiler output
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
t/c_cross.t ....... 1/9 # Looks like you planned 9 tests but ran 1.
t/c_cross.t ....... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/9 subtests
t/c_o1.t .......... skipped: Only if -d .git
t/c_o2.t .......... skipped: Only if -d .git
t/c_o3.t .......... ok
t/c_o4.t .......... skipped: Only if -d .git
t/cc.t ............ ok
t/cc_last.t ....... ok
t/cc_o1.t ......... skipped: Only if -d .git
t/cc_o2.t ......... skipped: Only if -d .git
t/e_perlcc.t ...... 1/87

Failed test '-S -o pcc -r -e'

at t/e_perlcc.t line 74.

got: ''

expected: 'ok'

Failed test 'keep pcc executable'

at t/e_perlcc.t line 76.

Failed test '-o pcc r -e'

at t/e_perlcc.t line 79.

got: ''

expected: 'ok'

Failed test 'keep pcc executable'

at t/e_perlcc.t line 81.

t/e_perlcc.t ...... 7/87

Failed test '-r -e'

at t/e_perlcc.t line 85.

got: ''

expected: 'ok'

Failed test 'keep default executable'

at t/e_perlcc.t line 92.

Failed test '-o pcc -e'

at t/e_perlcc.t line 96.

Failed test './pcc => ok'

at t/e_perlcc.t line 97.

got: undef

expected: 'ok'

t/e_perlcc.t ...... 12/87

Failed test '-r xs dynamic'

at t/e_perlcc.t line 104.

got: ''

expected: 'ok'

Failed test '-r --staticxs xs'

at t/e_perlcc.t line 111.

got: ''

expected: 'ok'

Failed test 'keep default executable'

at t/e_perlcc.t line 112.

t/e_perlcc.t ...... 17/87

Failed test '-S -o -r --staticxs xs'

at t/e_perlcc.t line 121.

got: ''

expected: 'ok'

Failed test 'keep executable'

at t/e_perlcc.t line 123.

Failed test 'keep pcc.c.lst with -S'

at t/e_perlcc.t line 126.

t/e_perlcc.t ...... 21/87

Failed test '-S -o -r --staticxs without xs'

at t/e_perlcc.t line 130.

got: ''

expected: 'ok'

t/e_perlcc.t ...... 61/87

Failed test '-e"print q(ok)"'

at t/e_perlcc.t line 233.

got: ''

expected: 'ok'

Failed test '-v1'

at t/e_perlcc.t line 235.

'blib/script/perlcc: Calling perl/bin/perl -Iblib/arch -Iblib/lib -I/home/scratch/ramesh/perl/B-C-1.57/blib/lib -I/home/scratch/ramesh/perl/B-C-1.57/blib/arch -MO=C,-opcc4Kz0c.c -e 'print q(ok)'

blib/script/perlcc: Running code ./a.out

'

doesn't match '/ok$/m'

t/e_perlcc.t ...... 64/87

Failed test '-opcc'

at t/e_perlcc.t line 237.

got: ''

expected: 'ok'

t/e_perlcc.t ...... 86/87 # Looks like you failed 18 tests of 87.
t/e_perlcc.t ...... Dubious, test returned 18 (wstat 4608, 0x1200)
Failed 18/87 subtests
t/issue105.t ...... ok
t/issue130.t ...... 1/4

Failed test 'lexsubs compile ok'

at t/issue130.t line 46.

/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status

Failed test 'failed to compile lexsubs run C ok'

at t/TestBC.pm line 1263.

Can't locate object method "STASH" via package "B::NULL" at blib/lib/B/C.pm line 4247.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
t/issue130.t ...... 3/4

Failed test 'failed to compile lexsubs run CC ok'

at t/TestBC.pm line 1263.

Attempt to free nonexistent shared string 'p', Perl interpreter: 0x2131010.
Attempt to free nonexistent shared string 'p', Perl interpreter: 0x2131010.

Looks like you failed 3 tests of 4.

t/issue130.t ...... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/4 subtests
(1 TODO test unexpectedly succeeded)
t/issue141.t ...... ok
t/issue143.t ...... ok
t/issue144.t ...... ok
t/issue148.t ...... ok
t/issue159.t ...... ok
t/issue169.t ...... ok
t/issue172.t ...... ok
t/issue183.t ...... ok
t/issue184.t ...... ok
t/issue185.t ...... ok
t/issue197.t ...... ok
t/issue200.t ...... ok
t/issue201.t ...... skipped: Only if -d .git
t/issue203.t ...... skipped: Only if -d .git
t/issue206.t ...... ok
t/issue208.t ...... ok
t/issue211.t ...... skipped: under harness
t/issue212.t ...... ok
t/issue219.t ...... ok
t/issue220.t ...... ok
t/issue229.t ...... skipped: Only for author
t/issue232.t ...... ok
t/issue234.t ...... ok
t/issue235.t ...... ok
t/issue237.t ...... ok
t/issue238.t ...... ok
t/issue24.t ....... 2/3 blib/script/perlcc: Unexpected compiler output
Warning: Label not found at compile time for "last GETFILE"
t/issue24.t ....... ok
t/issue240.t ...... ok
t/issue242.t ...... ok
t/issue245.t ...... ok
t/issue251.t ...... ok
t/issue256.t ...... ok
t/issue259.t ...... ok
t/issue27.t ....... blib/script/perlcc: Unexpected compiler output
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
Can't exec "./ccodei27_o2": No such file or directory at blib/script/perlcc line 142.
t/issue27.t ....... 1/3

Failed test '-O2 require LWP::UserAgent without -fno-warnings'

at t/issue27.t line 28.

got: ''

expected: 'ok'

blib/script/perlcc: Unexpected compiler output
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
Can't exec "./ccodei27": No such file or directory at blib/script/perlcc line 142.

Failed test 'require LWP::UserAgent -Wb=-fno-warnings,-fno-fold'

at t/issue27.t line 33.

got: ''

expected: 'ok'

blib/script/perlcc: Unexpected compiler output
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
Can't exec "./ccodei27_o3": No such file or directory at blib/script/perlcc line 142.
t/issue27.t ....... 3/3

Failed test '-O3 require LWP::UserAgent'

at t/issue27.t line 36.

got: ''

expected: 'ok'

Looks like you failed 3 tests of 3.

t/issue27.t ....... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests
t/issue272.t ...... ok
t/issue273.t ...... ok
t/issue274.t ...... ok
t/issue2741.t ..... skipped: custom op Dump since 5.19.3
t/issue281.t ...... ok
t/issue282.t ...... ok
t/issue287.t ...... ok
t/issue29.t ....... ok
t/issue293.t ...... skipped: Coro required for testing issue #293
t/issue301.t ...... ok
t/issue305.t ...... 1/3

Failed test 'C #305 compile-time Encode::XS encodings'

at t/TestBC.pm line 1305.

t/issue305.t ...... 3/3

Failed test 'C #365 compile-time Encode subtypes'

at t/TestBC.pm line 1305.

Looks like you failed 2 tests of 3.

t/issue305.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
t/issue306.t ...... ok
t/issue308.t ...... ok
t/issue31.t ....... ok
t/issue312.t ...... blib/script/perlcc: Unexpected compiler output
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
Can't exec "./ccode312i": No such file or directory at blib/script/perlcc line 142.
t/issue312.t ...... 1/2

Failed test '#312 dynamic loading not available in this perl'

at t/issue312.t line 14.

got: ''

expected: 'ok'

blib/script/perlcc: Unexpected compiler output
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
Can't exec "./ccode312i": No such file or directory at blib/script/perlcc line 142.

Failed test '#312'

at t/issue312.t line 16.

got: ''

expected: 'ok'

Looks like you failed 2 tests of 2.

t/issue312.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/issue318.t ...... 1/3 Warning: Label not found at compile time for "last LOOP"
Warning: Label not found at compile time for "last GETFILE"
t/issue318.t ...... 2/3 Wide character in last at ccode318i.pl line 1.
Label not found for "last LOOP" at ccode318i.pl line 1.
t/issue318.t ...... ok
t/issue32.t ....... ok
t/issue330.t ...... ok
t/issue338.t ...... 1/2 Use of the encoding pragma is deprecated at ccode333i_2c_o3.pl line 1.
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status

Failed test 'failed to compile C #333 qr utf8'

at t/TestBC.pm line 1263.

Looks like you failed 1 test of 2.

t/issue338.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/issue34.t ....... ok
t/issue340.t ...... skipped: require Net::DNS and IO::Socket::INET6
t/issue348.t ...... ok
t/issue35.t ....... ok
t/issue350.t ...... skipped: Compile Moose only if -d .git
t/issue354.t ...... ok
t/issue36.t ....... ok
t/issue368.t ...... skipped: EV required for testing issue #368
t/issue369.t ...... skipped: Coro and EV are required for testing issue #369
t/issue37.t ....... ok
t/issue38.t ....... ok
t/issue39.t ....... Warning: Label not found at compile time for "last GETFILE"
t/issue39.t ....... ok
t/issue390.t ...... ok
t/issue391.t ...... ok
t/issue403.t ...... ok
t/issue42.t ....... Warning: Label not found at compile time for "last GETFILE"
t/issue42.t ....... ok
t/issue44.t ....... ok
t/issue45.t ....... skipped: Only if -d .git
t/issue46.t ....... ok
t/issue47.t ....... Warning: Label not found at compile time for "last GETFILE"
t/issue47.t ....... ok
t/issue48.t ....... Warning: Label not found at compile time for "last GETFILE"
t/issue48.t ....... ok
t/issue49.t ....... ok
t/issue50.t ....... Warning: Label not found at compile time for "last GETFILE"
t/issue50.t ....... ok
t/issue51.t ....... ok
t/issue52.t ....... ok
t/issue54.t ....... panic: pad_swipe po=1, fill=0.
t/issue54.t ....... ok
t/issue59.t ....... ok
t/issue68.t ....... ok
t/issue71.t ....... 2/3 Warning: Label not found at compile time for "last GETFILE"
t/issue71.t ....... ok
t/issue76.t ....... ok
t/issue81.t ....... 2/3 Warning: Label not found at compile time for "last GETFILE"
t/issue81.t ....... ok
t/issue90.t ....... 2/15 Warning: Label not found at compile time for "last GETFILE"
t/issue90.t ....... 8/15 Warning: Label not found at compile time for "last GETFILE"
t/issue90.t ....... 14/15 Warning: Label not found at compile time for "last GETFILE"
t/issue90.t ....... ok
t/issue93.t ....... sh: warning: here-document at line 0 delimited by end-of-file (wanted EOF') ccode93ib.pl syntax OK t/issue93.t ....... 1/9 sh: warning: here-document at line 0 delimited by end-of-file (wanted EOF')
Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787.
CHECK failed--call queue aborted.
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
t/issue93.t ....... 2/9 sh: warning: here-document at line 0 delimited by end-of-file (wanted EOF') Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787. CHECK failed--call queue aborted. /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start':
(.text+0x20): undefined reference to main' collect2: error: ld returned 1 exit status t/issue93.t ....... 3/9 ccode93ig.pl syntax OK ccode93ig_5c.pl syntax OK t/issue93.t ....... 5/9 ccode93ig_6cc.pl syntax OK ccode93iw.pl syntax OK Warning: Write BEGIN-block main::$out to FileHandle > &4 ccode93iw_8c.pl syntax OK t/issue93.t ....... 8/9 Warning: Write BEGIN-block main::$out to FileHandle > &4 ccode93iw_9cc.pl syntax OK t/issue93.t ....... ok t/issue95.t ....... 1/5 Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787. CHECK failed--call queue aborted. /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start':
(.text+0x20): undefined reference to main' collect2: error: ld returned 1 exit status t/issue95.t ....... ok t/issue96.t ....... ok t/issue97.t ....... ok t/issue98.t ....... ok t/manifest.t ...... skipped: requires a git checkout and a unix for git and diff t/modules.t ....... blib/script/perlcc: Unexpected compiler output Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787. CHECK failed--call queue aborted. /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start':
(.text+0x20): undefined reference to main' collect2: error: ld returned 1 exit status blib/script/perlcc: Unexpected compiler output Can't locate object method "NAME_HEK" via package "B::CV" at blib/lib/B/C.pm line 3787. CHECK failed--call queue aborted. /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function _start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
t/modules.t ....... skipped: perlcc cannot link XS module Data::Dumper. Most likely wrong ldopts.
t/o.t ............. ok
t/perldoc.t ....... ok
t/sigs.t .......... skipped: no sigs before 5.20
t/stash.t ......... # got = main,DB,mro,Carp,Regexp,warnings,re,PerlIO,Exporter

(after sorting)

got = Carp DB Exporter main mro PerlIO re Regexp warnings

t/stash.t ......... 1/4 # (after perlio censorings)

got = Carp DB Exporter main mro re Regexp warnings

(after platform censorings)

got = Carp DB Exporter main mro re Regexp warnings

t/stash.t ......... ok
t/stashes.t ....... ok
t/z_pod.t ......... ok

Test Summary Report

t/bytecode.t (Wstat: 0 Tests: 50 Failed: 0)
TODO passed: 9-10, 12, 42-43
t/c_cross.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 9 tests but ran 1.
t/e_perlcc.t (Wstat: 4608 Tests: 87 Failed: 18)
Failed tests: 1, 3-4, 6-7, 9-14, 17-18, 20-21, 62-64
Non-zero exit status: 18
t/issue130.t (Wstat: 768 Tests: 4 Failed: 3)
Failed tests: 1-3
TODO passed: 4
Non-zero exit status: 3
t/issue169.t (Wstat: 0 Tests: 3 Failed: 0)
TODO passed: 3
t/issue27.t (Wstat: 768 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
t/issue301.t (Wstat: 0 Tests: 2 Failed: 0)
TODO passed: 2
t/issue305.t (Wstat: 512 Tests: 3 Failed: 2)
Failed tests: 1, 3
Non-zero exit status: 2
t/issue312.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
t/issue338.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
t/issue90.t (Wstat: 0 Tests: 15 Failed: 0)
TODO passed: 5-6
Files=117, Tests=793, 1010 wallclock secs ( 0.41 usr 0.12 sys + 794.26 cusr 64.78 csys = 859.57 CPU)
Result: FAIL
Failed 7/117 test programs. 29/793 subtests failed.
make: *** [test_dynamic] Error 255

@rurban
Copy link
Owner

rurban commented Aug 25, 2021

Missing NAME_HEK in 5.18. I'll check

@rurban rurban self-assigned this Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants