From owner-freebsd-stable@FreeBSD.ORG Thu Feb 8 11:41:08 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8710216A401 for ; Thu, 8 Feb 2007 11:41:06 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id EC5AE13C478 for ; Thu, 8 Feb 2007 11:41:05 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id E1FECEB1AF5; Thu, 8 Feb 2007 19:41:01 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id lGD7eUXdPWaj; Thu, 8 Feb 2007 19:40:47 +0800 (CST) Received: from [10.217.12.154] (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 7BB96EB08C6; Thu, 8 Feb 2007 19:40:47 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:x-enigmail-version:content-type; b=NyF1oNs3Wu0XPI6szFzhp1oMC9tsJ0659O8EcQLgJT6PBWtNDAYmCY1r2gNV9R0hT GezgxvmTwixsKTGdL/JXQ== Message-ID: <45CB0C3A.7020104@delphij.net> Date: Thu, 08 Feb 2007 19:40:42 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: tobez@FreeBSD.org, FreeBSD Stable X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigABE47D9B957854688481B48F" Cc: Subject: Can't build threaded perl 5.8 on 6.2-RELEASE and 7-CURRENT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 11:41:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigABE47D9B957854688481B48F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, It seems that threaded perl is broken on 6.2-RELEASE and 7-CURRENT. I have tried some option combinations with no luck, if WITH_THREADED=3Dyes is specified then the build would fail with a coredump. [root@sysdevel] /tmp/usr/ports/lang/perl5.8/work/perl-5.8.8# gdb miniperl miniperl.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detail= s. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `miniperl'. Program terminated with signal 11, Segmentation fault. Reading symbols from /tmp/usr/ports/lang/perl5.8/work/perl-5.8.8/libperl.so...done. Loaded symbols for /tmp/usr/ports/lang/perl5.8/work/perl-5.8.8/libperl.so= Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /lib/libcrypt.so.3...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libutil.so.5...done. Loaded symbols for /lib/libutil.so.5 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x84115dce in Perl_safesysmalloc (size=3D4080) at util.c:80 80 DEBUG_m(PerlIO_printf(Perl_debug_log, "0x%"UVxf": (%05ld) malloc %ld bytes\n",PTR2UV(ptr),(long)PL_an++,(long)size)); (gdb) bt full #0 0x84115dce in Perl_safesysmalloc (size=3D4080) at util.c:80 my_perl =3D (PerlInterpreter *) 0x0 my_perl =3D (PerlInterpreter *) 0x0 ptr =3D (void *) 0x8065000 #1 0x8413a2b3 in S_more_sv (my_perl=3D0x8064000) at sv.c:215 chunk =3D 0x8064000 "" sv =3D (SV *) 0x840679c8 #2 0x841447df in Perl_newSV (my_perl=3D0x8064000, len=3D79) at sv.c:4593= sv =3D (SV *) 0x292 #3 0x840b425c in perl_construct (my_perl=3D0x8064000) at perl.c:283 No locals. #4 0x0804bb6c in main (argc=3D5, argv=3D0xbfbfe75c, env=3D0xbfbfe774) at= miniperlmain.c:93 exitstatus =3D 16 And here is some excerpt from the build output: LD_LIBRARY_PATH=3D/tmp/usr/ports/lang/perl5.8/work/perl-5.8.8 cc -Wl,-E -L/usr/local/lib -o miniperl miniperlmain.o opmini.o libperl.so -lm -lcrypt -lutil LD_LIBRARY_PATH=3D/tmp/usr/ports/lang/perl5.8/work/perl-5.8.8 ./miniperl -w -Ilib -MExporter -e '' || make minitest Segmentation fault (core dumped) cp ext/re/re.pm lib/re.pm LD_LIBRARY_PATH=3D/tmp/usr/ports/lang/perl5.8/work/perl-5.8.8 ./miniperl -Ilib configpm --heavy=3Dlib/Config_heavy.pl lib/Config.pm Segmentation fault (core dumped) *** Error code 139 Stop in /tmp/usr/ports/lang/perl5.8/work/perl-5.8.8. *** Error code 1 (ignored) You may see some irrelevant test failures if you have been unable to build lib/Config.pm, lib/lib.pm or the Unicode data files. cd t && (rm -f perl; /bin/ln -s ../miniperl perl) && LD_LIBRARY_PATH=3D/tmp/usr/ports/lang/perl5.8/work/perl-5.8.8 ./perl TEST= -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigABE47D9B957854688481B48F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFyww6OfuToMruuMARA5veAJ4k66ndl/pOT1pbDsg6V328sTXXiwCfYzSx 6R0mc3w2CDH0usjelJREzeg= =PVaF -----END PGP SIGNATURE----- --------------enigABE47D9B957854688481B48F--