#2149: t/src/embed/api.t
--------------------------+-------------------------------------------------
Reporter: jkeenan | Owner: whiteknight
Type: bug | Status: new
Priority: major | Milestone:
Component: embed/extend | Version: 3.5.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------------+-------------------------------------------------
Observed on linux/i386. Test 6 passes with an "all GCC, non-optimized
build," but fails when I configure like this:
{{{
$ grep configure_args lib/Parrot/Config/Generated.pm
'configure_args' => '"--cc=g++" "--link=g++" "--ld=g++" "--optimize"',
}}}
I observe this in both master and the hllmap_fixed branch, which suggests
the error first occurred before that branch was forked from master.
Thank you very much.
kid51
{{{
# 'g++ -D_GNU_SOURCE -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED
-DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN
-DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD
-DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -I./include -c -o
t/src/embed/api_6.o t/src/embed/api_6.c' failed with exit code 1
# Failed to build 't/src/embed/api_6.o': t/src/embed/api.t: In function
'int main()':
# t/src/embed/api.t:294: error: cannot convert 'PMC**' to
'parrot_string_t**' for argument '3' to 'Parrot_Int
Parrot_api_get_exception_backtrace(PMC*, PMC*, parrot_string_t**)'
# Failed test 'Parrot_api_get_exception_backtrace'
# at t/src/embed/api.t line 268.
# Looks like you failed 1 test of 8.
t/src/embed/api.t ..
1..8
ok 1 - get set compiler
ok 2 - Parrot_api_serialize_bytecode_pmc
ok 3 - Parrot_api_set_runcore: invalid runcore
ok 4 - Parrot_api_reset_call_signature
ok 5 - Parrot_api_set_runcore
not ok 6 - Parrot_api_get_exception_backtrace
ok 7 - Parrot_api_(un)wrap_pointer
ok 8 - Parrot_api_reset_call_signature
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
Test Summary Report
-------------------
t/src/embed/api.t (Wstat: 256 Tests: 8 Failed: 1)
Failed test: 6
Non-zero exit status: 1
Files=1, Tests=8, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.61 cusr
0.24 csys = 0.88 CPU)
Result: FAIL
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/2149>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets