ROOT Version: 6.28/04
Platform: RockyLinux 9.2 (RHEL 9.2)
Compiler: gcc 11.3.1
Hi, I have been compiling/porting our app onto newer versions of linux, with the latest version of root. I have been using dnf to install root and the different packages associated with it. I was successful to do it with RockyLinux 8.8 and compilation succeeds also with RockyLinux 9.2. But I’m having a problem when trying to run a root GUI in RockyLinux 9.2 but in RockyLinux 8.8 it works fine. The problem starts with instantiating the root application:
// **************************************************************************
// * ROOT SETUP
// **************************************************************************
TApplication theApp("App",NULL, NULL);
Below is the trace that I get when I try to run this:
[vmecomp@cerebro1 SuperCytDaemon]$ doView
doView[1272618]: Client Started
Fatal in <operator new>: with std::align_val_t is not implemented yet
aborting
#0 0x00007f04d571829a in wait4 () from /lib64/libc.so.6
#1 0x00007f04d566195b in do_system () from /lib64/libc.so.6
#2 0x00007f04d75081b4 in TUnixSystem::StackTrace() () from /usr/lib64/root/libCore.so.6.28
#3 0x00007f04d73d5cb1 in DefaultErrorHandler(int, bool, char const*, char const*) () from /usr/lib64/root/libCore.so.6.28
#4 0x00007f04d7491d26 in ErrorHandler () from /usr/lib64/root/libCore.so.6.28
#5 0x00007f04d7492609 in Fatal(char const*, char const*, ...) () from /usr/lib64/root/libCore.so.6.28
#6 0x00007f04d81af85d in operator new(unsigned long, std::align_val_t) () from /usr/lib64/root/libNew.so.6.28
#7 0x00007f04d226b620 in std::pair<llvm::StringMapIterator<llvm::cl::Option*>, bool> llvm::StringMap<llvm::cl::Option*, llvm::MallocAllocator>::try_emplace<llvm::cl::Option*>(llvm::StringRef, llvm::cl::Option*&&) () from /usr/lib64/root/libCling.so
#8 0x00007f04d226b9e1 in (anonymous namespace)::CommandLineParser::addOption(llvm::cl::Option*, llvm::cl::SubCommand*) () from /usr/lib64/root/libCling.so
#9 0x00007f04d226beca in llvm::cl::Option::addArgument() () from /usr/lib64/root/libCling.so
#10 0x00007f04cef15817 in __static_initialization_and_destruction_0(int, int) [clone .constprop.0] () from /usr/lib64/root/libCling.so
#11 0x00007f04d82201ae in call_init (env=0x7ffee5f01f98, argv=0x7ffee5f01f88, argc=1, l=<optimized out>) at dl-init.c:70
#12 call_init (l=<optimized out>, argc=1, argv=0x7ffee5f01f88, env=0x7ffee5f01f98) at dl-init.c:26
#13 0x00007f04d822029c in _dl_init (main_map=0xa1c050, argc=1, argv=0x7ffee5f01f88, env=0x7ffee5f01f98) at dl-init.c:117
#14 0x00007f04d5795f65 in _dl_catch_exception () from /lib64/libc.so.6
#15 0x00007f04d8226cbe in dl_open_worker (a=0x7ffee5f01530) at dl-open.c:803
#16 0x00007f04d5795f08 in _dl_catch_exception () from /lib64/libc.so.6
#17 0x00007f04d822704f in _dl_open (file=<optimized out>, mode=-2147483647, caller_dlopen=0x7f04d73a592f <TROOT::InitInterpreter()+703>, nsid=-2, argc=1, argv=0x7ffee5f01f88, env=0x7ffee5f01f98) at dl-open.c:879
#18 0x00007f04d569b86c in dlopen_doit () from /lib64/libc.so.6
#19 0x00007f04d5795f08 in _dl_catch_exception () from /lib64/libc.so.6
#20 0x00007f04d5795fd3 in _dl_catch_error () from /lib64/libc.so.6
#21 0x00007f04d569b33e in _dlerror_run () from /lib64/libc.so.6
#22 0x00007f04d569b921 in dlopen
GLIBC_2.2.5 () from /lib64/libc.so.6
#23 0x00007f04d73a592f in TROOT::InitInterpreter() () from /usr/lib64/root/libCore.so.6.28
#24 0x00007f04d73a5aff in ROOT::Internal::GetROOT2() () from /usr/lib64/root/libCore.so.6.28
#25 0x00007f04d73b25b5 in TApplication::TApplication(char const*, int*, char**, void*, int) () from /usr/lib64/root/libCore.so.6.28
#26 0x00000000004213f5 in main (argc=1, argv=0x7ffee5f01f88) at doView.cpp:190
Aborted (core dumped)
Do you have an idea of how I can go over this? I’ve tried to force app compilation to use c++17, to no effect. Do I need to uninstall root and do a root build myself?
Many thanks in advance,
Emanuel