Index | Thread | Search

From:
Renaud Allard <renaud@allard.it>
Subject:
Re: net/dnsdist h3 version doesn't seem to start on i386
To:
ports <ports@openbsd.org>
Date:
Thu, 7 Mar 2024 15:18:15 +0100

Download raw body.

Thread

On 3/7/24 3:09 PM, Stuart Henderson wrote:
> On 2024/03/07 14:58, Renaud Allard wrote:
>> Hello,
>>
>> I was playing with dnsdist and wanted to install it on an old soekris. I
>> updated to the latest OpenBSD snapshot (i386) of today and installed
>> dnsdist-1.9.0-h3.
>> But it seems it fails to start with "Illegal instruction (core dumped)".
>> I tried the same config with the non h3 version and it started without
>> issue.
>>
>> Maybe it couldn't run at all on i386, but then the h3 build should probably
>> be removed from the packages build.
> 
> Most likely the machine doesn't have SSE2 and boringssl (which is
> used by dnsdist's h3 flavour) wouldn't build without -msse2.
> I'd expect it to run on newer i386s.

Yes, it clearly has no SSE2

cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" 
586-class) 267 MHz, 05-04-00
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX

I think it would be useful to write that somewhere. Although I doubt 
there are that much people still using those old CPUs.

> 
>> I can provide the core dump if needed.
> 
> A backtrace from the core dump might be useful. The core file itself
> not so useful. Also dmesg.
> 

There were no debug symbols, so not sure that core will be useful

Core was generated by `dnsdist'.
Program terminated with signal 4, Illegal instruction.
#0  0x1c348167 in ?? ()