Bjørn Lie
957cff5f17
- version update to 0.4.39 0.4.39 ====== - Security: Fix error message printing buffer overflow leading to possible code execution in orcc with specific input files (CVE-2024-40897). This only affects developers and CI environments using orcc, not users of liborc (Sebastian Dröge, L. E. Segovia) (boo#1228184) - div255w: fix off-by-one error in the implementations (L. E. Segovia) - x86: only run AVX detection if xgetbv is available (L. E. Segovia) - x86: fix AVX detection by implementing the check recommended by Intel (L. E. Segovia) - Only enable JIT compilation on Apple arm64 if running on macOS, fixes crashes on iOS (Piotr Brzeziński) - Fix potential crash in emulation mode if logging is enabled (L. E. Segovia) - Handle undefined TARGET_OS_OSX correctly (Joshua Root) - orconce: Fix typo in GCC __sync-based implementation (Jakub Vaněk) - orconce: Fix usage of __STDC_NO_ATOMICS__ (Alexander Slobodeniuk) - Fix build with MSVC 17.10 + C11 (L. E. Segovia) - Support stack unwinding on Windows (L. E. Segovia) - Major opcode and instruction set code clean-ups and refactoring (Jorge Zapata) - Refactor allocation and chunk initialization of code regions (L. E. Segovia) - Fall back to emulation on Linux if JIT support is not OBS-URL: https://build.opensuse.org/request/show/1189004 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/orc?expand=0&rev=88
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
Index: orc-orc-0.4.28/testsuite/memcpy_speed.c
|
|
===================================================================
|
|
--- orc-orc-0.4.28.orig/testsuite/memcpy_speed.c
|
|
+++ orc-orc-0.4.28/testsuite/memcpy_speed.c
|
|
@@ -102,6 +102,10 @@ main(int argc, char *argv[])
|
|
max = 140;
|
|
}
|
|
|
|
+ /* There is a pathological slow down for max > 150 or so
|
|
+ so set a lower value. */
|
|
+ max = 140;
|
|
+
|
|
for(i=0;i<max;i+=2){
|
|
double x = i*0.1 + 6.0;
|
|
int size = (int) pow(2.0, x);
|
|
Index: orc-orc-0.4.28/testsuite/meson.build
|
|
===================================================================
|
|
--- orc-orc-0.4.28.orig/testsuite/meson.build
|
|
+++ orc-orc-0.4.28/testsuite/meson.build
|
|
@@ -31,6 +31,7 @@ foreach test : tests
|
|
test(
|
|
test,
|
|
t,
|
|
+ timeout: 120,
|
|
env: {
|
|
'testfile': meson.current_source_dir() + '/test.orc',
|
|
'ORC_TARGET': i,
|
|
@@ -43,6 +44,7 @@ foreach test : tests
|
|
test(
|
|
test,
|
|
t,
|
|
+ timeout: 120,
|
|
env: {
|
|
'testfile': meson.current_source_dir() + '/test.orc',
|
|
},
|