mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 04:22:54 +00:00
Bring back the path to libstdc++ under i386. Still not fixed upstream
(Closes: #730857)
This commit is contained in:
parent
074d151904
commit
ef6d417a81
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -3,10 +3,12 @@ llvm-toolchain-3.4 (1:3.4~svn194079-1) UNRELEASED; urgency=low
|
||||
* Define also MAXPATHLEN in Path.inc for HURD.
|
||||
* Silent the trillion of warnings in the LLDB Python wrapper (swig generated)
|
||||
See silent-swig-warning.diff
|
||||
* Silent some i386 tests failing (it is expected)
|
||||
* Silent some i386 tests failing (it is expected)
|
||||
See silent-MCJIIT-tests.diff
|
||||
* Make lldb 3.4 also conflict with 3.5 (Closes: #730163)
|
||||
* Make python-clang 3.4 also conflict with 3.5 (Closes: #730164)
|
||||
* Bring back the path to libstdc++ under i386. Still not fixed upstream
|
||||
(Closes: #730857)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 26 Nov 2013 18:33:01 +0100
|
||||
|
||||
|
13
debian/patches/libstdc++-header-i386.diff
vendored
13
debian/patches/libstdc++-header-i386.diff
vendored
@ -1,15 +1,14 @@
|
||||
Index: llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.cpp
|
||||
Index: llvm-toolchain-3.4-3.4~+rc1/clang/lib/Driver/ToolChains.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_3.4~svn193982.orig/clang/lib/Driver/ToolChains.cpp 2013-11-04 09:46:43.636669144 +0100
|
||||
+++ llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.cpp 2013-11-04 09:46:43.636669144 +0100
|
||||
@@ -2715,6 +2715,12 @@
|
||||
--- llvm-toolchain-3.4-3.4~+rc1.orig/clang/lib/Driver/ToolChains.cpp 2013-11-30 15:03:35.257604848 +0000
|
||||
+++ llvm-toolchain-3.4-3.4~+rc1/clang/lib/Driver/ToolChains.cpp 2013-11-30 15:04:14.793603425 +0000
|
||||
@@ -2771,6 +2771,11 @@
|
||||
StringRef BiarchSuffix = GCCInstallation.getBiarchSuffix();
|
||||
const GCCVersion &Version = GCCInstallation.getVersion();
|
||||
|
||||
+#ifdef __i386__
|
||||
+ // clang does not detect this path: /usr/include/i386-linux-gnu/c++/4.8/ Helphim
|
||||
+// For now, comment this patch to make sure it is fixed upstream
|
||||
+// addLibStdCXXIncludePaths( "/usr/include/", "/c++/" + Version.str(), "i386-linux-gnu", GCCInstallation.getMultiarchSuffix(), DriverArgs, CC1Args);
|
||||
+ // clang does not detect this path: /usr/include/i386-linux-gnu/c++/4.8/ Help him
|
||||
+ addLibStdCXXIncludePaths( "/usr/include/", "/c++/" + Version.str(), "i386-linux-gnu", GCCInstallation.getMultiarchSuffix(), DriverArgs, CC1Args);
|
||||
+#endif
|
||||
+
|
||||
if (addLibStdCXXIncludePaths(LibDir.str() + "/../include",
|
||||
|
Loading…
Reference in New Issue
Block a user