make check fails on rhel5/ppc

Ingvar Hagelund ingvar at redpill-linpro.com
Mon Mar 26 00:44:58 PDT 2012


With the proposed atomic operations for ppc patch, I can finally build
jemalloc-2.2.5 on rhel5/ppc. make check fails like this for all but the
bitmap test.

Too many small size classes (269 > max 256)

More details below.

Is this just missing tuning? Where are the knobs to turn?

Ingvar


$ make check
gcc -O2 -g -m32 -fsigned-char -fvisibility=hidden -c -D_GNU_SOURCE
-D_REENTRANT -Iinclude -Iinclude -Itest -o test/allocated.o
test/allocated.c
gcc -o test/allocated test/allocated.o -Wl,-rpath,lib -Llib -ljemalloc
-lpthread
gcc -O2 -g -m32 -fsigned-char -fvisibility=hidden -c -D_GNU_SOURCE
-D_REENTRANT -Iinclude -Iinclude -Itest -o test/allocm.o test/allocm.c
gcc -o test/allocm test/allocm.o -Wl,-rpath,lib -Llib -ljemalloc
-lpthread
gcc -O2 -g -m32 -fsigned-char -fvisibility=hidden -c -D_GNU_SOURCE
-D_REENTRANT -Iinclude -Iinclude -Itest -o test/bitmap.o test/bitmap.c
gcc -o test/bitmap test/bitmap.o -Wl,-rpath,lib -Llib -ljemalloc
-lpthread
gcc -O2 -g -m32 -fsigned-char -fvisibility=hidden -c -D_GNU_SOURCE
-D_REENTRANT -Iinclude -Iinclude -Itest -o test/mremap.o test/mremap.c
gcc -o test/mremap test/mremap.o -Wl,-rpath,lib -Llib -ljemalloc
-lpthread
gcc -O2 -g -m32 -fsigned-char -fvisibility=hidden -c -D_GNU_SOURCE
-D_REENTRANT -Iinclude -Iinclude -Itest -o test/posix_memalign.o
test/posix_memalign.c
gcc -o test/posix_memalign test/posix_memalign.o -Wl,-rpath,lib -Llib
-ljemalloc -lpthread
gcc -O2 -g -m32 -fsigned-char -fvisibility=hidden -c -D_GNU_SOURCE
-D_REENTRANT -Iinclude -Iinclude -Itest -o test/rallocm.o test/rallocm.c
gcc -o test/rallocm test/rallocm.o -Wl,-rpath,lib -Llib -ljemalloc
-lpthread
gcc -O2 -g -m32 -fsigned-char -fvisibility=hidden -c -D_GNU_SOURCE
-D_REENTRANT -Iinclude -Iinclude -Itest -o test/thread_arena.o
test/thread_arena.c
gcc -o test/thread_arena test/thread_arena.o -Wl,-rpath,lib -Llib
-ljemalloc -lpthread
=========================================
test/allocated ... /bin/sh: line 3:  8020 Avbrutt (SIGABRT)
${t} /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ > ${t}.out 2>&1
*** FAIL ***
test/allocm ... /bin/sh: line 3:  8027 Avbrutt (SIGABRT)
${t} /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ > ${t}.out 2>&1
*** FAIL ***
test/bitmap ... pass
test/mremap ... /bin/sh: line 3:  8039 Avbrutt (SIGABRT)
${t} /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ > ${t}.out 2>&1
*** FAIL ***
test/posix_memalign ... /bin/sh: line 3:  8046 Avbrutt (SIGABRT)
${t} /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ > ${t}.out 2>&1
*** FAIL ***
test/rallocm ... /bin/sh: line 3:  8053 Avbrutt (SIGABRT)
${t} /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ > ${t}.out 2>&1
*** FAIL ***
test/thread_arena ... /bin/sh: line 3:  8060 Avbrutt (SIGABRT)
${t} /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ /home/ingvar/rpmbuild/BUILD/jemalloc-2.2.5/ > ${t}.out 2>&1
*** FAIL ***
=========================================
Failures: 6/7



$ for i in test/*out; do echo; echo $i; cat $i; done

test/allocated.out
Test begin
<jemalloc>: Too many small size classes (269 > max 256)

test/allocm.out
Test begin
<jemalloc>: Too many small size classes (269 > max 256)

test/bitmap.out
Test begin
Test end

test/mremap.out
Test begin
<jemalloc>: Too many small size classes (269 > max 256)

test/posix_memalign.out
Test begin
<jemalloc>: Too many small size classes (269 > max 256)

test/rallocm.out
Test begin
<jemalloc>: Too many small size classes (269 > max 256)

test/thread_arena.out
Test begin
<jemalloc>: Too many small size classes (269 > max 256)





More information about the jemalloc-discuss mailing list