Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2012 08:36:52 +0100
From:      =?ISO-8859-1?Q?V=E1clav_Zeman?= <vhaisman@gmail.com>
To:        spil.oss@gmail.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: "[lang/perl5.14] Fails on amd64 when WITH_THREADS is enabled"
Message-ID:  <4F4F2714.3070605@gmail.com>
In-Reply-To: <CAEJyAvOS%2BGab0bNBdvnC0cD6NUn33APHt0pzFm-82Bm1R4XV%2Bg@mail.gmail.com>
References:  <e87f5878ff1566ae3560437b686db696@localhost> <4F4D20AE.2010401@acsalaska.net> <CAEJyAvOS%2BGab0bNBdvnC0cD6NUn33APHt0pzFm-82Bm1R4XV%2Bg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF0ADC47F5F41DCAB1D45E572
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 02/28/2012 08:56 PM, Spil Oss wrote:
> Some logs when reproducing. Bus error on miniperl. Built in my build3 j=
ail.
> Builds fine under the same circumstances on my Core i5 2500K system
> (normal ZFS).
> Fails on my laptop Core i5 M 560 with a RootOnZFS install.
>
> uname -a (anonymised)
> FreeBSD build3.example.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sat Feb
>  4 21:06:26 CET 2012
> root@gw.example.org:/usr/obj/usr/src/sys/BEASTIE90  amd64
>
> WITH_THREADS WITH_PTHREAD -> fail
> WITHOUT_THREADS WITH_PTHREAD -> fail
> WITH_THREADS WITHOUT_PTHREAD -> fail
> WITHOUT_THREADS WITHOUT_PTHREAD -> OK
>
> Configuration, make.conf and make output below. First error on miniperl=
 is
> LD_LIBRARY_PATH=3D/var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2
> ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
> Bus error (core dumped)
> [...]
>
> LD_LIBRARY_PATH=3D/var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2
> clang -pthread -Wl,-E  -fstack-protector -L/usr/local/lib -o miniperl
>   gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o
> mro.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o
> pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o
> globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o
> pp_sort.o    miniperlmain.o opmini.o perlmini.o -lm -lcrypt -lutil
> LD_LIBRARY_PATH=3D/var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2
> ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
> Bus error (core dumped)
> LD_LIBRARY_PATH=3D/var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2
> ./miniperl -Ilib make_patchnum.pl
> Updating 'git_version.h' and 'lib/Config_git.pl'
> *** Signal 10
>
> Stop in /var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2.
> *** Error code 1 (ignored)
>
> You may see some irrelevant test failures if you have been unable
> to build lib/Config.pm, or the Unicode data files.
>
> cd t && (rm -f perl; /bin/ln -s ../miniperl perl)  &&
> LD_LIBRARY_PATH=3D/var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2
> ./perl TEST base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t op/*.t
> uni/*.t </dev/tty
> t/base/cond.....................FAILED--no leader found
> Failed a basic test (base/cond.t) -- cannot continue.
> *** Signal 10 (ignored)
> /bin/ln -s perldelta.pod pod/perl5142delta.pod
> LD_LIBRARY_PATH=3D/var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2
> ./miniperl -Ilib autodoc.pl
> *** Signal 10
>
> Stop in /var/ports/usr/ports/lang/perl5.14/work/perl-5.14.2.
> *** Error code 1
>
> Stop in /usr/ports/lang/perl5.14.
> *** Error code 1
>
> Stop in /usr/ports/lang/perl5.14.
>
Have you tried the same without using Clang for the compilation?

--=20
VZ



--------------enigF0ADC47F5F41DCAB1D45E572
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.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAk9PJxoACgkQbJlIwZz1OofXRQD/dSUnXBo5kj5Jr8egKBQXdQAf
WhvK8NFEza377uLGgUEA/0zwEwxb6mm5YIGpwEPCrFhgz/ZhSec4K+OuvqWL8OE5
=Z1nH
-----END PGP SIGNATURE-----

--------------enigF0ADC47F5F41DCAB1D45E572--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4F2714.3070605>