summaryrefslogtreecommitdiffstats
path: root/src/prelude.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-06 10:23:14 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-06 10:50:20 -0400
commite93a1dccd82f831a2f0d2cc382d8af5e1fda55ed (patch)
tree08940f9839e88d1cb911a3e604dd70655957b754 /src/prelude.h
parenteb4d2263fedf3e5ed6aebe07323614aad157da99 (diff)
downloadbfs-e93a1dccd82f831a2f0d2cc382d8af5e1fda55ed.tar.xz
atomic: Fix RISC-V build with GCC < 14
Prior to GCC 14.1, the __builtin_riscv_pause() can cause an error if the appropriate extension is not enabled in -march: /tmp/ccR1L1lA.s: Assembler messages: /tmp/ccR1L1lA.s:670: Error: unrecognized opcode `pause', extension `zihintpause' required Link: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626748.html Link: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=c2d04dd659c499d8df19f68d0602ad4c7d7065c2 Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=riscv64&ver=3.3.1-1&stamp=1717488400&raw=0
Diffstat (limited to 'src/prelude.h')
0 files changed, 0 insertions, 0 deletions