Debian Patches

Status for massivethreads/1.00-4

Patch Description Author Forwarded Bugs Origin Last update
0001-Add-initial-support-for-aarch64-linux-and-macOS.patch [PATCH 1/5] Add initial support for aarch64 linux and macOS. Katsuhiro Ueno <katsu@riec.tohoku.ac.jp> not-needed upstream, https://github.com/massivethreads/massivethreads/commit/e59141255a7df411b23a86ec395f3b195380840d 2021-05-17
0002-Add-_sync_synchronize-to-avoid-assertion-failure.patch [PATCH 2/5] Add _sync_synchronize to avoid assertion failure. Katsuhiro Ueno <katsu@riec.tohoku.ac.jp> not-needed upstream, https://github.com/massivethreads/massivethreads/commit/7a0a0599203d39b83368a914026c0f1487a96633 2021-05-22
0003-Prevent-myth_get_current_env-from-being-inlined-on-a.patch [PATCH 3/5] Prevent myth_get_current_env from being inlined on aarch64 Linux.

Without this, gcc and clang generate code that saves the value of the
thread index register (tpidr_el0) in the stack and uses the saved value
beyond user thread context switches. Consequently, a worker thread may
corrupt another worker's thread-local environment.
Katsuhiro Ueno <katsu@riec.tohoku.ac.jp> not-needed upstream, https://github.com/massivethreads/massivethreads/commit/4c8694f77ce7e06881c2d8a2c9183a890a22348d 2021-05-22
0004-tests-Fix-build-on-x86_32.patch [PATCH 4/5] tests: Fix build on x86_32
The build of measure_wakeup_latency and measure_latency test fails due to
missing rdtsc's support for x86_32. This adds support rdtsc to x86_32.

Build log: https://buildd.debian.org/status/fetch.php?pkg=massivethreads&arch=i386&ver=1.00-1&stamp=1613918118&raw=0

```
measure_latency.c: In function ‘f’:
measure_latency.c:17:3: error: inconsistent operand constraints in an‘asm’
17 | asm volatile ("rdtsc;shlq $32,%%rdx;orq %%rdx,%%rax":"=a"(u)::"%rdx");
| ^~~
```
Nobuhiro Iwamatsu <iwamatsu@debian.org> no 2021-09-28
0005-Add-support-sparc64.patch [PATCH 5/5] Add support sparc64 Nobuhiro Iwamatsu <iwamatsu@debian.org> no 2021-09-28

All known versions for source package 'massivethreads'

Links