Re[2]: [Gc] Powerpc/m68k issue running test_stack

Thorsten Glaser tg at mirbsd.de
Sun Sep 23 04:07:35 PDT 2012


Ivan Maidanski dixit:

>1. Could you please verify that the problem exists in the recent libatomic_ops-7.2:

Yes, it does (see attached file).

Cannot test in master due to:

root at aranym:~/libatomic_ops-master # mksh autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:14: installing `./compile'
configure.ac:5: installing `./config.guess'
configure.ac:5: installing `./config.sub'
configure.ac:8: installing `./install-sh'
configure.ac:8: installing `./missing'
src/Makefile.am: installing `./depcomp'
configure.ac:166: required file `pkgconfig/atomic_ops-uninstalled.pc.in' not found
autoreconf: automake failed with exit status: 1
1|root at aranym:~/libatomic_ops-master # ls pkgconfig/
atomic_ops.pc.in

>2. If the problem exits (either in v7.2 or 7.3alpha) and it is a
>regression, please point me to the version you compare with.

No idea about that, I’ve not been doing m68k work for “very long”,
and I usually build without the tests just to get things doing.
But with an ARAnyM instance or two of your own, it’s easy enough
to look yourself, I guess, gdb works. (Do make sure to use the
current 0.9.13-3.1 upload or a backport thereof, I’ve got backports
for e.g. Kubuntu hardy and lucid on hand if needed.)

bye,
//mirabilos
-- 
«MyISAM tables -will- get corrupted eventually. This is a fact of life. »
“mysql is about as much database as ms access” – “MSSQL at least descends
from a database” “it's a rebranded SyBase” “MySQL however was born from a
flatfile and went downhill from there” – “at least jetDB doesn’t claim to
be a database”	-- Tonnerre, psychoschlumpf and myself in #nosec
-------------- next part --------------
root at aranym:~/libatomic_ops-7_2 # mksh configure && make check
checking build system type... m68k-unknown-linux-gnu
checking host system type... m68k-unknown-linux-gnu
checking target system type... m68k-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for ANSI C header files... (cached) yes
checking for PIC compiler flag... -fPIC
checking whether gcc -fPIC causes __PIC__ definition... yes
checking for pthread_self in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgconfig/atomic_ops.pc
config.status: creating pkgconfig/atomic_ops-uninstalled.pc
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/atomic_ops/Makefile
config.status: creating src/atomic_ops/sysdeps/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing default commands
Making check in src
make[1]: Entering directory `/root/libatomic_ops-7_2/src'
Making check in atomic_ops
make[2]: Entering directory `/root/libatomic_ops-7_2/src/atomic_ops'
Making check in sysdeps
make[3]: Entering directory `/root/libatomic_ops-7_2/src/atomic_ops/sysdeps'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/libatomic_ops-7_2/src/atomic_ops/sysdeps'
make[3]: Entering directory `/root/libatomic_ops-7_2/src/atomic_ops'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/root/libatomic_ops-7_2/src/atomic_ops'
make[2]: Leaving directory `/root/libatomic_ops-7_2/src/atomic_ops'
make[2]: Entering directory `/root/libatomic_ops-7_2/src'
gcc -DHAVE_CONFIG_H -I.  -I../src -I../src  -fPIC -g -O2 -DNDEBUG -MT atomic_ops.o -MD -MP -MF .deps/atomic_ops.Tpo -c -o atomic_ops.o atomic_ops.c
mv -f .deps/atomic_ops.Tpo .deps/atomic_ops.Po
rm -f libatomic_ops.a
ar cru libatomic_ops.a atomic_ops.o
ranlib libatomic_ops.a
gcc -DHAVE_CONFIG_H -I.  -I../src -I../src  -fPIC -g -O2 -DNDEBUG -MT atomic_ops_stack.o -MD -MP -MF .deps/atomic_ops_stack.Tpo -c -o atomic_ops_stack.o atomic_ops_stack.c
mv -f .deps/atomic_ops_stack.Tpo .deps/atomic_ops_stack.Po
gcc -DHAVE_CONFIG_H -I.  -I../src -I../src  -fPIC -g -O2 -DNDEBUG -MT atomic_ops_malloc.o -MD -MP -MF .deps/atomic_ops_malloc.Tpo -c -o atomic_ops_malloc.o atomic_ops_malloc.c
mv -f .deps/atomic_ops_malloc.Tpo .deps/atomic_ops_malloc.Po
rm -f libatomic_ops_gpl.a
ar cru libatomic_ops_gpl.a atomic_ops_stack.o atomic_ops_malloc.o
ranlib libatomic_ops_gpl.a
make[2]: Leaving directory `/root/libatomic_ops-7_2/src'
make[1]: Leaving directory `/root/libatomic_ops-7_2/src'
Making check in doc
make[1]: Entering directory `/root/libatomic_ops-7_2/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/libatomic_ops-7_2/doc'
Making check in tests
make[1]: Entering directory `/root/libatomic_ops-7_2/tests'
gcc -DHAVE_CONFIG_H -I. -I../src  -I../src -I../src   -g -O2 -DNDEBUG list_atomic.c -E > list_atomic.i
make  check-am
make[2]: Entering directory `/root/libatomic_ops-7_2/tests'
make  test_atomic test_atomic_pthreads test_stack test_malloc
make[3]: Entering directory `/root/libatomic_ops-7_2/tests'
gcc -DHAVE_CONFIG_H -I. -I../src  -I../src -I../src   -g -O2 -DNDEBUG -MT test_atomic.o -MD -MP -MF .deps/test_atomic.Tpo -c -o test_atomic.o test_atomic.c
mv -f .deps/test_atomic.Tpo .deps/test_atomic.Po
gcc  -g -O2 -DNDEBUG   -o test_atomic test_atomic.o -lpthread ../src/libatomic_ops.a
gcc -DHAVE_CONFIG_H -I. -I../src  -DAO_USE_PTHREAD_DEFS -I../src -I../src   -g -O2 -DNDEBUG -MT test_atomic_pthreads-test_atomic.o -MD -MP -MF .deps/test_atomic_pthreads-test_atomic.Tpo -c -o test_atomic_pthreads-test_atomic.o `test -f 'test_atomic.c' || echo './'`test_atomic.c
mv -f .deps/test_atomic_pthreads-test_atomic.Tpo .deps/test_atomic_pthreads-test_atomic.Po
gcc  -g -O2 -DNDEBUG   -o test_atomic_pthreads test_atomic_pthreads-test_atomic.o -lpthread ../src/libatomic_ops.a
gcc -DHAVE_CONFIG_H -I. -I../src  -I../src -I../src   -g -O2 -DNDEBUG -MT test_stack.o -MD -MP -MF .deps/test_stack.Tpo -c -o test_stack.o test_stack.c
mv -f .deps/test_stack.Tpo .deps/test_stack.Po
gcc  -g -O2 -DNDEBUG   -o test_stack test_stack.o -lpthread ../src/libatomic_ops_gpl.a ../src/libatomic_ops.a
gcc -DHAVE_CONFIG_H -I. -I../src  -I../src -I../src   -g -O2 -DNDEBUG -MT test_malloc.o -MD -MP -MF .deps/test_malloc.Tpo -c -o test_malloc.o test_malloc.c
mv -f .deps/test_malloc.Tpo .deps/test_malloc.Po
gcc  -g -O2 -DNDEBUG   -o test_malloc test_malloc.o -lpthread ../src/libatomic_ops_gpl.a ../src/libatomic_ops.a
make[3]: Leaving directory `/root/libatomic_ops-7_2/tests'
make  check-TESTS
make[3]: Entering directory `/root/libatomic_ops-7_2/tests'
Missing: AO_short_fetch_and_add
Missing: AO_short_fetch_and_add1
Missing: AO_short_fetch_and_sub1
Missing: AO_char_fetch_and_add
Missing: AO_char_fetch_and_add1
Missing: AO_char_fetch_and_sub1
Missing: AO_compare_double_and_swap_double
Missing: AO_compare_and_swap_double
Missing: AO_nop_acquire
Missing: AO_store_acquire
Missing: AO_short_store_acquire
Missing: AO_short_fetch_and_add_acquire
Missing: AO_short_fetch_and_add1_acquire
Missing: AO_short_fetch_and_sub1_acquire
Missing: AO_char_store_acquire
Missing: AO_char_fetch_and_add_acquire
Missing: AO_char_fetch_and_add1_acquire
Missing: AO_char_fetch_and_sub1_acquire
Missing: AO_int_store_acquire
Missing: AO_compare_double_and_swap_double_acquire
Missing: AO_compare_and_swap_double_acquire
Missing: AO_nop_release
Missing: AO_load_release
Missing: AO_short_load_release
Missing: AO_short_fetch_and_add_release
Missing: AO_short_fetch_and_add1_release
Missing: AO_short_fetch_and_sub1_release
Missing: AO_char_load_release
Missing: AO_char_fetch_and_add_release
Missing: AO_char_fetch_and_add1_release
Missing: AO_char_fetch_and_sub1_release
Missing: AO_int_load_release
Missing: AO_compare_double_and_swap_double_release
Missing: AO_compare_and_swap_double_release
Missing: AO_store_read
Missing: AO_short_store_read
Missing: AO_short_fetch_and_add_read
Missing: AO_short_fetch_and_add1_read
Missing: AO_short_fetch_and_sub1_read
Missing: AO_char_store_read
Missing: AO_char_fetch_and_add_read
Missing: AO_char_fetch_and_add1_read
Missing: AO_char_fetch_and_sub1_read
Missing: AO_int_store_read
Missing: AO_compare_double_and_swap_double_read
Missing: AO_compare_and_swap_double_read
Missing: AO_load_write
Missing: AO_short_load_write
Missing: AO_short_fetch_and_add_write
Missing: AO_short_fetch_and_add1_write
Missing: AO_short_fetch_and_sub1_write
Missing: AO_char_load_write
Missing: AO_char_fetch_and_add_write
Missing: AO_char_fetch_and_add1_write
Missing: AO_char_fetch_and_sub1_write
Missing: AO_int_load_write
Missing: AO_compare_double_and_swap_double_write
Missing: AO_compare_and_swap_double_write
Missing: AO_short_fetch_and_add_full
Missing: AO_short_fetch_and_add1_full
Missing: AO_short_fetch_and_sub1_full
Missing: AO_char_fetch_and_add_full
Missing: AO_char_fetch_and_add1_full
Missing: AO_char_fetch_and_sub1_full
Missing: AO_compare_double_and_swap_double_full
Missing: AO_compare_and_swap_double_full
Missing: AO_nop_release_write
Missing: AO_load_release_write
Missing: AO_short_load_release_write
Missing: AO_short_fetch_and_add_release_write
Missing: AO_short_fetch_and_add1_release_write
Missing: AO_short_fetch_and_sub1_release_write
Missing: AO_char_load_release_write
Missing: AO_char_fetch_and_add_release_write
Missing: AO_char_fetch_and_add1_release_write
Missing: AO_char_fetch_and_sub1_release_write
Missing: AO_int_load_release_write
Missing: AO_compare_double_and_swap_double_release_write
Missing: AO_compare_and_swap_double_release_write
Missing: AO_nop_acquire_read
Missing: AO_store_acquire_read
Missing: AO_short_store_acquire_read
Missing: AO_short_fetch_and_add_acquire_read
Missing: AO_short_fetch_and_add1_acquire_read
Missing: AO_short_fetch_and_sub1_acquire_read
Missing: AO_char_store_acquire_read
Missing: AO_char_fetch_and_add_acquire_read
Missing: AO_char_fetch_and_add1_acquire_read
Missing: AO_char_fetch_and_sub1_acquire_read
Missing: AO_int_store_acquire_read
Missing: AO_compare_double_and_swap_double_acquire_read
Missing: AO_compare_and_swap_double_acquire_read
Testing add1/sub1
Succeeded
Testing store_release_write/load_acquire_read
Succeeded
Testing test_and_set
Succeeded
PASS: test_atomic
Missing: AO_nop_acquire
Missing: AO_store_acquire
Missing: AO_short_store_acquire
Missing: AO_char_store_acquire
Missing: AO_int_store_acquire
Missing: AO_nop_release
Missing: AO_load_release
Missing: AO_short_load_release
Missing: AO_char_load_release
Missing: AO_int_load_release
Missing: AO_store_read
Missing: AO_short_store_read
Missing: AO_char_store_read
Missing: AO_int_store_read
Missing: AO_load_write
Missing: AO_short_load_write
Missing: AO_char_load_write
Missing: AO_int_load_write
Missing: AO_nop_release_write
Missing: AO_load_release_write
Missing: AO_short_load_release_write
Missing: AO_char_load_release_write
Missing: AO_int_load_release_write
Missing: AO_nop_acquire_read
Missing: AO_store_acquire_read
Missing: AO_short_store_acquire_read
Missing: AO_char_store_acquire_read
Missing: AO_int_store_acquire_read
Testing add1/sub1
Succeeded
Testing store_release_write/load_acquire_read
Succeeded
Testing test_and_set
Succeeded
PASS: test_atomic_pthreads
Bus error
FAIL: test_stack
Performing 1000 reversals of 1000 element lists in 10 threads
Testing AO_malloc/AO_free
Succeeded
PASS: test_malloc
===================
1 of 4 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/root/libatomic_ops-7_2/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/root/libatomic_ops-7_2/tests'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/root/libatomic_ops-7_2/tests'
make: *** [check-recursive] Error 1


More information about the Gc mailing list