Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2025 15:16:40 +0200
From:      Guido Falsi <mad@madpilot.net>
To:        A FreeBSD User <freebsd@walstatt-de.de>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: net/asterisk22: Illegal instruction
Message-ID:  <f77a9e52-8bd7-4cc8-84f0-ab4a71ba3c9b@madpilot.net>
In-Reply-To: <20250621141656.2b7572e5@thor.sb211.local>

index | next in thread | previous in thread | raw e-mail

On 6/21/25 14:17, A FreeBSD User wrote:
> Hello,
> 
> After a recent upgrade of a 14-STABLE (14.3-STABLE #0 n271755-ef360183df81: Sat Jun 21
> 11:23:41 CEST 2025 amd64) appliance and net/asterisk22 (poudriere build, builder host is also
> 14-STABLE, just for the record) the asteriks binzry quits with
> 
> Illegal instruction (platform: PCEngine APU4C2, hw.model: AMD GX-412TC SOC).
> 
> Does anybody see this issue, too?
> 
> 

If I understand correctly you are building binaries yourself.

Do you use any optimization options, especially -march and similar ones?

The error could be caused by a binary optimized for a newer arch 
supporting features (so instructions) not supported by the actual CPU 
you're using.

It is quite possible that with the same optimizations the previous 
version used to work and the newer one does not. Maybe the code in the 
old version did not cause the compiler to output any instructions not 
compatible with your CPU, while some code in the new version does.


This is just one possibility though, maybe there are more possible causes.

-- 
Guido Falsi <mad@madpilot.net>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f77a9e52-8bd7-4cc8-84f0-ab4a71ba3c9b>