-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This addresses an issue that is triggered by Numba 0.57 - see numba/numba#8738 Cherry-Picked-By: H. Vetinari <[email protected]>
- Loading branch information
1 parent
391f974
commit 5eef016
Showing
5 changed files
with
35 additions
and
3 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 @@ | ||
From e1ad26b0a967a41b000373af7c25b5ab62b87d4d Mon Sep 17 00:00:00 2001 | ||
From: Isuru Fernando <[email protected]> | ||
Date: Tue, 4 Aug 2020 21:06:30 -0500 | ||
Subject: [PATCH 1/3] pass through QEMU_LD_PREFIX & SDKROOT | ||
Subject: [PATCH 1/4] pass through QEMU_LD_PREFIX & SDKROOT | ||
|
||
--- | ||
llvm/utils/lit/lit/TestingConfig.py | 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,7 +1,7 @@ | ||
From 3369987c6c4d085692e9a8de8df3e689ba0b453a Mon Sep 17 00:00:00 2001 | ||
From: Isuru Fernando <[email protected]> | ||
Date: Tue, 8 Nov 2022 13:34:20 -0600 | ||
Subject: [PATCH 2/3] Always copy on windows | ||
Subject: [PATCH 2/4] Always copy on windows | ||
|
||
The conda package build machine may have permissions to | ||
create symlinks, but conda doesn't handle symlinks on windows | ||
|
2 changes: 1 addition & 1 deletion
2
recipe/patches/0003-Fixes-vectorizer-and-extends-SVML-support.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,7 +1,7 @@ | ||
From be23454d9f55ad069d65aaf9d94c8816a544c5a0 Mon Sep 17 00:00:00 2001 | ||
From: Ivan Butygin <[email protected]> | ||
Date: Sun, 24 Jul 2022 20:31:29 +0200 | ||
Subject: [PATCH 3/3] Fixes vectorizer and extends SVML support | ||
Subject: [PATCH 3/4] Fixes vectorizer and extends SVML support | ||
|
||
Patch was updated to fix SVML calling convention issues uncovered by llvm 10. | ||
In previous versions of patch SVML calling convention was selected based on | ||
|
31 changes: 31 additions & 0 deletions
31
recipe/patches/0004-RuntimeDyld-RuntimeDyldELF-Clear-GOTOffsetMap-when-r.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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 76ff6a6c9851c3ad20dc427d4b2eb684edf3c828 Mon Sep 17 00:00:00 2001 | ||
From: Graham Markall <[email protected]> | ||
Date: Mon, 3 Apr 2023 11:15:36 -0700 | ||
Subject: [PATCH 4/4] [RuntimeDyld] RuntimeDyldELF: Clear GOTOffsetMap when | ||
resetting GOT section. | ||
|
||
When the GOT section ID is reset, the GOTOffsetMap must also be cleared, | ||
otherwise spurious matches can be located when handling GOT relocations | ||
in subsequently-linked objects. | ||
|
||
Fixes Issue #61402 - see https://github.com/llvm/llvm-project/issues/61402. | ||
|
||
Reviewed By: lhames | ||
|
||
Differential Revision: https://reviews.llvm.org/D146938 | ||
--- | ||
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | ||
index f92618afdf..eb3c27a940 100644 | ||
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | ||
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | ||
@@ -2345,6 +2345,7 @@ Error RuntimeDyldELF::finalizeLoad(const ObjectFile &Obj, | ||
} | ||
} | ||
|
||
+ GOTOffsetMap.clear(); | ||
GOTSectionID = 0; | ||
CurrentGOTIndex = 0; | ||
|