On Mon, Jun 12, 2023 at 07:39:21PM +0200, Peter N. M. Hansteen wrote:
> 
> That lead to, as far as I can tell, to every package on the system being 
> reinstalled.
> 
> However, unfortunately both firefox and thunderbird still dump core with 
> "Illegal instruction".

these ones are a bit expected.

you have recent packages, so there are compiled with the right instructions to 
said to the CPU "you could arrived here from an indirect branch". but some 
handmade functions (usually written in asm) are out of the scope for the 
compiler to automatically add such instructions.

For example, devle/gmp has been recently corrected to have them. Before, the 
asm 
code was doing indirect jump (save the address in a register, and jump to the 
address contained in this register), and the final address destination wasn't a 
`endbr64' instruction to tell to the CPU "it's fine". So CPU triggers an 
exception, and kernel interpret it as SIGILL.

firefox (and thunderbird) has devel/nasm in BUILD_DEPENDS, so they should have 
asm functions which might need correction, or they might using a library in 
this 
case.

Could you get a egdb backtrace (and a disassemble) of the SIGILL ?

Thanks.
-- 
Sebastien Marie

Reply via email to