[PPL-devel] Two failing tests on Solaris

Maciej Bliziński maciej at opencsw.org
Thu Aug 11 03:46:03 CEST 2011


Hello PPL developers,

I'm a package maintainer at OpenCSW, a project providing binary
packages for Solaris.  I'm currently working on building PPL.  I've
compiled the dependencies and the PPL library itself.  There are two
failing tests that prevent me from releasing the updated binary.

The library is built with gcc-4.3.3.

maciej at unstable9s :~/src/opencsw/pkg/ppl/trunk > /opt/csw/gcc4/bin/gcc --version
gcc (GCC) 4.3.3
maciej at unstable9s :~/src/opencsw/pkg/ppl/trunk > uname -a
SunOS unstable9s 5.9 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise-T5220

Compilation flags:

         CFLAGS = -O0 -mcpu=v8
       CXXFLAGS = -O0 -mcpu=v8
       CPPFLAGS = -I/opt/csw/include
         FFLAGS = -O0 -mcpu=v8
        FCFLAGS = -O0 -mcpu=v8
        LDFLAGS = -L/opt/csw/gcc4/lib/. -mcpu=v8 -lgnugetopt -L/opt/csw/lib
     LD_OPTIONS = -R/opt/csw/gcc4/lib -R/opt/csw/lib/$ISALIST -R/opt/csw/lib
        ASFLAGS =
       OPTFLAGS = -O0 -mcpu=v8

When running the tests by hand:

gmake[5]: Entering directory
`/home/maciej/src/opencsw/pkg/ppl/trunk/work/solaris9-sparc/build-isa-sparcv8/ppl-0.11.2/tests/Partially_Reduced_Product'
(...)
FAIL: bounds1
(..._
FAIL: smashproduct1

When running the binary by hand, I see a segfault:

maciej at unstable9s :~/src/opencsw/pkg/ppl/trunk >
work/solaris9-sparc/build-isa-sparcv8/ppl-0.11.2/tests/Partially_Reduced_Product/bounds1
Bus Error (core dumped)
maciej at unstable9s :~/src/opencsw/pkg/ppl/trunk > pstack ./core
core './core' of 18057:
/home/maciej/src/opencsw/pkg/ppl/trunk/work/solaris9-sparc/build-isa-s
 fed5e4d4 emutls_destroy (bb218, fed5e494, 0, bb618, 1, ffbff82c) + 40
 febd6aa8 keys_destruct (0, 9f384, 5068c, feb8bb08, 5, 0) + 68
 feb9cce8 _exithandle (511c4, 2, fb, 10034, ffffffff, fec3c000) + 70
 fec207c0 exit     (0, ffbff934, ffbff93c, b8fdc, 7d8, ffbffa54) + 24
 000511c4 _start   (0, ffbff934, 1, ff3dc608, ff3ee834, ff3ee000) + 64

For easier inspection, I've tarred up the whole build:

http://buildfarm.opencsw.org/~maciej/ppl-2011-08-11.tar.gz

Do you have an idea what might be the problem?

Maciej



More information about the PPL-devel mailing list