Subject: Problem compiling perl in current
To: None <current-users@NetBSD.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n_Carre=C3=B1o?= <ccatrian@eml.cc>
List: current-users
Date: 12/23/2007 00:45:39
--Signature=_Sun__23_Dec_2007_00_45_39_-0300_YUEeJ0TIsosl_k0m
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,


I've problems to compile perl5 in 4.99.42. I am using pkg_comp to compile p=
erl.
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:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

        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

and I got the following output:

[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.
---

By using NetBSD 4.99.34 to compile (without pkg_comp), works just fine.


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

--Signature=_Sun__23_Dec_2007_00_45_39_-0300_YUEeJ0TIsosl_k0m
Content-Type: application/pgp-signature

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

iD8DBQFHbdnj0CA0DpFTlnERAifjAJ9eudqOYmwtaoCp3Ru+/pKo+5EcSwCgsGM+
fyU5WKFQW2aLuCzU5iQd1pM=
=qW+L
-----END PGP SIGNATURE-----

--Signature=_Sun__23_Dec_2007_00_45_39_-0300_YUEeJ0TIsosl_k0m--