-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdGuard Home won´t install on OpenBSD on newer processors #7228
Comments
Just sharing this here..
|
What processor/cpu are you running this? Because it will work fine for older CPUs, like the title says, only in new processors with IBT support that it won't work. I also confirmed that updating the golang version and rebuilding the packages will fix the issue. |
cpu0: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz, 3192.87 MHz, 06-3c-03, patch 00000028
Same machine in linux
|
Yeah, so, IBT started shipping on intel 11th gen processors. Your processor won't have any issues running AdGuard Home. Thanks for the additional info though. |
Go 1.23.x is needed to mark OPENBSD_NOBTCFI in the executable. This should be fixed if the release were to be rebuilt with Go 1.23.x. It's currently built with Go 1.22.5. |
v0.107.53 should work you. Feel free to reopen the issue if the problem persists. |
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question or ask for help
I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
OpenBSD, AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On a router, DHCP is handled by the router
AdGuard Home version
v0.107.52
Action
Replace the following command with the one you're calling or a
description of the failing action:
ftp https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.52/AdGuardHome_openbsd_amd64.tar.gz tar xfvz AdGuardHome_openbsd_amd64.tar.gz cd AdGuardHome/ doas ./AdGuardHome -s install
The same error happens if running with the auto installer:
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
Expected result
Install succeeds
Actual result
Job 1, 'doas ./AdGuardHome -s install' terminated by signal SIGILL (Illegal instruction)
Additional information and/or screenshots
I have searched this issue and found out that there is a new feature that was added to go 1.23 to prevent this error when running on newer CPUs.
The issue is discussed here: golang/go#66040
And the fix can be seen here: golang/go@1e43391#diff-9302517e879760a2450ca8ad2ca420fcad6476b4cdc70414369d0b35004ef51fR776
I believe updating the go version to 1.23 on github actions build step should fix the issue for the next release.
The text was updated successfully, but these errors were encountered: