Subject: pkg/31250: devel/pcre self test dies on NetBSD/Sparc64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gert Doering <gert@kirk.greenie.muc.de>
List: pkgsrc-bugs
Date: 09/09/2005 07:57:51
>Number: 31250
>Category: pkg
>Synopsis: running the self-test for devel/pcre leads to Signal 11
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 09 07:57:51 +0000 2005
>Originator: Gert Doering
>Release: NetBSD 2.0.1
>Organization:
>Environment:
System: NetBSD kirk 2.0.1 NetBSD 2.0.1 (KIRK) #3: Sat Jan 29 17:25:41 CET 2005 gert@kirk:/home/sparc64/obj/home/src-2.0/sys/arch/sparc64/compile/KIRK sparc64
Architecture: sparc64
Machine: sparc64
>Description:
When building devel/pcre on NetBSD/Sparc64 2.0.1, the self test
dies with
Testing error reporting
Testing recursion
Testing recursion
*** Signal 11
Stop.
make: stopped in /home/obj/pkg/devel/pcre/work/pcre-6.3
*** Error code 1
and in the work directory, one finds a core dump
-rw------- 1 gert wheel 2744320 Sep 7 09:40 pcrecpp_unittest.core
where exactly the core dump happens is hard to say, as the build
process didn't compile with "-g" - gdb says:
(gdb) where
#0 0x000000004090c124 in pcre_dfa_exec ()
from /home/obj/pkg/devel/pcre/work/pcre-6.3/./.libs/libpcre.so.0
Cannot access memory at address 0xffffffffffdfdec8
the "old" PCRE version (5.0nb1) went through all tests fine, but
now I need to upgrade due to security fixes.
>How-To-Repeat:
cd /usr/pkgsrc/devel/pcre
make PKGSRC_RUN_TEST?=yes
>Fix:
dunno, I assume it's a 64bit or little-endian/big-endian issue