Subject: Re: Problem compiling perl in current
To: None <current-users@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: current-users
Date: 12/25/2007 22:42:05
On Tue, Dec 25, 2007 at 06:29:28PM -0300, César Catrián Carreño wrote:
> > [1]   Bad system call         ./try
> > The program compiled OK, but exited with status 140.
> > (The supplied flags or libraries might be incorrect.)
> >  
> > You have a problem.  Shall I abort Configure [y] 
> > Ok.  Stopping Configure.
> > ---
> > 
> > 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.

I had no problem to do a normal pkgsrc build for perl with 4.99.44 on i386
and you test program works too (this time with 4.99.45):

: 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 
Ok
:

Are you sure that your system is ok, like ram, or did you use some custom
compile flags?

Bernd