NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-macppc/54953: 5.0 binaries on 9.0_RC2 macppc dumps core in jemalloc(3)



The following reply was made to PR port-macppc/54953; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: Valery Ushakov <uwe%stderr.spb.ru@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: port-macppc/54953: 5.0 binaries on 9.0_RC2 macppc dumps core in
 jemalloc(3)
Date: Wed, 12 Feb 2020 06:11:56 -0800

 > On Feb 12, 2020, at 4:39 AM, Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
 > 
 > Perhaps we can add a hack to ld.so that would check .note.netbsd.ident
 > and if that is missing or predates 6.0 then it would scan the few
 > instructions at the entry point (i.e. old crt0's _start) lookig for
 > the lis/la pair of instructions that sets %r2 and just nop the out?
 
 Sounds like a reasonable fix to me.
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index