Subject: | Test failures in ppm.t and xs.t without dynamic loading |
In a perl configured without dynamic loading (i.e. with -Uusedl), the
test files lib/Module/Built/ppm.t and lib/Module/Build/xs.t fail while
trying to build extensions.
Subject: | xs-fail.txt |
Message body is not shown because it is too large.
Subject: | ppm-fail.txt |
ld: warning: cannot find entry symbol _start; defaulting to 0000000008048074
lib/Simple.o: In function `XS_Simple_okay':
Simple.c:(.text+0x7): undefined reference to `PL_stack_sp'
Simple.c:(.text+0x10): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0x1d): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0x23): undefined reference to `PL_stack_base'
Simple.c:(.text+0x61): undefined reference to `Perl_croak'
Simple.c:(.text+0x75): undefined reference to `Perl_newSVpv'
Simple.c:(.text+0x7e): undefined reference to `PL_stack_base'
Simple.c:(.text+0x91): undefined reference to `PL_stack_base'
Simple.c:(.text+0xa4): undefined reference to `Perl_sv_2mortal'
Simple.c:(.text+0xb1): undefined reference to `PL_stack_base'
Simple.c:(.text+0xcd): undefined reference to `PL_stack_sp'
lib/Simple.o: In function `XS_Simple_xs_version':
Simple.c:(.text+0xda): undefined reference to `PL_stack_sp'
Simple.c:(.text+0xe3): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0xf0): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0xf6): undefined reference to `PL_stack_base'
Simple.c:(.text+0x134): undefined reference to `Perl_croak'
Simple.c:(.text+0x139): undefined reference to `PL_op'
Simple.c:(.text+0x14d): undefined reference to `PL_curpad'
Simple.c:(.text+0x152): undefined reference to `PL_op'
Simple.c:(.text+0x167): undefined reference to `Perl_sv_newmortal'
Simple.c:(.text+0x189): undefined reference to `Perl_sv_setpv'
Simple.c:(.text+0x18f): undefined reference to `PL_stack_base'
Simple.c:(.text+0x1be): undefined reference to `Perl_mg_set'
Simple.c:(.text+0x1d7): undefined reference to `PL_stack_base'
Simple.c:(.text+0x1f3): undefined reference to `PL_stack_sp'
lib/Simple.o: In function `XS_Simple_version':
Simple.c:(.text+0x200): undefined reference to `PL_stack_sp'
Simple.c:(.text+0x209): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0x216): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0x21c): undefined reference to `PL_stack_base'
Simple.c:(.text+0x25a): undefined reference to `Perl_croak'
Simple.c:(.text+0x25f): undefined reference to `PL_op'
Simple.c:(.text+0x273): undefined reference to `PL_curpad'
Simple.c:(.text+0x278): undefined reference to `PL_op'
Simple.c:(.text+0x28d): undefined reference to `Perl_sv_newmortal'
Simple.c:(.text+0x2af): undefined reference to `Perl_sv_setpv'
Simple.c:(.text+0x2b5): undefined reference to `PL_stack_base'
Simple.c:(.text+0x2e4): undefined reference to `Perl_mg_set'
Simple.c:(.text+0x2fd): undefined reference to `PL_stack_base'
Simple.c:(.text+0x319): undefined reference to `PL_stack_sp'
lib/Simple.o: In function `boot_Simple':
Simple.c:(.text+0x326): undefined reference to `PL_stack_sp'
Simple.c:(.text+0x32f): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0x33c): undefined reference to `PL_markstack_ptr'
Simple.c:(.text+0x342): undefined reference to `PL_stack_base'
Simple.c:(.text+0x372): undefined reference to `PL_stack_base'
Simple.c:(.text+0x38f): undefined reference to `PL_stack_base'
Simple.c:(.text+0x3a8): undefined reference to `PL_stack_base'
Simple.c:(.text+0x3cb): undefined reference to `Perl_sv_2pv_flags'
Simple.c:(.text+0x3e0): undefined reference to `PL_stack_base'
Simple.c:(.text+0x417): undefined reference to `Perl_form'
Simple.c:(.text+0x427): undefined reference to `Perl_get_sv'
Simple.c:(.text+0x484): undefined reference to `Perl_form'
Simple.c:(.text+0x494): undefined reference to `Perl_get_sv'
Simple.c:(.text+0x4b5): undefined reference to `Perl_newSVpv'
Simple.c:(.text+0x4c3): undefined reference to `Perl_new_version'
Simple.c:(.text+0x4d9): undefined reference to `Perl_sv_derived_from'
Simple.c:(.text+0x4e8): undefined reference to `Perl_new_version'
Simple.c:(.text+0x4fd): undefined reference to `Perl_vcmp'
Simple.c:(.text+0x510): undefined reference to `Perl_vstringify'
Simple.c:(.text+0x574): undefined reference to `Perl_vstringify'
Simple.c:(.text+0x5ae): undefined reference to `Perl_croak'
Simple.c:(.text+0x5c9): undefined reference to `Perl_newXS'
Simple.c:(.text+0x5e4): undefined reference to `Perl_newXS'
Simple.c:(.text+0x5ff): undefined reference to `Perl_newXS'
Simple.c:(.text+0x604): undefined reference to `PL_unitcheckav'
Simple.c:(.text+0x60d): undefined reference to `PL_unitcheckav'
Simple.c:(.text+0x613): undefined reference to `PL_scopestack_ix'
Simple.c:(.text+0x61f): undefined reference to `Perl_call_list'
Simple.c:(.text+0x625): undefined reference to `PL_stack_base'
Simple.c:(.text+0x634): undefined reference to `PL_sv_yes'
Simple.c:(.text+0x641): undefined reference to `PL_stack_base'
Simple.c:(.text+0x65d): undefined reference to `PL_stack_sp'
error building blib/arch/auto/Simple/Simple.none from lib/Simple.o at /dev/shm/perl-andy/t/../lib/ExtUtils/CBuilder/Base.pm line 212.
# Looks like you planned 13 tests but ran 2.
# Looks like your test exited with 2 just after 2.
../lib/Module/Build/t/ppm.t ..
1..13
ok 1 # SKIP no blib in core
ok 2
Dubious, test returned 2 (wstat 512, 0x200)
Failed 11/13 subtests
(less 1 skipped subtest: 1 okay)
Test Summary Report
-------------------
../lib/Module/Build/t/ppm.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 13 tests but ran 2.
Files=1, Tests=2, 1 wallclock secs ( 0.06 usr 0.00 sys + 0.54 cusr 0.02 csys = 0.62 CPU)
Result: FAIL
Failed 1/1 test programs. 0/2 subtests failed.