[Openmcl-devel] segfault on open-shared-library libobjc.so on gentoo 64-bit with ccl-1.8

Pascal J. Bourguignon pjb at informatimago.com
Tue Jun 5 07:41:41 PDT 2012


"Pascal J. Bourguignon" <pjb at informatimago.com> writes:

> When I try to load libobjc.so on gentoo 64-bit with ccl-1.8, it
> sigsegfauls.  What can I do to debug that?
>
>
> cl-user> (ccl:open-shared-library "libobjc.so")
>
>
> [pjb at kuiper :0 tmp]$ ls -l /usr/lib/libobjc.so
> lrwxrwxrwx 1 root root 12 Apr 16 13:07 /usr/lib/libobjc.so -> libobjc.so.4*
> [pjb at kuiper :0 tmp]$ file /usr/lib/libobjc.so.4
> /usr/lib/libobjc.so.4: symbolic link to `libobjc.so.4.6.0'
> [pjb at kuiper :0 tmp]$ file /usr/lib/libobjc.so.4.6.0 
> /usr/lib/libobjc.so.4.6.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped


Note: opening version 2 works well.

cl-user> (ccl:open-shared-library "/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.so")
#<shlib libobjc.so.2 #x302001E5677D>

[pjb at kuiper :0 tmp]$ ls -l /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc*
-rw-r--r-- 1 root root 208378 Mar 27 21:02 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.a
-rwxr-xr-x 1 root root    960 Mar 27 21:02 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.la*
lrwxrwxrwx 1 root root     16 Mar 27 21:03 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.so -> libobjc.so.2.0.0*
lrwxrwxrwx 1 root root     16 Mar 27 21:03 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.so.2 -> libobjc.so.2.0.0*
-rwxr-xr-x 1 root root 115536 Mar 27 21:02 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.so.2.0.0*
-rw-r--r-- 1 root root 501050 Mar 27 21:02 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc_gc.a
-rwxr-xr-x 1 root root    991 Mar 27 21:02 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc_gc.la*
lrwxrwxrwx 1 root root     19 Mar 27 21:03 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc_gc.so -> libobjc_gc.so.2.0.0*
lrwxrwxrwx 1 root root     19 Mar 27 21:03 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc_gc.so.2 -> libobjc_gc.so.2.0.0*
-rwxr-xr-x 1 root root 274616 Mar 27 21:02 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc_gc.so.2.0.0*
[pjb at kuiper :0 tmp]$ file /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.so.2.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libobjc.so.2.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.




More information about the Openmcl-devel mailing list