On 15/07/2019 14:15, Robert Swindells wrote:
Using ktrace(1), I can see that the last thing done before the crash for 8.1 applications is a call to _lwp_ctl(2). This looks to be in pthread__init(). Doing ktrace on hpcarm 7.1, _lwp_ctl() never gets called. Do we have some optimization for reading pthread private data that is different for armv7 and armv4 ?
https://nxr.netbsd.org/xref/src/lib/libc/arch/arm/sys/__aeabi_read_tp.S ? Nick