[csw-maintainers] GCC 4.6 progress

Maciej Bliziński maciej at opencsw.org
Wed Aug 10 12:39:00 CEST 2011


The next library was PPL.  PPL needed the C++ bindings in GMP, so I
needed to rebuild it again, with C++ enabled.  I also realized that I
have to rebuild it with GCC, because of different name mangling
between GCC and Solaris Studio.  I worked around the
__sync_fetch_and_add_4 problem by compiling with -O0, which I think
sucks, but it gets me the built library, so I went with it for now.
PPL accepted the updated GMP and built, but there are 2 failing tests.
I've inspected one of them, which turns out to be a coredump:

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 5719:
/home/maciej/src/opencsw/pkg/ppl/trunk/work/solaris9-sparc/build-isa-s
 fed5e4d4 emutls_destroy (bb218, fed5e494, 0, bb618, 1, ffbff80c) + 40
 febd6aa8 keys_destruct (0, 9f384, 5068c, feb8bb08, 5, 0) + 68
 feb9cce8 _exithandle (511c4, 2, fb, 10034, ffffffff, fec3c000) + 70
 fec207c0 exit     (0, ffbff914, ffbff91c, b8fdc, 7d8, ffbffa34) + 24
 000511c4 _start   (0, ffbff914, 1, ff3dc608, ff3ee834, ff3ee000) + 64

Not sure what the problem is, maybe it's a similar problem to the one
with GMP headers.  If anyone wants to jump and help debugging, help
would be appreciated.

Maciej


More information about the maintainers mailing list