root/root-ppc-no-codemodel.patch
Mattias Ellert 1fd9670b71 Update to 6.24.02
ROOT now uses llvm/clang version 9 (updated from version 5)
No longer exclude arch s390x (better supported in llvm/clang 9)
Drop patches accepted upstream or previously backported
Backport some fixes that make more tests work
New subpackages: python{2,3}-distrdf, root-roofit-batchcompute
Require js-jsroot >= 6
2021-08-22 19:10:24 +02:00

13 lines
712 B
Diff

diff --git a/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp b/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp
index c98a3be0ed..f77d4adec2 100644
--- a/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp
+++ b/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp
@@ -77,7 +77,7 @@ CreateHostTargetMachine(const clang::CompilerInstance& CI) {
#if defined(__powerpc64__) || defined(__PPC64__)
// We have to use large code model for PowerPC64 because TOC and text sections
// can be more than 2GB apart.
- JTMB->setCodeModel(CodeModel::Large);
+ //JTMB->setCodeModel(CodeModel::Large);
#endif
std::unique_ptr<TargetMachine> TM = cantFail(JTMB->createTargetMachine());