Re: libqalculate FTBFS on mips* (ball, rem)
Thiemo Seufer <firstname.lastname@example.org> wrote:
> I get consistently a segfault very early on startup (before __start is
> hit) for any program linked with libcln (adding -lcln is enough):
> (gdb) run
> Starting program: /home/ths/colo/libqalculate-0.8.1.1/clntest
> Program received signal SIGSEGV, Segmentation fault.
> 0x2ab2000c in cln::cl_heap_weak_hashtable_1<cln::cl_rcpointer, cln::cl_rcpointer>::garcol () from /usr/lib/libcln.so.3
> (gdb) bt
> #0 0x2ab2000c in cln::cl_heap_weak_hashtable_1<cln::cl_rcpointer, cln::cl_rcpointer>::garcol () from /usr/lib/libcln.so.3
> #1 0x00000008 in ?? ()
> warning: GDB can't find the start of the function at 0x8.
That's this one, indeed. Though I didn't realize it happened even
> This looks like the library tries to garbage collect from a global
> constructor while the data it works on is still NULL.
Sounds like it, but is there a reason why it happens only on mips ?
Julien BLACHE - Debian & GNU/Linux Developer - <email@example.com>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169