forked from pool/python-autobahn
* fix: auto ping/pong logs should be debug instead of info (#1524) * new: add auto-ping/pong configuration knob autoPingRestartOnAnyTraffic (see discussion here). * new: extended websocket auto-ping/pong ("heartbeating") with builtin RTT measurement * new: experimental support for transaction_hash in WAMP Publish/Call (see discussion here). * new: support decimal numbers WAMP serialization and round-tripping in both JSON and CBOR * fix: only depend on cbor2 (for WAMP CBOR serialization), not also cbor * fix: PyInstaller and Docker build / CI issues * new: support Python 3.10 * new: allow optional keys in endpoint config validation * fix: reset transport retry status when connection succeeds * fix: update Docker/PyPy to pypy:3.8-slim * fix: autobahn installation in docker (#1503) * new: refactor SigningKey class for reusability (#1500, #1501) * new: expand XBR node pairing helpers * fix: build with nvx by default and don't publish universal wheel. (#1493) * fix: update wamp flatbuffer schema for r2r links * fix: don't clobber factory (#1480) * fix: explicitly require setuptools * new: expand wamp auth scram and xbr argon2/hkdf (#1479) * fix: WebSocket compression, window size (zlib wbits) == 8 is illegal nowerdays (#1477) * fix: XBR IDL code generator - all 4 WAMP actions working now * new: add automated build of xbrnetwork CLI (single-file EXE) in CI - Remove python-mock BuildRequires - Rebase respect-cflags.patch - Ship the xbrnetwork-ui cli tool OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=57
25 lines
945 B
Diff
25 lines
945 B
Diff
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
|
Date: 2019-04-08
|
|
|
|
This bug was found while working on reproducible builds for openSUSE.
|
|
|
|
Without this patch, binaries would use SSE4.1 instructions if the build
|
|
machine's CPU had it available.
|
|
This could cause 'invalid instruction' faults on older user machines.
|
|
|
|
https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
|
|
|
|
Index: autobahn-22.2.2/autobahn/nvx/_utf8validator.py
|
|
===================================================================
|
|
--- autobahn-22.2.2.orig/autobahn/nvx/_utf8validator.py
|
|
+++ autobahn-22.2.2/autobahn/nvx/_utf8validator.py
|
|
@@ -54,7 +54,7 @@ with open(os.path.join(os.path.dirname(_
|
|
"_nvx_utf8validator",
|
|
c_source,
|
|
libraries=[],
|
|
- extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3', '-march=native'],
|
|
+ extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes'],
|
|
optional=optional
|
|
)
|
|
|