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
         ./try

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/libc.so.12
(gdb) bt
#0  0xbbadbf77 in kill () from /usr/lib/libc.so.12
#1  0xbbade147 in __libc_thr_errno_stub () from /usr/lib/libc.so.12
#2  0xbbb8f945 in __errno () from /usr/lib/libc.so.12
#3  0xbbb8f8f3 in __cerror () from /usr/lib/libc.so.12
#4  0xbbb41fb2 in free () from /usr/lib/libc.so.12
#5  0xbbb43608 in malloc () from /usr/lib/libc.so.12
#6  0xbbb8ecb4 in __smakebuf () from /usr/lib/libc.so.12
#7  0xbbb8eb17 in __swsetup () from /usr/lib/libc.so.12
#8  0xbbb8e510 in __sfvwrite () from /usr/lib/libc.so.12
#9  0xbbb5f544 in puts () from /usr/lib/libc.so.12
#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?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index