NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sparc64/44902: "pkgsrc/lang/perl5" crashes during build



>Number:         44902
>Category:       port-sparc64
>Synopsis:       "pkgsrc/lang/perl5" crashes during build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 23 18:35:00 +0000 2011
>Originator:     tron%zhadum.org.uk@localhost
>Release:        NetBSD 5.99.49 2011-04-23 sources
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD sheridan.zhadum.org.uk 5.99.49 NetBSD 5.99.49 (SHERIDAN) #1: Sat 
Apr 23 15:55:58 BST 2011 
tron%excalibur.zhadum.org.uk@localhost:/Volumes/Sources/obj/sys/arch/sparc64/compile/SHERIDAN
 sparc64
Architecture: sparc64
Machine: sparc64
>Description:
The "perl5" cannot be built because the "miniperl" binary crashes:

--- lib/Config_git.pl ---
LD_LIBRARY_PATH=/export/scratch/tron/obj/lang/perl5/work.sheridan/perl-5.12.2  
./miniperl -Ilib make_patchnum.pl
[1]   Bus error (core dumped) LD_LIBRARY_PATH=...
*** [lib/Config_git.pl] Error code 138

The stack trace indicated that it dies with "libpthread":

Core was generated by `miniperl'.
Program terminated with signal 10, Bus error.
#0  0x0000000040b067a4 in pthread_getspecific () from /usr/lib/libpthread.so.1
(gdb) where
#0  0x0000000040b067a4 in pthread_getspecific () from /usr/lib/libpthread.so.1
#1  0x00000000001a7d64 in Perl_safesysfree (where=0x410b9c28) at util.c:230
#2  0x0000000000217460 in Perl_sv_clear (my_perl=0x41005000, sv=0x41060618)
    at sv.c:5865
#3  0x0000000000218038 in Perl_sv_free2 (my_perl=0x41005000, sv=0x41060618)
    at sv.c:5985
#4  0x00000000002983c8 in Perl_free_tmps (my_perl=0x41005000) at scope.c:167
#5  0x00000000003b4fdc in perl_run (my_perl=0x41005000) at perl.c:2240
#6  0x0000000000388ea0 in main (argc=3, argv=0xffffffffffffa508, 
    env=0xffffffffffffa528) at miniperlmain.c:117

As the package builds fine under NetBSD/amd64 5.1_STABLE and
NetBSD/i386 5.99.49 I assume it is a problem with TLS under NetBSD/sparc64.

>How-To-Repeat:
cd pkgsrc/lang/perl5
make

>Fix:
Not known.



Home | Main Index | Thread Index | Old Index