Commit 4f61aaf
committed
Use safe march flags for AUTOBAHN
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
```1 parent f66bed5 commit 4f61aaf
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments