Hi,

when testing the current (?) git snapshot from 2008-12-02
(snapshot downloaded from http://repo.or.cz/w/tinycc.git)
I found a problem with shared libraries that should be
loaded by Tcl/Tk as extension:


$ tcc -I/usr/include/tcl8.4 -c tclext.c -shared -o tclext.so -ltcl8.4
$ tclsh
% load tclext.so exttest
couldn't load file "tclext.so": /tmp/tclext.so: unexpected reloc type 0x09
% exit
$ ldd tclext.so
        linux-vdso.so.1 =>  (0x00007fffa59ff000)
        libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0x00007f919d50d000)
        libc.so.6 => /lib/libc.so.6 (0x00007f919d1ba000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f919cfb5000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f919cd99000)
        libm.so.6 => /lib/libm.so.6 (0x00007f919cb16000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f919d7e8000)


What does "unexpected reloc type 0x09" mean?


I should mention that I verified that I can principally
build and use simple shared libraries with tcc (independent
of Tcl/Tk).


$ tcc -v
tcc version 0.9.24
$ uname -ms
Linux x86_64


Any ideas?

Thanks,
Olaf


_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to