Closed hakonhagland closed 4 months ago
System info: Windows 10, MSYS2, perl version 5.32.0.
$ make test PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/compare.t .. 1/3 /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERnh1Y/TESTbKP2.o:TESTbKP2.c:(.text+0x21): undefined reference to `Perl_newSViv' HASCOMPILERnh1Y/TESTbKP2.o:TESTbKP2.c:(.text+0x21): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newSViv' /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERnh1Y/TESTbKP2.o:TESTbKP2.c:(.text+0x37): undefined reference to `Perl_sv_2mortal' HASCOMPILERnh1Y/TESTbKP2.o:TESTbKP2.c:(.text+0x37): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_sv_2mortal' /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERnh1Y/TESTbKP2.o:TESTbKP2.c:(.text+0x6b): undefined reference to `Perl_newXS' HASCOMPILERnh1Y/TESTbKP2.o:TESTbKP2.c:(.text+0x6b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newXS' collect2: error: ld returned 1 exit status t/compare.t .. 2/3 # Failed test 'MakeMaker agrees we can't compile dynamic' # at t/compare.t line 67. # got: undef # expected: '1' # Couldn't execute g++ HASCOMPILERnh1Y/TESTbKP2.o -o HASCOMPILERnh1Y/TESTbKP2.dll --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong : at t/compare.t line 64. /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERnh1Y/TEST7Rr9.o:TEST7Rr9.c:(.text+0x21): undefined reference to `Perl_newSViv' HASCOMPILERnh1Y/TEST7Rr9.o:TEST7Rr9.c:(.text+0x21): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newSViv' /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERnh1Y/TEST7Rr9.o:TEST7Rr9.c:(.text+0x37): undefined reference to `Perl_sv_2mortal' HASCOMPILERnh1Y/TEST7Rr9.o:TEST7Rr9.c:(.text+0x37): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_sv_2mortal' /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERnh1Y/TEST7Rr9.o:TEST7Rr9.c:(.text+0x6b): undefined reference to `Perl_newXS' HASCOMPILERnh1Y/TEST7Rr9.o:TEST7Rr9.c:(.text+0x6b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newXS' collect2: error: ld returned 1 exit status t/compare.t .. 3/3 # Failed test 'MakeMaker agrees we can't compile default' # at t/compare.t line 67. # got: undef # expected: '1' # Couldn't execute g++ HASCOMPILERnh1Y/TEST7Rr9.o -o HASCOMPILERnh1Y/TEST7Rr9.dll --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong : at t/compare.t line 64. # Looks like you failed 2 tests of 3. t/compare.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests Test Summary Report ------------------- t/compare.t (Wstat: 512 Tests: 3 Failed: 2) Failed tests: 2-3 Non-zero exit status: 2 Files=1, Tests=3, 38 wallclock secs ( 0.05 usr 0.08 sys + 6.13 cusr 8.57 csys = 14.82 CPU) Result: FAIL Failed 1/1 test programs. 2/3 subtests failed. make: *** [Makefile:878: test_dynamic] Error 2
System info: Windows 10, MSYS2, perl version 5.32.0.