Skip to content

Test suite fail on Ubuntu 18.04 #1

Description

@eserte

On a Ubuntu 18.04 system with libgccjit-7-dev installed the test suite fails:

...
ld: cannot find crtbeginS.o: No such file or directory
ld: cannot find -lgcc
ld: cannot find -lgcc_s
libgccjit.so: error: error invoking gcc driver
GCCJIT::gcc_jit_result_get_code: result is not of type gcc_jit_resultPtr at t/02-simple.t line 21.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 1.
t/02-simple.t ....... 
Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed 
ld: cannot find crtbeginS.o: No such file or directory
ld: cannot find -lgcc
ld: cannot find -lgcc_s
libgccjit.so: error: error invoking gcc driver
GCCJIT::gcc_jit_result_get_code: result is not of type gcc_jit_resultPtr at t/03-gcd.t line 41.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 1.
t/03-gcd.t .......... 
Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed 
t/04-wrapper.t ...... ok
ld: cannot find crtbeginS.o: No such file or directory
ld: cannot find -lgcc
ld: cannot find -lgcc_s
libgccjit.so: error: error invoking gcc driver
Can't call method "get_code" on an undefined value at t/05-wrapper-gcd.t line 41.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 2.
t/05-wrapper-gcd.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
All 2 subtests passed 
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions