Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[llvm] Restore the ppc64le support that we lost in llvm8. #9380

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

vgvassilev
Copy link
Member

This patch is backported from https://reviews.llvm.org/D94183

For more discussion see numba/numba#4026

Fixes #8072 and #9297

cc: @smuzaffar

@phsft-bot
Copy link
Collaborator

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1015/python3, mac11/cxx17, windows10/cxx14
How to customize builds

@vgvassilev
Copy link
Member Author

Just to have my patch fixing other things serialized:

diff --git a/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp b/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp
index 93a48f3..18c7029 100644
--- a/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp
+++ b/interpreter/cling/lib/Interpreter/IncrementalExecutor.cpp
@@ -34,6 +34,8 @@
 
 #include <iostream>
 
+#include "llvm/Support/Debug.h"
+
 using namespace llvm;
 
 namespace cling {
@@ -112,6 +114,8 @@ IncrementalExecutor::IncrementalExecutor(clang::DiagnosticsEngine& /*diags*/,
   : m_Diags(diags)
 #endif
 {
+  //llvm::DebugFlag = true;
+  //setCurrentDebugType("dyld");
 
   // MSVC doesn't support m_AtExitFuncsSpinLock=ATOMIC_FLAG_INIT; in the class definition
   std::atomic_flag_clear( &m_AtExitFuncsSpinLock );
diff --git a/interpreter/cling/lib/Interpreter/IncrementalJIT.cpp b/interpreter/cling/lib/Interpreter/IncrementalJIT.cpp
index e20543b..668bf0b 100644
--- a/interpreter/cling/lib/Interpreter/IncrementalJIT.cpp
+++ b/interpreter/cling/lib/Interpreter/IncrementalJIT.cpp
@@ -352,7 +352,7 @@ IncrementalJIT::IncrementalJIT(IncrementalExecutor& exe,
                       this->m_Resolver};
                 },
                 m_NotifyObjectLoaded, NotifyFinalizedT(*this)),
-  m_CompileLayer(m_ObjectLayer, llvm::orc::SimpleCompiler(*m_TM)),
+  m_CompileLayer(m_ObjectLayer, MySimpleCompiler(*m_TM)),
   m_LazyEmitLayer(m_CompileLayer) {
 
   m_CompileLayer.setNotifyCompiled(NCC);
diff --git a/interpreter/cling/lib/Interpreter/IncrementalJIT.h b/interpreter/cling/lib/Interpreter/IncrementalJIT.h
index df4360f..ac4c851 100644
--- a/interpreter/cling/lib/Interpreter/IncrementalJIT.h
+++ b/interpreter/cling/lib/Interpreter/IncrementalJIT.h
@@ -38,6 +38,37 @@ namespace cling {
 class Azog;
 class IncrementalExecutor;
 
+  class MySimpleCompiler : public llvm::orc::SimpleCompiler {
+  public:
+    MySimpleCompiler(llvm::TargetMachine &TM, llvm::ObjectCache *ObjCache = nullptr)
+      : SimpleCompiler(TM, ObjCache) {}
+    CompileResult operator()(llvm::Module &M) {
+      auto R = SimpleCompiler::operator()(M);
+      //auto Filename = "output.o";
+      std::error_code EC;
+      //llvm::raw_fd_ostream dest(Filename, EC, sys::fs::F_None);
+    
+    static unsigned counter = 0;
+    std::string FileStem;
+    {
+     llvm::raw_string_ostream FileStemStream(FileStem);
+     FileStemStream << M.getModuleIdentifier() << "." << ++counter;
+    }
+    llvm::raw_fd_ostream ModuleStream(FileStem + ".ll", EC, llvm::sys::fs::F_None);
+    ModuleStream << M;
+    llvm::raw_fd_ostream ObjectStream(FileStem + ".o", EC, llvm::sys::fs::F_None);
+    ObjectStream.write(R->getBufferStart(), R->getBufferSize());
+
+/*      if (R) {
+        M.dump();
+        //printf("MemBuf '%.*s'\n", (int) R->getBufferSize(), R->getBufferStart());
+        printf("MemBuf '%s'\n", R->getBuffer().data());
+          // dump M and object file *R here.
+      }*/
+      return R;
+    }
+  };
+
 class IncrementalJIT {
 public:
   using SymbolMapT = llvm::StringMap<llvm::JITTargetAddress>;
@@ -131,9 +162,24 @@ private:
     SymbolMapT& m_SymbolMap;
   };
 
+/*  class MySimpleCompiler : public llvm::orc::SimpleCompiler {
+  public:
+    MySimpleCompiler(llvm::TargetMachine &TM, llvm::ObjectCache *ObjCache = nullptr)
+      : SimpleCompiler(TM, ObjCache) {}
+    CompileResult operator()(llvm::Module &M) {
+      auto R = SimpleCompiler::operator()(M);
+      if (R) {
+        M.dump();
+        printf("MemBuf '%.*s'", (int) R->getBufferSize(), R->getBufferStart());
+          // dump M and object file *R here.
+      }
+      return R;
+    }
+  };*/
+
   typedef RemovableObjectLinkingLayer ObjectLayerT;
   typedef llvm::orc::LegacyIRCompileLayer<ObjectLayerT,
-                                       llvm::orc::SimpleCompiler> CompileLayerT;
+                                          MySimpleCompiler> CompileLayerT;
   typedef llvm::orc::LazyEmittingLayer<CompileLayerT> LazyEmitLayerT;
 
   std::unique_ptr<llvm::TargetMachine> m_TM;
diff --git a/interpreter/cling/lib/Interpreter/Interpreter.cpp b/interpreter/cling/lib/Interpreter/Interpreter.cpp
index 544d946..d10eaea 100644
--- a/interpreter/cling/lib/Interpreter/Interpreter.cpp
+++ b/interpreter/cling/lib/Interpreter/Interpreter.cpp
@@ -251,10 +251,9 @@ namespace cling {
     // Enable incremental processing, which prevents the preprocessor destroying
     // the lexer on EOF token.
     PP.enableIncrementalProcessing();
-
-    m_LookupHelper.reset(new LookupHelper(new Parser(PP, SemaRef,
-                                                     /*SkipFunctionBodies*/false,
-                                                     /*isTemp*/true), this));
+    Parser* TempParser = new Parser(PP, SemaRef,/*SkipFunctionBodies*/false,/*isTemp*/true);
+    TempParser->Initialize();
+    m_LookupHelper.reset(new LookupHelper(TempParser, this));
     if (!m_LookupHelper)
       return;

diff --git a/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp b/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp
index f3d7ec8..bbb2c21 100644
--- a/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp
+++ b/interpreter/llvm/src/tools/clang/lib/Parse/Parser.cpp
@@ -452,10 +452,11 @@ Parser::~Parser() {
 ///
 void Parser::Initialize() {
   // Create the translation unit scope.  Install it as the current scope.
+  if (!IsTemporary) {
   assert(getCurScope() == nullptr && "A scope is already active?");
   EnterScope(Scope::DeclScope);
   Actions.ActOnTranslationUnitScope(getCurScope());
-
+  }
   // Initialization for Objective-C context sensitive keywords recognition.
   // Referenced in Parser::ParseObjCTypeQualifierList.
   if (getLangOpts().ObjC) {
@@ -535,10 +536,12 @@ void Parser::Initialize() {
     Ident_module = PP.getIdentifierInfo("module");
   }
 
+  if (!IsTemporary) {
   Actions.Initialize();
 
   // Prime the lexer look-ahead.
   ConsumeToken();
+  }
 }
 
 void Parser::LateTemplateParserCleanupCallback(void *P) {

@phsft-bot
Copy link
Collaborator

Build failed on ROOT-debian10-i386/cxx14.
Running on pcepsft10.dyndns.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@smuzaffar
Copy link
Contributor

@vgvassilev
Copy link
Member Author

@smuzaffar, the jenkins link does not open for me. Can you attach the log here.

@vgvassilev
Copy link
Member Author

@smuzaffar, the jenkins link does not open for me. Can you attach the log here.

The build works for me -- cmsbuild@ibmminsky-1:/scratch/cmsbuild/vvasilev/rootobj.

@smuzaffar
Copy link
Contributor

smuzaffar commented Dec 5, 2021

@vgvassilev did you build root master or root v6.24 plus your change and fb3367f ?

@smuzaffar
Copy link
Contributor

if you have cms account then you should be able to access the logs. It fails (segmentation faults) at the end again with error

cd /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_ppc64le_gcc9/lcg/root/6.24.07-0d11bea31b2c034ddd6b4c7737d8a373/build/tutorials && LD_LIBRARY_PATH=/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_ppc64le_gcc9/lcg/root/6.24.07-0d11bea31b2c034ddd6b4c7737d8a373/build/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/tbb/v2021.4.0-651a6efca0c94b3c25e36a8faa72480b/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-numpy/1.21.2-c4261ffefd3ca80b00d8cb08e36b5a67/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/xrootd/5.3.1-848af73ee6ad63bfef156b440c4c5634/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/xrootd/5.3.1-848af73ee6ad63bfef156b440c4c5634/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/freetype/2.10.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libtiff/4.0.10-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/dcap/2.47.12/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gsl/2.6-6f412e4ca4fc2624839dd060c826bd58/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/giflib/5.2.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/lz4/1.9.2-ae34c1107fd5df43981b899e3cffb041/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/fftw3/3.3.8-eac7240065652d3603e8301d2cecf032/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libjpeg-turbo/2.0.2-llifpc/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libpng/1.6.37/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-cython/0.29.24-48208c98f1b2fb05fdf8cf248e8e98e3/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/OpenBLAS/0.3.15-365e264f5eb8c650c5abe5965142fcf5/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-pip/20.3.3-llifpc2/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-pip/20.3.3-llifpc2/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/zstd/1.4.5-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-setuptools/51.3.3-llifpc2/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/pcre/8.43-8c1dd3674662facab9e6e3314cd61fd3/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/hwloc/2.4.0-f0b8cda4b8e4663ae38d34e601d8446f/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libpciaccess/0.16-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/numactl/2.0.14-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/cuda/11.4.2-0939a3504c82d9c20346029080003d72/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libxml2/2.9.10/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/curl/7.70.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/python3/3.9.6/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/python3/3.9.6/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/sqlite/3.22.0-c4c906c1e57bb9a584d7364f66307a71/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libffi/3.2.1-e67e3e5be269ebb6de560ac98fe20523/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gdbm/1.10-1b1e7fda812e8b0cd77e389a2d1cf51e/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/db6/6.2.32-8cfa28ff7d3e78188bfcc23fc02c71c6/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/xz/5.2.4/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/expat/2.1.0-b174473c0445cc260267c9e4e44719c1/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/bz2lib/1.0.6-acf2897cb2b9727bfbf932c11cc72bf7/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/zlib/1.2.11-99271b1d98da3981abdd2087fe66ac21/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gcc/9.3.0/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gcc/9.3.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/rpm/4.13.0.1/lib:/.singularity.d/libs ROOTIGNOREPREFIX=1 ROOT_HIST=0 /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_ppc64le_gcc9/lcg/root/6.24.07-0d11bea31b2c034ddd6b4c7737d8a373/build/bin/root.exe -l -q -b -n -x hsimple.C -e return
Disabling gnu++: clang has no __float128 support on this target!

Processing hsimple.C...
/bin/sh: line 1: 39009 Segmentation fault      (core dumped) LD_LIBRARY_PATH=/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_ppc64le_gcc9/lcg/root/6.24.07-0d11bea31b2c034ddd6b4c7737d8a373/build/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/tbb/v2021.4.0-651a6efca0c94b3c25e36a8faa72480b/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-numpy/1.21.2-c4261ffefd3ca80b00d8cb08e36b5a67/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/xrootd/5.3.1-848af73ee6ad63bfef156b440c4c5634/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/xrootd/5.3.1-848af73ee6ad63bfef156b440c4c5634/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/freetype/2.10.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libtiff/4.0.10-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/dcap/2.47.12/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gsl/2.6-6f412e4ca4fc2624839dd060c826bd58/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/giflib/5.2.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/lz4/1.9.2-ae34c1107fd5df43981b899e3cffb041/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/fftw3/3.3.8-eac7240065652d3603e8301d2cecf032/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libjpeg-turbo/2.0.2-llifpc/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libpng/1.6.37/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-cython/0.29.24-48208c98f1b2fb05fdf8cf248e8e98e3/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/OpenBLAS/0.3.15-365e264f5eb8c650c5abe5965142fcf5/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-pip/20.3.3-llifpc2/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-pip/20.3.3-llifpc2/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/zstd/1.4.5-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/py3-setuptools/51.3.3-llifpc2/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/pcre/8.43-8c1dd3674662facab9e6e3314cd61fd3/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/hwloc/2.4.0-f0b8cda4b8e4663ae38d34e601d8446f/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libpciaccess/0.16-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/numactl/2.0.14-llifpc/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/cuda/11.4.2-0939a3504c82d9c20346029080003d72/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libxml2/2.9.10/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/curl/7.70.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/python3/3.9.6/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/python3/3.9.6/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/sqlite/3.22.0-c4c906c1e57bb9a584d7364f66307a71/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/libffi/3.2.1-e67e3e5be269ebb6de560ac98fe20523/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gdbm/1.10-1b1e7fda812e8b0cd77e389a2d1cf51e/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/db6/6.2.32-8cfa28ff7d3e78188bfcc23fc02c71c6/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/xz/5.2.4/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/expat/2.1.0-b174473c0445cc260267c9e4e44719c1/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/bz2lib/1.0.6-acf2897cb2b9727bfbf932c11cc72bf7/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/zlib/1.2.11-99271b1d98da3981abdd2087fe66ac21/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gcc/9.3.0/lib64:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/gcc/9.3.0/lib:/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/slc7_ppc64le_gcc9/external/rpm/4.13.0.1/lib:/.singularity.d/libs ROOTIGNOREPREFIX=1 ROOT_HIST=0 /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_ppc64le_gcc9/lcg/root/6.24.07-0d11bea31b2c034ddd6b4c7737d8a373/build/bin/root.exe -l -q -b -n -x hsimple.C -e return
ninja: build stopped: subcommand failed.
error: Bad exit status from /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.nG29NO (%build)

@vgvassilev
Copy link
Member Author

@vgvassilev did you build root master or root v6.24 plus your change and fb3367f ?

@smuzaffar, I am on v6-24-00-patches with the patches you mentioned.

@smuzaffar
Copy link
Contributor

@vgvassilev , this looks good ( I have tested it here cms-sw/cmsdist#7445 ) . Can you please back port it to v6.24 branch too?

Copy link
Member

@hahnjo hahnjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't claim that I fully understand what's going on here (had to look up TOCs, https://reverseengineering.stackexchange.com/questions/21944/powerpc-toc-and-sda#21962 if you're interested), but LGTM.

@vgvassilev can you please update the commit message to point to https://reviews.llvm.org/D91983, which was the original review? The other is just the (attempted) backport to LLVM 10.

@phsft-bot
Copy link
Collaborator

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1015/python3, mac11/cxx17, windows10/cxx14
How to customize builds

@vgvassilev vgvassilev merged commit 09e0f3b into root-project:master Dec 9, 2021
@vgvassilev vgvassilev deleted the ppc64le-lowering branch December 9, 2021 10:26
@phsft-bot
Copy link
Collaborator

Build failed on mac11/cxx17.
Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2021-12-09T10:33:00.835Z] CMake Error at /Users/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1056 (message):

@phsft-bot
Copy link
Collaborator

Build failed on mac1015/python3.
Running on macitois22.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2021-12-09T11:05:08.829Z] CMake Error at /Volumes/HD2/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1056 (message):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failures with root 6.24.00 on Fedora 33 ppc64le
5 participants