Port-mips archive

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

Re: n32 infinite recursion in __fixsfdi/__fixunssfdi:



On Thu, Jan 30, 2014 at 01:57:20PM +0100, Manuel Bouyer wrote:
> Hello,
> I've now another issue with HEAD and N32 userland. Some programs dump
> core, with what looks like an infinite recursion in __fixsfdi/__fixunssfdi:
> 
> cuba# gdb /sbin/mount_tmpfs mount_tmpfs.core 
> Core was generated by `mount_tmpfs'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x78658ed4 in __ltsf2 () from /lib/libc.so.12
> (gdb) where
> #0  0x78658ed4 in __ltsf2 () from /lib/libc.so.12
> #1  0x785f422c in __fixsfdi () from /lib/libc.so.12
> #2  0x78758344 in __fixunssfdi () from /lib/libgcc_s.so.1
> #3  0x785f4254 in __fixsfdi () from /lib/libc.so.12
> #4  0x78758344 in __fixunssfdi () from /lib/libgcc_s.so.1
> #5  0x785f4254 in __fixsfdi () from /lib/libc.so.12
> #6  0x78758344 in __fixunssfdi () from /lib/libgcc_s.so.1
> #7  0x785f4254 in __fixsfdi () from /lib/libc.so.12
> #8  0x78758344 in __fixunssfdi () from /lib/libgcc_s.so.1
> [...]
> #108009 0x785f4254 in __fixsfdi () from /lib/libc.so.12
> #108010 0x78758344 in __fixunssfdi () from /lib/libgcc_s.so.1
> #108011 0x785f4254 in __fixsfdi () from /lib/libc.so.12
> #108012 0x78758344 in __fixunssfdi () from /lib/libgcc_s.so.1
> /dsk/l1/misc/bouyer/HEAD/src/external/gpl3/gdb/dist/gdb/utils.c:1162: 
> internal-error: virtual memory exhausted: can't allocate 4420 bytes.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> 
> 
> Any idea ? I see mknative have been re-run since netbsd-6 was branched,
> I don't know how it affects libgcc_s.

Using the NetBSD 6.1.3 binary with HEAD libraries doesn't cause this error,
so I suspect the problem is with the compiler.
This is reproductible also with ntpdate and progress (I tested 6.1.3
binaries against HEAD libraries for both).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index