Use safe march flags for AUTOBAHN#932
Merged
RazvanLiviuVarzaru merged 1 commit intoMariaDB:devfrom Mar 18, 2026
Merged
Conversation
Setting `AUTOBAHN_ARCH_TARGET=safe` will determine the autobahn nvx sources to be compiled with save march flags as per: https://github.com/crossbario/autobahn-python/blob/1c7d45cd2129b1fa6daacb0ed7051448fed3ec0d/src/autobahn/nvx/_compile_args.py#L215 In our scenario the `RH10 ARM` build compiled `_utf8validator` with `PAC` support, being tricked by the QEMU emulation under buildx. `PAC` was introduced on `ARMv8.3-A` while our arm hosts are `ARMv8.2-A` The CI built image passes the GH Actions tests under emulation, while on our ARM hosts we can see that it crashes when trying to push the `RETAA` instruction, during a `buildbot-worker` startup. ``` [buildbot@6d98845070da ~]$ twistd --pidfile= -ny /home/buildbot/buildbot.tac Illegal instruction (core dumped) => 0xfffedeb72120 <PyInit__nvx_utf8validator+184>: retaa ```
Member
|
Yike. Well done. Its a good quick fix for this problem. If |
grooverdan
approved these changes
Mar 17, 2026
Collaborator
Author
|
Solved! @hz-arm-bbw2:~$ docker run -it --rm quay.io/mariadb-foundation/bb-worker:dev_rhel10 bash
[buildbot@42a4e4ba1e9d ~]$ twistd --pidfile= -ny /home/buildbot/buildbot.tac
2026-03-18 09:01:06+0000 [-] Loading /home/buildbot/buildbot.tac...
2026-03-18 09:01:07+0000 [-] Loaded.
2026-03-18 09:01:07+0000 [-] twistd 25.5.0 (/usr/bin/python3 3.12.12) starting up.
2026-03-18 09:01:07+0000 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2026-03-18 09:01:07+0000 [-] Starting Worker -- version: 4.3.0
2026-03-18 09:01:07+0000 [-] recording hostname in twistd.hostname
2026-03-18 09:01:07+0000 [-] Starting factory <buildbot_worker.pb.BotFactory object at 0xffff0f7e4c20>
2026-03-18 09:01:07+0000 [-] Scheduling retry 1 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0xffff0f7e4e00> in 2.4361218204535717 seconds.
2026-03-18 09:01:07+0000 [-] Stopping factory <buildbot_worker.pb.BotFactory object at 0xffff0f7e4c20>
2026-03-18 09:01:09+0000 [-] Starting factory <buildbot_worker.pb.BotFactory object at 0xffff0f7e4c20>
2026-03-18 09:01:09+0000 [-] Scheduling retry 2 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0xffff0f7e4e00> in 2.964904724448062 seconds.
2026-03-18 09:01:09+0000 [-] Stopping factory <buildbot_worker.pb.BotFactory object at 0xffff0f7e4c20>
2026-03-18 09:01:12+0000 [-] Starting factory <buildbot_worker.pb.BotFactory object at 0xffff0f7e4c20>
2026-03-18 09:01:12+0000 [-] Scheduling retry 3 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0xffff0f7e4e00> in 3.4368867318039515 seconds.
2026-03-18 09:01:12+0000 [-] Stopping factory <buildbot_worker.pb.BotFactory object at 0xffff0f7e4c20>
^C2026-03-18 09:01:13+0000 [-] Received SIGINT, shutting down.
2026-03-18 09:01:13+0000 [-] Main loop terminated.
2026-03-18 09:01:13+0000 [-] Server Shut Down. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setting
AUTOBAHN_ARCH_TARGET=safewill determine the autobahn nvx sources to be compiled with safe march flags as per:https://github.com/crossbario/autobahn-python/blob/1c7d45cd2129b1fa6daacb0ed7051448fed3ec0d/src/autobahn/nvx/_compile_args.py#L215
In our scenario the
RH10 ARMbuild compiled_utf8validatorwithPACsupport, being tricked by the QEMU emulation under buildx.PACwas introduced onARMv8.3-Awhile our arm hosts areARMv8.2-AThe CI built image passes the GH Actions tests under emulation, while on our ARM hosts we can see that it crashes when trying to push the
RETAAinstruction, during abuildbot-workerstartup.