Port-sparc64 archive

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

atomic_cas_ulong_ni segmentation fault

I'm running 32-bit sparc port of NetBSD 4.99.55 with netbsd_sun4u kernel on 
Ultra 10. The userland and kernel were compiled 
with '-Os -mcpu=ultrasparc -mvis'

#include <stdio.h>
int main(void)
        return 0;

If I compile the above program with 'gcc test.c -lpthread' and then run the 
executable, it dies with SEGV.

Running gdb on the core file outputs the following:

Program terminated with signal 11, Segmentation fault
#0 0x40117324 in atomic_cas_ulong_ni () from /usr/lib/libc.so.12

Anyones knows what's going on?

Home | Main Index | Thread Index | Old Index