Bug 237669 - dns/bind911 - Build error on arm
Summary: dns/bind911 - Build error on arm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Many People
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-30 09:03 UTC by yani
Modified: 2019-05-23 08:24 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments
Error log (302.39 KB, text/plain)
2019-04-30 09:03 UTC, yani
no flags Details
Proposed patch to fix the compilation on the arm platform (1.69 KB, patch)
2019-04-30 18:57 UTC, yani
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yani 2019-04-30 09:03:11 UTC
Created attachment 204109 [details]
Error log

Hello,

The latest version of bind911 fails to build on arm (using poudriere). Full error logfile attached.


client.o: In function `exit_check':
client.c:(.text+0x86c): undefined reference to `isc_atomic_xadd'
Comment 1 yani 2019-04-30 18:57:53 UTC
Created attachment 204125 [details]
Proposed patch to fix the compilation on the arm platform

Please find attached a proposed patch. It is based on the following git commit:
https://gitlab.isc.org/isc-projects/bind9/commit/d72f436b7d7c697b262968c48c2d7643069ab17f
Comment 2 mikael.urankar 2019-05-01 08:24:05 UTC
bind911 and bind912 lacks atomics op on arm, any reasons to not use bind913+?
Comment 3 Mathieu Arnold freebsd_committer 2019-05-15 10:51:42 UTC
Could you please try to open a bug report upstream to have them confirm applying this patch on 9.11/9.12 is really the right fix for the problem?

https://gitlab.isc.org/isc-projects/bind9/issues/
Comment 4 yani 2019-05-23 08:24:05 UTC
The upstream has provided a fix for this issue in the latest release (9.11.7), so there's no need for the patch anymore.