forked from kraj/meta-clang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
Showing
48 changed files
with
162 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (C) 2014 Khem Raj <[email protected]> | ||
# Released under the MIT license (see COPYING.MIT for the terms) | ||
|
||
DESCRIPTION = "Clang/LLVM based C/C++ compiler (cross-canadian for ${TARGET_ARCH} target)" | ||
SUMMARY = "Clang/LLVM based C/C++ compiler (cross-canadian for ${TARGET_ARCH} target)" | ||
HOMEPAGE = "http://clang.llvm.org/" | ||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab" | ||
SECTION = "devel" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (C) 2014 Khem Raj <[email protected]> | ||
# Released under the MIT license (see COPYING.MIT for the terms) | ||
|
||
DESCRIPTION = "Cross compiler wrappers for LLVM based C/C++ compiler" | ||
SUMMARY = "Cross compiler wrappers for LLVM based C/C++ compiler" | ||
HOMEPAGE = "http://clang.llvm.org/" | ||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab" | ||
SECTION = "devel" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Copyright (C) 2014 Khem Raj <[email protected]> | ||
# Released under the MIT license (see COPYING.MIT for the terms) | ||
|
||
DESCRIPTION = "SDK Cross compiler wrappers for LLVM based C/C++ compiler" | ||
SUMMARY = "SDK Cross compiler wrappers for LLVM based C/C++ compiler" | ||
HOMEPAGE = "http://clang.llvm.org/" | ||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab" | ||
SECTION = "devel" | ||
|
||
PN = "clang-crosssdk-${TARGET_ARCH}" | ||
PN = "clang-crosssdk-${SDK_SYS}" | ||
|
||
require clang.inc | ||
require common-source.inc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 78c27664e7ffee1bc7a8beff604860ea194e27a5 Mon Sep 17 00:00:00 2001 | ||
From 1ae8003c398cb280038301697860ef5769687648 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Sun, 27 Aug 2017 10:37:49 -0700 | ||
Subject: [PATCH] libcxxabi: Find libunwind headers when | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0002-compiler-rt-support-a-new-embedded-linux-target.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 1b0fd972d7cd2d78061bcf874c177969b19eeaab Mon Sep 17 00:00:00 2001 | ||
From c0462b384da7a882ea924ea47476c3cb49feae46 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Sun, 19 Apr 2015 15:16:23 -0700 | ||
Subject: [PATCH] compiler-rt: support a new embedded linux target | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 11d8cadd76aaf434556eeb9f42ee794ca72802a4 Mon Sep 17 00:00:00 2001 | ||
From 4f2e69944e8a42da9bd1f7d49399dc3d0fad4859 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Thu, 19 May 2016 23:11:45 -0700 | ||
Subject: [PATCH] compiler-rt: Simplify cross-compilation. Don't use | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 7791c1c014b5d2f86142a87a0ede3ad1dc9aea46 Mon Sep 17 00:00:00 2001 | ||
From 0d94f6e299bfa76da9be6451d9e759bc3f6d08a7 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Sat, 21 May 2016 00:33:20 +0000 | ||
Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 347fa4394fc2f70ce199ef6edee17d19d64bf74a Mon Sep 17 00:00:00 2001 | ||
From 754c5869819c2dd008786a191f06385e6b97e19b Mon Sep 17 00:00:00 2001 | ||
From: Martin Kelly <[email protected]> | ||
Date: Fri, 19 May 2017 00:22:57 -0700 | ||
Subject: [PATCH] llvm: allow env override of exe and libdir path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From ff55b613cb917ba96e30ff5c0a09942e52beea7e Mon Sep 17 00:00:00 2001 | ||
From df4c35c458e7f0b752e76500316ce3ab7583dd5b Mon Sep 17 00:00:00 2001 | ||
From: Dan McGregor <[email protected]> | ||
Date: Wed, 26 Apr 2017 20:29:41 -0600 | ||
Subject: [PATCH] clang: driver: Check sysroot for ldso path | ||
|
@@ -15,11 +15,11 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 21 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp | ||
index 2265138edbff..4067f7560140 100644 | ||
index 35bf39069605..e4f593e462d6 100644 | ||
--- a/clang/lib/Driver/ToolChains/Linux.cpp | ||
+++ b/clang/lib/Driver/ToolChains/Linux.cpp | ||
@@ -510,7 +510,11 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
Triple.getEnvironment() == llvm::Triple::GNUEABIHF || | ||
@@ -511,7 +511,11 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
Triple.getEnvironment() == llvm::Triple::GNUEABIHFT64 || | ||
tools::arm::getARMFloatABI(*this, Args) == tools::arm::FloatABI::Hard; | ||
|
||
- LibDir = "lib"; | ||
|
@@ -31,7 +31,7 @@ index 2265138edbff..4067f7560140 100644 | |
Loader = HF ? "ld-linux-armhf.so.3" : "ld-linux.so.3"; | ||
break; | ||
} | ||
@@ -565,11 +569,19 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -566,11 +570,19 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
LibDir = "lib64"; | ||
Loader = | ||
(tools::ppc::hasPPCAbiArg(Args, "elfv2")) ? "ld64.so.2" : "ld64.so.1"; | ||
|
@@ -51,7 +51,7 @@ index 2265138edbff..4067f7560140 100644 | |
break; | ||
case llvm::Triple::riscv32: | ||
case llvm::Triple::riscv64: { | ||
@@ -587,6 +599,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -588,6 +600,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
case llvm::Triple::sparcv9: | ||
LibDir = "lib64"; | ||
Loader = "ld-linux.so.2"; | ||
|
@@ -62,7 +62,7 @@ index 2265138edbff..4067f7560140 100644 | |
break; | ||
case llvm::Triple::systemz: | ||
LibDir = "lib"; | ||
@@ -601,6 +617,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -602,6 +618,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
|
||
LibDir = X32 ? "libx32" : "lib64"; | ||
Loader = X32 ? "ld-linux-x32.so.2" : "ld-linux-x86-64.so.2"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From db1a59d2537f4d843d51e0a628b8d9596fa3e1d1 Mon Sep 17 00:00:00 2001 | ||
From 7875b568926bbec5b7e3312c55991723c917493e Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Thu, 19 May 2016 21:11:06 -0700 | ||
Subject: [PATCH] clang: Driver/tools.cpp: Add -lssp_nonshared on musl | ||
|
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 6 insertions(+) | ||
|
||
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp | ||
index 543f3965dfd4..668b56db37c6 100644 | ||
index 5e9a655eaf82..3e301f2e1d95 100644 | ||
--- a/clang/lib/Driver/ToolChains/Gnu.cpp | ||
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp | ||
@@ -632,6 +632,12 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 58b2cb10360b5188be51c1f535412d7fef3c1fef Mon Sep 17 00:00:00 2001 | ||
From 84c1650cac223a4578eb43c905fdfb30b617274e Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Thu, 16 Mar 2017 09:02:13 -0700 | ||
Subject: [PATCH] clang: Prepend trailing '/' to sysroot | ||
|
@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp | ||
index 4067f7560140..d4b26fc986d9 100644 | ||
index e4f593e462d6..720bc136528b 100644 | ||
--- a/clang/lib/Driver/ToolChains/Linux.cpp | ||
+++ b/clang/lib/Driver/ToolChains/Linux.cpp | ||
@@ -222,7 +222,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From b54a26dfbdef65bc829779cc84e937fe850e777e Mon Sep 17 00:00:00 2001 | ||
From 4584c7048d003b239593ad66162437ffd669c220 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Thu, 16 Mar 2017 19:06:26 -0700 | ||
Subject: [PATCH] clang: Look inside the target sysroot for compiler runtime | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From faf6d96205dad549a7d8214774927f320e3689b0 Mon Sep 17 00:00:00 2001 | ||
From c86ed165440802158757582df52f848cad3c0e57 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Sat, 20 Mar 2021 16:09:16 -0700 | ||
Subject: [PATCH] clang: Define / releative gcc installation dir | ||
|
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 7 insertions(+), 7 deletions(-) | ||
|
||
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp | ||
index 668b56db37c6..e6961b023b5a 100644 | ||
index 3e301f2e1d95..89ffc429d059 100644 | ||
--- a/clang/lib/Driver/ToolChains/Gnu.cpp | ||
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp | ||
@@ -2916,19 +2916,19 @@ void Generic_GCC::GCCInstallationDetector::ScanLibDirForGCCTriple( | ||
@@ -2918,19 +2918,19 @@ void Generic_GCC::GCCInstallationDetector::ScanLibDirForGCCTriple( | ||
// Whether this library suffix is relevant for the triple. | ||
bool Active; | ||
} Suffixes[] = { | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 7c8bd8b6aeb817bd313517b00a2a54ed187986cf Mon Sep 17 00:00:00 2001 | ||
From 08b05e4e835b6cb73c844e300dcc4eb4919d8154 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Wed, 31 Jul 2019 22:51:39 -0700 | ||
Subject: [PATCH] clang: Add -lpthread and -ldl along with -lunwind for static | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 4af5f0a010f3a7c3af40110b8d049486baa8b647 Mon Sep 17 00:00:00 2001 | ||
From 322385b4a6109f3f53c3679d7a276ec0084dd7b6 Mon Sep 17 00:00:00 2001 | ||
From: Anuj Mittal <[email protected]> | ||
Date: Thu, 26 Dec 2019 12:56:16 -0800 | ||
Subject: [PATCH] Pass PYTHON_EXECUTABLE when cross compiling for native build | ||
|
2 changes: 1 addition & 1 deletion
2
recipes-devtools/clang/clang/0013-Check-for-atomic-double-intrinsics.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 23cf856d4896656d1625f7ed96c3b33aabc91cdc Mon Sep 17 00:00:00 2001 | ||
From 2f41e0721f964677e8876b2c2f540836f426c83f Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Mon, 18 Nov 2019 17:00:29 -0800 | ||
Subject: [PATCH] Check for atomic<double> intrinsics | ||
|
2 changes: 1 addition & 1 deletion
2
...ure-for-packages-using-find_package.patch → ...ure-for-packages-using-find_package.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From e741dc89b9322dbdb7c2cb1cd1ea1d4819c1c3d5 Mon Sep 17 00:00:00 2001 | ||
From 6c4f71af6a8c5c0e9261cd20522ecf8d1cdb9e48 Mon Sep 17 00:00:00 2001 | ||
From: Ovidiu Panait <[email protected]> | ||
Date: Fri, 31 Jan 2020 10:56:11 +0200 | ||
Subject: [PATCH] cmake: Fix configure for packages using find_package() | ||
|
37 changes: 0 additions & 37 deletions
37
recipes-devtools/clang/clang/0014-libcxx-Add-compiler-runtime-library-to-link-step-for.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 0550bd3df8005a96da53eb5d746b8ef0001618bd Mon Sep 17 00:00:00 2001 | ||
From 11fce59f48e7d15d9b16509146484d60a04f25e9 Mon Sep 17 00:00:00 2001 | ||
From: Jim Broadus <[email protected]> | ||
Date: Thu, 26 Mar 2020 16:05:53 -0700 | ||
Subject: [PATCH] clang: Fix resource dir location for cross toolchains | ||
|
@@ -20,7 +20,7 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 7 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp | ||
index 8e44d5afa40e..b3eaf45fded9 100644 | ||
index ecae475f75da..ca6c8c98961f 100644 | ||
--- a/clang/lib/Driver/Driver.cpp | ||
+++ b/clang/lib/Driver/Driver.cpp | ||
@@ -189,9 +189,15 @@ std::string Driver::GetResourcesPath(StringRef BinaryPath, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 8ca37b3df79ebba94e028f6f665fd938d458e4d8 Mon Sep 17 00:00:00 2001 | ||
From ed293c1fb5888f6ffe091f7276a7897e1a239c01 Mon Sep 17 00:00:00 2001 | ||
From: Oleksandr Ocheretnyi <[email protected]> | ||
Date: Wed, 15 Apr 2020 00:08:39 +0300 | ||
Subject: [PATCH] clang: driver: Add dyld-prefix when checking sysroot for ldso | ||
|
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 10 insertions(+), 10 deletions(-) | ||
|
||
diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp | ||
index d4b26fc986d9..9149a4baa564 100644 | ||
index 720bc136528b..b3a399187ec3 100644 | ||
--- a/clang/lib/Driver/ToolChains/Linux.cpp | ||
+++ b/clang/lib/Driver/ToolChains/Linux.cpp | ||
@@ -511,8 +511,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -512,8 +512,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
tools::arm::getARMFloatABI(*this, Args) == tools::arm::FloatABI::Hard; | ||
|
||
LibDir = "lib32"; | ||
|
@@ -33,7 +33,7 @@ index d4b26fc986d9..9149a4baa564 100644 | |
LibDir = "lib"; | ||
} | ||
Loader = HF ? "ld-linux-armhf.so.3" : "ld-linux.so.3"; | ||
@@ -569,8 +569,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -570,8 +570,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
LibDir = "lib64"; | ||
Loader = | ||
(tools::ppc::hasPPCAbiArg(Args, "elfv2")) ? "ld64.so.2" : "ld64.so.1"; | ||
|
@@ -44,7 +44,7 @@ index d4b26fc986d9..9149a4baa564 100644 | |
LibDir = "lib"; | ||
} | ||
break; | ||
@@ -578,8 +578,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -579,8 +579,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
LibDir = "lib64"; | ||
Loader = | ||
(tools::ppc::hasPPCAbiArg(Args, "elfv1")) ? "ld64.so.1" : "ld64.so.2"; | ||
|
@@ -55,7 +55,7 @@ index d4b26fc986d9..9149a4baa564 100644 | |
LibDir = "lib"; | ||
} | ||
break; | ||
@@ -599,8 +599,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -600,8 +600,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
case llvm::Triple::sparcv9: | ||
LibDir = "lib64"; | ||
Loader = "ld-linux.so.2"; | ||
|
@@ -66,7 +66,7 @@ index d4b26fc986d9..9149a4baa564 100644 | |
LibDir = "lib"; | ||
} | ||
break; | ||
@@ -617,8 +617,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
@@ -618,8 +618,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const { | ||
|
||
LibDir = X32 ? "libx32" : "lib64"; | ||
Loader = X32 ? "ld-linux-x32.so.2" : "ld-linux-x86-64.so.2"; | ||
|
2 changes: 1 addition & 1 deletion
2
...clang-Use-python3-in-python-scripts.patch → ...clang-Use-python3-in-python-scripts.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 288b38525494bd975ae408f178803be1a482f4b5 Mon Sep 17 00:00:00 2001 | ||
From 42acc8d6b252851b3f3cdae08bd9e1ed5a9c8935 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Wed, 14 Oct 2020 22:19:57 -0700 | ||
Subject: [PATCH] clang: Use python3 in python scripts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 2f718eb848503fb74e9ef403346d79240300fb43 Mon Sep 17 00:00:00 2001 | ||
From 1acea10c68785c42d625618d5cf120e4f19138f2 Mon Sep 17 00:00:00 2001 | ||
From: Hongxu Jia <[email protected]> | ||
Date: Mon, 25 Jan 2021 16:14:35 +0800 | ||
Subject: [PATCH] For x86_64, set Yocto based GCC install search path | ||
|
@@ -57,7 +57,7 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp | ||
index e6961b023b5a..aa7bf4a2455f 100644 | ||
index 89ffc429d059..e05dd30c3f89 100644 | ||
--- a/clang/lib/Driver/ToolChains/Gnu.cpp | ||
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp | ||
@@ -2498,6 +2498,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From b6c5146b473da03699ca79c170828f706508d3c0 Mon Sep 17 00:00:00 2001 | ||
From a1ae883e90cb9554e10d24277a955fb0660e85a1 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Thu, 11 Feb 2021 16:42:49 -0800 | ||
Subject: [PATCH] llvm: Insert anchor for adding OE distro vendor names | ||
|
@@ -18,10 +18,10 @@ Signed-off-by: Martin Jansa <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp | ||
index bf89aace65e5..fb9cbeb30351 100644 | ||
index 21d6c74b5956..32adf92c47bf 100644 | ||
--- a/llvm/lib/TargetParser/Triple.cpp | ||
+++ b/llvm/lib/TargetParser/Triple.cpp | ||
@@ -636,7 +636,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) { | ||
@@ -639,7 +639,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) { | ||
.Case("amd", Triple::AMD) | ||
.Case("mesa", Triple::Mesa) | ||
.Case("suse", Triple::SUSE) | ||
|
2 changes: 1 addition & 1 deletion
2
...t-use-backtrace-APIs-on-non-glibc-l.patch → ...t-use-backtrace-APIs-on-non-glibc-l.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From e273afe387d91a3710117bf3e8f0132cfd2ec3a1 Mon Sep 17 00:00:00 2001 | ||
From 11ef637da77e0fd115211f42665c2ed533f921a5 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Wed, 19 May 2021 17:32:13 -0700 | ||
Subject: [PATCH] compiler-rt: Do not use backtrace APIs on non-glibc linux | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 717710718d5b87551f3662d7e5e534599c1c0d87 Mon Sep 17 00:00:00 2001 | ||
From 9a336eeaa8f8d62057802a98e249df695befa6b6 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Wed, 19 May 2021 17:56:03 -0700 | ||
Subject: [PATCH] clang: Fix x86 triple for non-debian multiarch linux distros | ||
|
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <[email protected]> | |
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp | ||
index 9149a4baa564..cdea589eb226 100644 | ||
index b3a399187ec3..f39c771798a8 100644 | ||
--- a/clang/lib/Driver/ToolChains/Linux.cpp | ||
+++ b/clang/lib/Driver/ToolChains/Linux.cpp | ||
@@ -714,6 +714,9 @@ void Linux::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, | ||
@@ -715,6 +715,9 @@ void Linux::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs, | ||
GCCInstallation.getTriple().getArch() == llvm::Triple::x86 | ||
? "i386-linux-gnu" | ||
: TripleStr; | ||
|
2 changes: 1 addition & 1 deletion
2
...ibunwind-Added-unw_backtrace-method.patch → ...ibunwind-Added-unw_backtrace-method.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From e1c5aa4cf7f4816d8c91d665ec536a3da039288d Mon Sep 17 00:00:00 2001 | ||
From 01500348e14ae9fa8272f00c2a99ac6e153f5f8e Mon Sep 17 00:00:00 2001 | ||
From: Maksim Kita <[email protected]> | ||
Date: Sun, 23 May 2021 10:27:29 +0000 | ||
Subject: [PATCH] libunwind: Added unw_backtrace method | ||
|
Oops, something went wrong.