In the first place, the binary file could not found TLS support, and I
fixed it by add a DT_NEEDED entry with libc.so.1 in dynamic section.
But then I got signal fault when I execute binary file, and I could not
found the way to fix it.
+CC iant, minux
The problem is that in Solaris 11 and illumos some functions were
> From that patch I see that this function needs librt.so, but it is not
> linked to that executable.
> https://bitbucket.org/4ad/go-sunos/commits/a349a071c0484b9b86d142a4116a71f44c8b7388
>
> Any ideas, that can help me with the port? I am willing to read about ELF
> file format, etc., but need some initial directions.
moved from libraries like librt.so and libpthread.so to libc.so. The
previous libraries became what are known as "filter libraries", they
use libc.so and provide a view of the symbols that's compatible with
the previous code that was there. Code that used to link with these
should continue to work in Solaris 11.
I don't know why code produced by the Go linker breaks this
assumption. In particular, if you link with libfoo.so on Solaris 10,
you get the correct symbol address when you reference it, but on
Solaris 11 you'll only get a NULL value. We are probably doing
Ok, thanks for the clarification.
That's what I needed.
__ MIke Nichols __
email:c0ps...@gmail.com
xmpp:mi...@myownsoho.net
sms:0xcf42a64d
pgp:4096R/7EF5C63700A0F93C
<img src="https://www.eff.org/files/2014/11/17/eff-badge-rec-2015.png" alt="EFF Member" />