Subject: Re: Problem compiling perl in current
To: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n_Carre=C3=B1o?= <ccatrian@eml.cc>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n_Carre=C3=B1o?= <ccatrian@eml.cc>
List: current-users
Date: 12/25/2007 18:29:28
--Signature=_Tue__25_Dec_2007_18_29_28_-0300_kuV6fwm/==zRGrP8
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 23 Dec 2007 00:45:39 -0300
C=C3=A9sar Catri=C3=A1n Carre=C3=B1o <ccatrian@eml.cc> wrote:
> I've problems to compile perl5 in 4.99.42. I am using pkg_comp to compile=
 perl.
> This is the error at the configure stage:
> ---
> Checking your choice of C compiler and flags for coherency...
> I've tried to compile and run the following simple program:
>=20
> #include <stdio.h>
> int main() { printf("Ok\n"); return(0); }
>=20
> I used the command:
>=20
>         cc -o try -O2 -pthread -I/usr/include -fno-strict-aliasing
> -pipe -Wdeclaration-after-statement -I/usr/pkg/include -L/usr/pkg/lib
> try.c -lcrypt -lpthread ./try
>=20
> and I got the following output:
>=20
> [1]   Bad system call         ./try
> The program compiled OK, but exited with status 140.
> (The supplied flags or libraries might be incorrect.)
> =20
> You have a problem.  Shall I abort Configure [y]=20
> Ok.  Stopping Configure.
> ---
>=20
> By using NetBSD 4.99.34 to compile (without pkg_comp), works just fine.

Tested against 4.99.44, perl fails to build against threads.


Regards
--
C=C3=A9sar Catri=C3=A1n Carre=C3=B1o

--Signature=_Tue__25_Dec_2007_18_29_28_-0300_kuV6fwm/==zRGrP8
Content-Type: application/pgp-signature

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

iD8DBQFHcXY40CA0DpFTlnERAnrOAJ9EZAxTwCmYnCEXYn6A92g7KfLFRwCeKIAN
Fa3pDBFe17fHh6NOGdvzI14=
=bJ1X
-----END PGP SIGNATURE-----

--Signature=_Tue__25_Dec_2007_18_29_28_-0300_kuV6fwm/==zRGrP8--