Port-sparc64 archive

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

Re: atomic_cas_ulong_ni segmentation fault



On Thu, Mar 06, 2008 at 01:36:58PM +0000, raymond.meyer%rambler.ru@localhost 
wrote:
> 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)
> {
>       printf("hey\n");
>       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

Please provide:

- backtrace
- dissasembly of atomic_cas_ulong_ni() (disassemble atomic_cas_ulong_ni)
- registers (info reg)

Thanks,
Andrew


Home | Main Index | Thread Index | Old Index