On Fri, Jun 23, 2023 at 11:12:37AM +0200, Peter N. M. Hansteen wrote:
> Hi,
> 
> Sorry this took so long,
> 
> On 6/15/23 06:49, Sebastien Marie wrote:
> > On Wed, Jun 14, 2023 at 10:49:32PM +0200, Peter N. M. Hansteen wrote:
> > > A similar situation with hexchat, after a fresh sysupgrade and reinstall 
> > > of that package:
> > https://marc.info/?l=openbsd-ports&m=168667722510843&w=2 (I included it 
> > below).
> > 
> > It was first reported with neovim, but I found later that neovim was using
> > embedded version of luajit (so patching lang/luajit port was ineffective).
> > 
> > hexchat is using lang/luajit, so is it possible to test it ?
> 
> On the amd64 snapshot available this morning and a cvs checkout of the ports
> tree at approximately the same time, rebuilding luajit and hexchat after
> applying the patch unfortunately hexchat still dies with an illegal
> instruction --

Thanks for testing.

I commited a change to hexchat to use USE_NOBTCFI and not enforce branches 
checks.

luajit is a bit too hairy too patch: it would require a unmaintainable patch to 
cover all functions with jump, and we don't follow the latest branch upstream 
(2.1 and we are on 2.0).

So I just follow the "mark the binary and revisit later" way.

Thanks.
-- 
Sebastien Marie

Reply via email to