mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-02 18:38:00 +00:00
Add patch to fix NEON issue
This commit is contained in:
parent
ba43345ed5
commit
0756ed0706
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
llvm-toolchain-3.9 (1:3.9-5) UNRELEASED; urgency=medium
|
||||
|
||||
* d/p/no-neon-on-armhf.patch: avoid defaulting to NEON instructions
|
||||
for armhf (Closes: #842143).
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 04 Nov 2016 12:27:42 +0100
|
||||
|
||||
llvm-toolchain-3.9 (1:3.9-4) unstable; urgency=medium
|
||||
|
||||
* d/p/bug-30342.diff:
|
||||
|
18
debian/patches/no-neon-on-armhf.patch
vendored
Normal file
18
debian/patches/no-neon-on-armhf.patch
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
Description: Patch suggested from upstream, to build without a default NEON for arm*
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/842142
|
||||
Bug-Debian: https://bugs.debian.org/842143
|
||||
|
||||
Index: llvm-toolchain-3.9-3.9/clang/lib/Driver/Tools.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-3.9-3.9.orig/clang/lib/Driver/Tools.cpp
|
||||
+++ llvm-toolchain-3.9-3.9/clang/lib/Driver/Tools.cpp
|
||||
@@ -9073,7 +9073,7 @@
|
||||
const llvm::Triple &Triple2 = getToolChain().getTriple();
|
||||
switch (Triple2.getSubArch()) {
|
||||
case llvm::Triple::ARMSubArch_v7:
|
||||
- CmdArgs.push_back("-mfpu=neon");
|
||||
+ CmdArgs.push_back("-mfpu=vfp");
|
||||
break;
|
||||
case llvm::Triple::ARMSubArch_v8:
|
||||
CmdArgs.push_back("-mfpu=crypto-neon-fp-armv8");
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -38,3 +38,5 @@ clang-tidy-run-bin.diff
|
||||
drop-wrong-hack-arm64.patch
|
||||
bug-30342.diff
|
||||
fix-scan-view-path.diff
|
||||
|
||||
no-neon-on-armhf.patch
|
||||
|
Loading…
Reference in New Issue
Block a user