Skip to content

Conversation

@nnarayanamurthy
Copy link
Contributor

This PR adds support for building and running unbound on QNX.

The changes are focused on enabling successful compilation and execution on QNX
while preserving existing behavior on Linux and other supported platforms.

Key changes
Add QNX-specific handling in few places and updated relevant QNX headers, Defines, system_apis.
Add QNX-specific handling for validating paths to ".", since we test on target.
Update build system logic to recognize QNX correctly.

The build completed successfully, and AMQP-CPP examples executed correctly without runtime issues.
Testing was performed on a QNX image running on Raspberry Pi.

Build and test instructions for QNX: https://github.com/qnx-ports/build-files/tree/main/ports/unbound

* qnx Porting support for version release-1.24.1

* updating __QNXNTO__ with __QNX__
@nnarayanamurthy nnarayanamurthy marked this pull request as ready for review January 20, 2026 05:50
Copy link
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look fine. It is nice to have support for QNX.

@wcawijngaards wcawijngaards merged commit fe10bc7 into NLnetLabs:master Jan 21, 2026
jedisct1 added a commit to jedisct1/unbound that referenced this pull request Jan 27, 2026
* nlnet/master: (25 commits)
  - Add test for allow-notify with a host name.
  - Fix to not skip allow-notify hostname lookups when there are only   urls.
  - Fix that allow-notify entries with hostnames are copied after IPv4   and IPv6 lookup.
  - Update generated man pages.
  Changelog entry for NLnetLabs#1396: - Merge NLnetLabs#1396: Log Linux thread ID. - On Linux systems log the system-wide unique thread ID instead of   Unbound's internal thread counter. - Introduce the 'log-thread-id' configuration option to manage logging   the system-wide Linux thread ID for easier debugging with system   tools.
  - Introduce the 'log-thread-id' configuration option to manage logging   the system-wide Linux thread ID for easier debugging with system   tools.
  - On Linux systems log the system-wide unique thread ID instead of   Unbound's internal thread counter.
  - Fix http test tool petal to not print errors when there is no   error.
  - Fix that fast reload copies the iter_scrub_ns, iter_scrub_cname   and max_global_quota options.
  - Merge NLnetLabs#1388: QNX Porting support for unbound.
  QNX Porting support for unbound branch-1.24.1 (NLnetLabs#1388)
  - Merge NLnetLabs#1392: Include "V" (version) option in synopsis.
  Include "V" (version) option in synopsis (NLnetLabs#1392)
  - Fix documentation for requestlist.overwritten and   requestlist.exceeded, it explains which query was dropped.
  Compile fixup for NLnetLabs#1381.
  Changelog note for NLnetLabs#1381, and man page explanation. - Merge NLnetLabs#1381: Do not initialize quic_table unless it is enabled.
  Do not initialize quic_table unless it is enabled (NLnetLabs#1381)
  Changelog entry for NLnetLabs#1391: - Merge NLnetLabs#1391 from Götz Görisch: Fix documentation to adhere to   RFC5952.
  Fix documentation to adhere to RFC 5952
  - Fix edns subnet, that scope zero queries, when there is a   subquery without subnet, and the forward-no-cache or   stub-no-cache option is set, it is not stored in cache due to   the forward or stub option. This has the changelog entry and test.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants