pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl5 compile prob

Trying to make update perl on NetBSD-current/i386 of today, pkgsrc of today,

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 -lm 
-lcrypt -lpthread

and I got the following output:

[1]   Abort trap (core dumped) ./try
The program compiled OK, but exited with status 134.
You have a problem.  Shall I abort Configure [y]  

Program received signal SIGABRT, Aborted.
0xbbadbf77 in kill () from /usr/lib/
(gdb) bt
#0  0xbbadbf77 in kill () from /usr/lib/
#1  0xbbade147 in __libc_thr_errno_stub () from /usr/lib/
#2  0xbbb8f945 in __errno () from /usr/lib/
#3  0xbbb8f8f3 in __cerror () from /usr/lib/
#4  0xbbb41fb2 in free () from /usr/lib/
#5  0xbbb43608 in malloc () from /usr/lib/
#6  0xbbb8ecb4 in __smakebuf () from /usr/lib/
#7  0xbbb8eb17 in __swsetup () from /usr/lib/
#8  0xbbb8e510 in __sfvwrite () from /usr/lib/
#9  0xbbb5f544 in puts () from /usr/lib/
#10 0x08048797 in main ()

(The reason to try to make replace is that the current perl also core dumps -
more likely a change in -current?)

Anyone manage to compile perl under -current?



Home | Main Index | Thread Index | Old Index