On Thu, 24 Mar 2011 08:28:36 -0700
Matt Thomas<matt%3am-software.com@localhost> wrote:
These days I tried to update an ofppc and a sandpoint machine to
5.99.48. Both fail with pkgsrc binaries compiled under 5.99.45,
which worked before.
The segmentation fault always involves libpthread and __cxa_atexit().
[...]
I'm going to bet that this is due to crt0 overwriting r2 which was set
by ld.elf_so. I think I can fix this with a kludge.
A workaround is in www.netbsd.org/~matt/ppc-tls-diff.txt , can you
try it?
I patched my sources and recompiled the whole userland.
Then I updated my sandpoint system with base.tgz.
Unfortunately that changes nothing. Exactly the same crash as before.