Subject: Re: perl on arm problem?
To: None <tech-pkg@netbsd.org, port-arm@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: port-arm
Date: 05/08/2005 17:37:09
--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Fri, May 06, 2005 at 09:36:20AM +0100, Richard Earnshaw wrote:
> On Fri, 06 May 2005 08:41:10 +0200, Ignatios Souvatzis wrote:
> > Can't build perl on my Shark:
> >=20
> > > ... ./miniperl -w -Ilib -MExporter -e '<?>' || /usr/bin/make minitest
> > > Attempt to free unreferenced skalar: SV 0x3b5b8, Perl interpreter: 0x=
2b000.
> > > *** Error code 1 (ignored)
> > > ..../miniperl -Ilib configpm configpm.tmp
> > > [1]  Segmentation fault (core dumped) LD_LIBRARY_PATH=3D...
> > > *** Error code 139=20
> >=20
> > thats perl-5.8.6nb3 building on netbsd-2.0.2 /arm=20
>=20
> Hmm, I thought I'd submitted a PR for this, but I can't find it off-hand.
>=20
> There's definitely a PR filed for GCC on this, but it's not been processe=
d=20
> yet.
>=20
> 	http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D16152
>=20
> Here's a work-around:
>=20
(-fno-cse-skip-blocks for MACHINE_ARCH =3D=3D arm)

This works for me. Three questions:

- the bug you cite above also shows on ia64 and m68k, wouldn't this apply
  to us also?

- shouldn't this be applies to the global mk.conf (or another appropriate
  place) for arm, until the compiler can be fixed? If this is a compiler
  error, it should eventually show up elsewhere?

- If this is expected to only show up with perl, should I (or somebody else)
  commit the workaround to pkgsrc?

Regards,
	-is

--XsQoSWH+UP9D9v3l
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFCfjIlN4tiz3B8hB0RAjBRAKDk1v0BBaw/sp1nUYiYwApFKS90lACfY0eJ
AsNNABW+6fmf2lnIM2JqD3w=
=lPpb
-----END PGP SIGNATURE-----

--XsQoSWH+UP9D9v3l--