mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-30 22:46:52 +00:00
syscall-mips64el-def.diff: fix the call to undeclared function 'syscall'; on mips
This commit is contained in:
parent
9ccfbc2edd
commit
bbdeb8c37a
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
llvm-toolchain-15 (1:15.0.0~+rc3-1~exp3) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* syscall-mips64el-def.diff: fix the call to undeclared function 'syscall';
|
||||||
|
on mips
|
||||||
|
|
||||||
|
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 02 Sep 2022 11:43:11 +0200
|
||||||
|
|
||||||
llvm-toolchain-15 (1:15.0.0~+rc3-1~exp2) experimental; urgency=medium
|
llvm-toolchain-15 (1:15.0.0~+rc3-1~exp2) experimental; urgency=medium
|
||||||
|
|
||||||
* Update of the build dep from llvm-spirv => llvm-spirv-14
|
* Update of the build dep from llvm-spirv => llvm-spirv-14
|
||||||
|
16
debian/patches/mips/syscall-mips64el-def.diff
vendored
Normal file
16
debian/patches/mips/syscall-mips64el-def.diff
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Index: llvm-toolchain-15-15.0.0~+rc3/compiler-rt/lib/builtins/clear_cache.c
|
||||||
|
===================================================================
|
||||||
|
--- llvm-toolchain-15-15.0.0~+rc3.orig/compiler-rt/lib/builtins/clear_cache.c
|
||||||
|
+++ llvm-toolchain-15-15.0.0~+rc3/compiler-rt/lib/builtins/clear_cache.c
|
||||||
|
@@ -6,6 +6,11 @@
|
||||||
|
//
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
+#if defined(__linux__) && defined(__mips__)
|
||||||
|
+// Otherwise, the build fails as it cannot find syscall
|
||||||
|
+#define _GNU_SOURCE
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include "int_lib.h"
|
||||||
|
#if defined(__linux__)
|
||||||
|
#include <assert.h>
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -77,6 +77,7 @@ libcxx/libcxx-silent-failure-arm64.diff
|
|||||||
mips/mips-fpxx-enable.diff
|
mips/mips-fpxx-enable.diff
|
||||||
mips/mips-force-nomadd4.patch
|
mips/mips-force-nomadd4.patch
|
||||||
mips/mips-D101773-reloc.patch
|
mips/mips-D101773-reloc.patch
|
||||||
|
mips/syscall-mips64el-def.diff
|
||||||
|
|
||||||
26-set-correct-float-abi.diff
|
26-set-correct-float-abi.diff
|
||||||
clang-baseline-fix-i386.patch
|
clang-baseline-fix-i386.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user