Ticket #2084 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago

t/src/extend_vtable.t fails all tests with g++ build

Reported by: mikehh Owned by: dukeleto
Priority: normal Milestone:
Component: embed/extend Version: 3.2.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

As of RELEASE_3_2_0-127-gbe94864 the test fails when parrot is built with g++

prove -v t/src/extend_vtable.t ->

mhu@mhu-desktop:~/parrot$ date
Fri Apr  1 19:25:48 BST 2011
mhu@mhu-desktop:~/parrot$ prove -v t/src/extend_vtable.t
t/src/extend_vtable.t .. 
1..89
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_1.o t/src/extend_vtable_1.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_1.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
not ok 1 - Parrot_PMC_exists_keyed_int

#   Failed test 'Parrot_PMC_exists_keyed_int'
#   at t/src/extend_vtable.t line 154.
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_2.o t/src/extend_vtable_2.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_2.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
not ok 2 - Parrot_PMC_exists_keyed

#   Failed test 'Parrot_PMC_exists_keyed'
#   at t/src/extend_vtable.t line 162.
...
...
# 'g++  -D_GNU_SOURCE -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTIBUTE_HOT  -DHASATTRIBUTE_COLD  -DDISABLE_GC_DEBUG=1 -DNDEBUG -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/rc/extend_vtable_89.o t/src/extend_vtable_89.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_89.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
not ok 89 - Parrot_PMC_assign_pmc

#   Failed test 'Parrot_PMC_assign_pmc'
#   at t/src/extend_vtable.t line 1435.
# Looks like you failed 89 tests of 89.
Dubious, test returned 89 (wstat 22784, 0x5900)
Failed 89/89 subtests 

Test Summary Report
-------------------
t/src/extend_vtable.t (Wstat: 22784 Tests: 89 Failed: 89)
  Failed tests:  1-89
  Non-zero exit status: 89
Files=1, Tests=89,  9 wallclock secs ( 0.15 usr  0.02 sys +  6.41 cusr  1.43 csys =  8.01 CPU)
Result: FAIL
mhu@mhu-desktop:~/parrot$ date
Fri Apr  1 19:28:00 BST 2011

in essence the output for the other tests is the same except for:

...
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_5.o t/src/extend_vtable_5.c' failed with exit code 1                                                                                                                                                                  
# Failed to build 't/src/extend_vtable_5.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:130:53: error: invalid conversion from ‘int’ to ‘void*’
# t/src/extend_vtable.t:130:53: error:   initializing argument 3 of ‘void Parrot_PMC_set_pointer(parrot_interp_t*, PMC*, void*)’
not ok 5 - Parrot_PMC_set_pointer

#   Failed test 'Parrot_PMC_set_pointer'
#   at t/src/extend_vtable.t line 189.
...
...
not ok 10 - Parrot_PMC_get_string_keyed_int
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_10.o t/src/extend_vtable_10.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_10.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:130:66: error: invalid conversion from ‘PMC*’ to ‘Parrot_Int’
# t/src/extend_vtable.t:130:66: error:   initializing argument 3 of ‘parrot_string_t* Parrot_PMC_get_string_keyed_int(parrot_interp_t*, PMC*, Parrot_Int)’

#   Failed test 'Parrot_PMC_get_string_keyed_int'
#   at t/src/extend_vtable.t line 240.
...
...
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_15.o t/src/extend_vtable_15.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_15.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:130:64: error: invalid conversion from ‘PMC*’ to ‘Parrot_Int’
# t/src/extend_vtable.t:130:64: error:   initializing argument 3 of ‘Parrot_Int Parrot_PMC_defined_keyed_int(parrot_interp_t*, PMC*, Parrot_Int)’
not ok 15 - Parrot_PMC_defined_keyed_int

#   Failed test 'Parrot_PMC_defined_keyed_int'
#   at t/src/extend_vtable.t line 292.
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_16.o t/src/extend_vtable_16.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_16.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:133:65: error: invalid conversion from ‘PMC*’ to ‘Parrot_Int’
# t/src/extend_vtable.t:133:65: error:   initializing argument 3 of ‘void Parrot_PMC_set_number_keyed_int(parrot_interp_t*, PMC*, Parrot_Int, Parrot_Float)’
# t/src/extend_vtable.t:134:67: error: invalid conversion from ‘PMC*’ to ‘Parrot_Int’
# t/src/extend_vtable.t:134:67: error:   initializing argument 3 of ‘Parrot_Float Parrot_PMC_get_number_keyed_int(parrot_interp_t*, PMC*, Parrot_Int)’
not ok 16 - Parrot_PMC_(set|get)_number_keyed_int

#   Failed test 'Parrot_PMC_(set|get)_number_keyed_int'
#   at t/src/extend_vtable.t line 300.
...
...
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_47.o t/src/extend_vtable_47.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_47.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:136:27: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Parrot_Int’
not ok 47 - Parrot_PMC_floor_divide_int

#   Failed test 'Parrot_PMC_floor_divide_int'
#   at t/src/extend_vtable.t line 749.
...
...
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_49.o t/src/extend_vtable_49.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_49.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:141:27: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Parrot_Int’
not ok 49 - Parrot_PMC_multiply_int

#   Failed test 'Parrot_PMC_multiply_int'
#   at t/src/extend_vtable.t line 786.
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_50.o t/src/extend_vtable_50.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_50.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:140:27: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Parrot_Int’
not ok 50 - Parrot_PMC_i_multiply
#   Failed test 'Parrot_PMC_i_multiply'
#   at t/src/extend_vtable.t line 804.
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_51.o t/src/extend_vtable_51.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_51.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:140:27: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Parrot_Int’
not ok 51 - Parrot_PMC_i_multiply_int

#   Failed test 'Parrot_PMC_i_multiply_int'
#   at t/src/extend_vtable.t line 821.
...
...
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_57.o t/src/extend_vtable_57.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_57.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:140:27: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Parrot_Int’
not ok 57 - Parrot_PMC_divide_int

#   Failed test 'Parrot_PMC_divide_int'
#   at t/src/extend_vtable.t line 914.
...
...
# '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 -I/usr/lib/llvm-2.8/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g  -fomit-frame-pointer -fPIC -DHAS_GETTEXT     -I./include -c -o t/src/extend_vtable_60.o t/src/extend_vtable_60.c' failed with exit code 1
# Failed to build 't/src/extend_vtable_60.o': t/src/extend_vtable.t: In function ‘void dotest(parrot_interp_t*, void*)’:
# t/src/extend_vtable.t:113:36: error: ‘Parrot_hash_new’ was not declared in this scope
# t/src/extend_vtable.t:117:50: error: ‘Parrot_key_new_integer’ was not declared in this scope
# t/src/extend_vtable.t:118:55: error: ‘Parrot_key_new_cstring’ was not declared in this scope
# t/src/extend_vtable.t:136:25: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Parrot_Int’
# t/src/extend_vtable.t:138:25: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Parrot_Int’
not ok 60 - Parrot_PMC_i_modulus

#   Failed test 'Parrot_PMC_i_modulus'
#   at t/src/extend_vtable.t line 967.
...
...

Change History

follow-up: ↓ 4   Changed 11 years ago by jkeenan

I too, got complete failures on this test on linux/i386 when I built with "g++ all around." I got complete success on the same box with "gcc all around."

On Darwin/PPC, I typically build with --cc=gcc --link=g++ --ld=g++. Doing so, I got 1 failure in this file:

#   Failed test 'Parrot_PMC_find_method'
#   at t/src/extend_vtable.t line 170.
# Exited with error code: [SIGNAL 6]
# Received:
# src/oo.c:975: failed assertion 'method_name'
# 
# Expected:
# 42
# Done!
# 
# Looks like you failed 1 test of 89.
t/src/extend_vtable.t .. 
1..89
ok 1 - Parrot_PMC_exists_keyed_int
ok 2 - Parrot_PMC_exists_keyed
not ok 3 - Parrot_PMC_find_method
ok 4 - Parrot_PMC_splice

  Changed 11 years ago by jkeenan

  • owner set to dukeleto

duke, I believe these problems arose on a file you were working on. Can you take a look?

Thanks.

kid51

  Changed 11 years ago by lucian

On Mac OS X 10.6.6 intel, I get this

t/src/extend_vtable.........................ok 1/89                          
#   Failed test 'Parrot_PMC_exists_keyed'
#   at t/src/extend_vtable.t line 162.
# Exited with error code: [SIGNAL 11]
# Received:
# 
# Expected:
# 0
# Done!
# 
t/src/extend_vtable.........................ok 7/89                          
#   Failed test 'Parrot_PMC_set_pmc_keyed'
#   at t/src/extend_vtable.t line 225.
# Exited with error code: [SIGNAL 11]
# Received:
# 
# Expected:
# Done!
# 
t/src/extend_vtable.........................ok 10/89                         
#   Failed test 'Parrot_PMC_(set|get)_number_keyed'
#   at t/src/extend_vtable.t line 248.
# Exited with error code: [SIGNAL 11]
# Received:
# 
# Expected:
# 42.00
# Done!
# 
t/src/extend_vtable.........................NOK 11/89                        
t/src/extend_vtable.........................NOK 13/89#   Failed test 'Parrot_PMC_(set|get)_integer_keyed'
#   at t/src/extend_vtable.t line 266.
# Exited with error code: [SIGNAL 11]
# Received:
# 
# Expected:
# 42
# Done!
# 
t/src/extend_vtable.........................ok 89/89# Looks like you failed 4 tests of 89.
t/src/extend_vtable.........................dubious                          
	Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 2, 8, 11, 13
	Failed 4/89 tests, 95.51% okay

in reply to: ↑ 1   Changed 11 years ago by jkeenan

Replying to jkeenan:

On Darwin/PPC, I typically build with --cc=gcc --link=g++ --ld=g++. Doing so, I got 1 failure in this file:

Same failure persists on this platform at commit f64d5323d2a.

  Changed 11 years ago by mikehh

as of 3_2_0-146-g4ce2047

there has been no change with g++ builds - they blow up completely.

with gcc on Ubuntu 11.04 i386 beta there is no problem with an --optimize build, however I get a failure without --optimize.

prove t/src/extend_vtable.t
t/src/extend_vtable.t .. 1/89
#   Failed test 'Parrot_PMC_find_method'
#   at t/src/extend_vtable.t line 170.
# Exited with error code: [SIGNAL 139]
# Received:
#
# Expected:
# 42
# Done!
#
t/src/extend_vtable.t .. 87/89 # Looks like you failed 1 test of 89.
t/src/extend_vtable.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/89 subtests

Test Summary Report
-------------------
t/src/extend_vtable.t (Wstat: 256 Tests: 89 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=1, Tests=89, 29 wallclock secs ( 0.11 usr  0.01 sys + 22.10 cusr  6.24 csys = 28.46 CPU)
Result: FAIL

I got similar results on Ubuntu 10.10 i386 - except with the standard build (no --optimize) it returned SIGNAL 11 - which is a Segmentation fault (SIGNAL 139 is a Segmentation Violation).

Cheers Michael (mikehh)

  Changed 11 years ago by benabik

On OS X 10.7 using gcc and configure flags optimize --debugging=0 --gc=gms --ccflags="-DPARROT_GC_VALIDATE", I get failures in tests 2, 8, 11 & 13. All signal 11.

follow-up: ↓ 8   Changed 11 years ago by nwellnhof

Should be fixed in e5f7752.

in reply to: ↑ 7 ; follow-up: ↓ 9   Changed 11 years ago by jkeenan

  • component changed from none to embed/extend

Replying to nwellnhof:

Should be fixed in e5f7752.

Not quite. On Darwin/PPC (where gcc is used for build and g++ for link and ld), I'm still getting one test failure:

not ok 15 - Parrot_PMC_get_string_keyed_str

#   Failed test 'Parrot_PMC_get_string_keyed_str'
#   at t/src/extend_vtable.t line 285.
# Exited with error code: [SIGNAL 6]
# Received:
# src/hash.c:1704: failed assertion 'key'
# 
# Expected:
# 
# Done!
# 
$ git show | head -1
commit 0631c0fdfacde82e78c2facb1eb73c1afe437fc8

However, I am pleased to report that when I build with g++ all-around on Linux/i386, all tests in this file pass.

Thank you very much.

kid51

in reply to: ↑ 8 ; follow-up: ↓ 10   Changed 11 years ago by jkeenan

Replying to jkeenan:

Replying to nwellnhof:

Should be fixed in e5f7752.

Not quite. On Darwin/PPC (where gcc is used for build and g++ for link and ld), I'm still getting one test failure:

Persists on this platform at 6c64494fd8.

in reply to: ↑ 9 ; follow-up: ↓ 11   Changed 11 years ago by jkeenan

Replying to jkeenan:

Replying to jkeenan:

Replying to nwellnhof:

Should be fixed in e5f7752.

Not quite. On Darwin/PPC (where gcc is used for build and g++ for link and ld), I'm still getting one test failure:

Persists on this platform at 6c64494fd8.

Is anyone going to handle this problem before the 3.3 release? If not, then we will have to TODO the test with a reference to this Trac ticket.

Thank you very much.

kid51

in reply to: ↑ 10 ; follow-up: ↓ 12   Changed 11 years ago by jkeenan

Replying to jkeenan:

Is anyone going to handle this problem before the 3.3 release? If not, then we will have to TODO the test with a reference to this Trac ticket.

Fortunately, a one-line fix from dukeleto appears to have done the trick:

$ git log t/src/extend_vtable.t
commit 704435d21f341a5c2bbf8e953fafc5f4a867165d
Author: Jonathan "Duke" Leto <jonathan@leto.net>
Date:   Sat Apr 16 11:23:35 2011 -0700

$ prove t/src/extend_vtable.t 
t/src/extend_vtable.t .. ok     
All tests successful.
Files=1, Tests=90, 160 wallclock secs 
  ( 0.21 usr  0.07 sys + 19.52 cusr 21.74 csys = 41.54 CPU)
Result: PASS

I'm going to try with an all g++ build now.

Thank you very much.

kid51

in reply to: ↑ 11   Changed 11 years ago by jkeenan

  • status changed from new to closed
  • resolution set to fixed

Replying to jkeenan:

I'm going to try with an all g++ build now.

I've tested this on both machines available to me, under several different configuration combinations. The test passes. On IRC no one has presented any new failures and dukeleto's recommendation is to close the ticket. Doing so now.

Thank you very much.

kid51

Note: See TracTickets for help on using tickets.