Re: clang_parseTransitionUnit2 gives error
Enes Albay <[email protected]> Sun, 17 Apr 2022 10:34:47 +0300
| Newsgroups | gmane.comp.kde.devel.kdevelop |
|---|---|
| Message-ID | <CAA9-PzH5KwTRmMwDkbB1jAnSF4z6_QCFSJeBRMPx=ktwTPJPzg@mail.gmail.com> |
Sorry for the late reply. I tried LIBGL_ALWAYS_INDIRECT=1 ./helloworld from stackoverflow. I attached LD_DEBUG=libs output with Qt and without Qt to this email. On Fri, Apr 15, 2022 at 2:02 AM Sven Brauch <mail-ITmcY+a7/[email protected]> wrote: > Hi, > > which solution did you try? The actual answer (not the comments) sounds > plausible, we have heard of similar issues before, but that might not be > easy to do on your system. > > Maybe you can get further info with LD_DEBUG=libs set and checking if > indeed two different versions of libclang are loaded along the road? > > Greetings, > Sven > > > On 4/14/22 23:26, Enes Albay wrote: > > > > I guess I found the reason for the error. Clang works if I comment out > > the line "QApplication app(argc, argv);" Otherwise It gives error like > this: > > > > $ ./helloworld > > 4 > > Unable to parse translation unit. Quitting. > > > > As far as I understand this bug is related to this one > > https://stackoverflow.com/questions/17953156/cannot-use-libclang-with-qt > > < > https://stackoverflow.com/questions/17953156/cannot-use-libclang-with-qt> > > > > But the solution suggested in stackoverflow does not work for me. Do you > > have any idea ? > > > > /******************MAIN **************************/ > > #include <QApplication> > > #include "clang-c/Index.h" > > > > #include <iostream> > > using namespace std; > > > > int main (int argc, char *argv[]) > > { > > QApplication app(argc, argv); > > CXIndex index = clang_createIndex(0, 0); > > CXTranslationUnit unit = nullptr; > > > > CXErrorCode code = clang_parseTranslationUnit2( > > index, > > "/media/enes/MyFiles/programming/cpp/cmakeExamples/ex1/main.cpp", > > nullptr, 0, > > nullptr, 0, > > CXTranslationUnit_None, &unit); > > > > cerr << code << endl; > > if (code != CXError_Success) { > > cerr << "Unable to parse translation unit. Quitting." << endl; > > exit(-1); > > } > > > > return 0; > > } > > > > > > # CMakeLists.txt > > > > cmake_minimum_required(VERSION 3.0) > > > > project (helloworld) > > > > set(LLVM_ROOT /usr/lib/llvm-13) > > set(QT_MIN_VERSION "5.15.2") > > > > # Find Qt modules > > find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS > > Core # QCommandLineParser, QStringLiteral > > Widgets # QApplication > > ) > > > > find_program(LLVM_CONFIG_EXECUTABLE NAMES llvm-config HINTS > > ${LLVM_ROOT}/bin DOC "llvm-config executable" NO_DEFAULT_PATH) > > message(${LLVM_CONFIG_EXECUTABLE}) > > set(Clang_DIR /usr/lib/llvm-13/cmake) > > > > # Find CMake file for Clang > > find_package(Clang REQUIRED) > > > > execute_process( > > COMMAND ${LLVM_CONFIG_EXECUTABLE} --includedir > > OUTPUT_VARIABLE LLVM_INCLUDE_DIRS > > OUTPUT_STRIP_TRAILING_WHITESPACE > > ) > > > > message(${LLVM_INCLUDE_DIRS}) > > > > execute_process( > > COMMAND ${LLVM_CONFIG_EXECUTABLE} --libdir > > OUTPUT_VARIABLE LLVM_LIBRARY_DIRS > > OUTPUT_STRIP_TRAILING_WHITESPACE > > ) > > > > include_directories(${LLVM_INCLUDE_DIRS}) > > > > set(helloworld_SRCS main.cpp) > > add_executable(helloworld ${helloworld_SRCS}) > > target_link_libraries(helloworld > > Qt5::Widgets > > /usr/lib/llvm-13/lib/libclang.so > > /usr/lib/llvm-13/lib/libclang-cpp.so.13 > > ) > > ~ > > > > > > > > On Tue, Apr 12, 2022 at 6:37 PM Milian Wolff <[email protected] > > <mailto:[email protected]>> wrote: > > > > On Tuesday, April 12, 2022 5:33:38 PM CEST Enes Albay wrote: > > > I found something. After removing clang and llvm from my system I > > get the > > > following error which is the same as before removing clang. > > > > > > I think the actual problem is clang_parseTranslationUnit2 can not > > call > > > clang even before removing clang > > > > > > Is there a way to verify such a situation? > > > > We use libclang directly, not clang. Try to ldd on the > > kdevclangsupport or use > > gdb and `info shared` to see where it loads that from. You didn't > > remove all > > of that yet apparently. > > > > -- > > Milian Wolff > > http://milianw.de <http://milianw.de> > > > > > > > > > > -- > > Enes Albay > -- Enes Albay
ld_debug_helloworld.txt
(text/plain, 136.5 KB) - not displayed
ld_debug_helloworld_qt_comment_out.txt
(text/plain, 26.9 KB)
5067: find library=libclang-11.so.1 [0]; searching
5067: search path=/home/enes/kde/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64:/home/enes/kde/usr/lib/x86_64-linux-gnu/tls/haswell:/home/enes/kde/usr/lib/x86_64-linux-gnu/tls/x86_64:/home/enes/kde/usr/lib/x86_64-linux-gnu/tls:/home/enes/kde/usr/lib/x86_64-linux-gnu/haswell/x86_64:/home/enes/kde/usr/lib/x86_64-linux-gnu/haswell:/home/enes/kde/usr/lib/x86_64-linux-gnu/x86_64:/home/enes/kde/usr/lib/x86_64-linux-gnu:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64/libclang-11.so.1
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/tls/haswell/libclang-11.so.1
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/tls/x86_64/libclang-11.so.1
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/tls/libclang-11.so.1
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/haswell/x86_64/libclang-11.so.1
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/haswell/libclang-11.so.1
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/x86_64/libclang-11.so.1
5067: trying file=/home/enes/kde/usr/lib/x86_64-linux-gnu/libclang-11.so.1
5067: trying file=tls/haswell/x86_64/libclang-11.so.1
5067: trying file=tls/haswell/libclang-11.so.1
5067: trying file=tls/x86_64/libclang-11.so.1
5067: trying file=tls/libclang-11.so.1
5067: trying file=haswell/x86_64/libclang-11.so.1
5067: trying file=haswell/libclang-11.so.1
5067: trying file=x86_64/libclang-11.so.1
5067: trying file=libclang-11.so.1
5067: search path=/usr/lib/llvm-11/lib/tls/haswell/x86_64:/usr/lib/llvm-11/lib/tls/haswell:/usr/lib/llvm-11/lib/tls/x86_64:/usr/lib/llvm-11/lib/tls:/usr/lib/llvm-11/lib/haswell/x86_64:/usr/lib/llvm-11/lib/haswell:/usr/lib/llvm-11/lib/x86_64:/usr/lib/llvm-11/lib (RUNPATH from file ./helloworld)
5067: trying file=/usr/lib/llvm-11/lib/tls/haswell/x86_64/libclang-11.so.1
5067: trying file=/usr/lib/llvm-11/lib/tls/haswell/libclang-11.so.1
5067: trying file=/usr/lib/llvm-11/lib/tls/x86_64/libclang-11.so.1
5067: trying file=/usr/lib/llvm-11/lib/tls/libclang-11.so.1
5067: trying file=/usr/lib/llvm-11/lib/haswell/x86_64/libclang-11.so.1
5067: trying file=/usr/lib/llvm-11/lib/haswell/libclang-11.so.1
5067: trying file=/usr/lib/llvm-11/lib/x86_64/libclang-11.so.1
5067: trying file=/usr/lib/llvm-11/lib/libclang-11.so.1
5067:
5067: find library=libQt5Core.so.5 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libQt5Core.so.5
5067: trying file=tls/haswell/libQt5Core.so.5
5067: trying file=tls/x86_64/libQt5Core.so.5
5067: trying file=tls/libQt5Core.so.5
5067: trying file=haswell/x86_64/libQt5Core.so.5
5067: trying file=haswell/libQt5Core.so.5
5067: trying file=x86_64/libQt5Core.so.5
5067: trying file=libQt5Core.so.5
5067: search path=/usr/lib/llvm-11/lib (RUNPATH from file ./helloworld)
5067: trying file=/usr/lib/llvm-11/lib/libQt5Core.so.5
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libQt5Core.so.5
5067:
5067: find library=libstdc++.so.6 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libstdc++.so.6
5067: trying file=tls/haswell/libstdc++.so.6
5067: trying file=tls/x86_64/libstdc++.so.6
5067: trying file=tls/libstdc++.so.6
5067: trying file=haswell/x86_64/libstdc++.so.6
5067: trying file=haswell/libstdc++.so.6
5067: trying file=x86_64/libstdc++.so.6
5067: trying file=libstdc++.so.6
5067: search path=/usr/lib/llvm-11/lib (RUNPATH from file ./helloworld)
5067: trying file=/usr/lib/llvm-11/lib/libstdc++.so.6
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libstdc++.so.6
5067:
5067: find library=libc.so.6 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libc.so.6
5067: trying file=tls/haswell/libc.so.6
5067: trying file=tls/x86_64/libc.so.6
5067: trying file=tls/libc.so.6
5067: trying file=haswell/x86_64/libc.so.6
5067: trying file=haswell/libc.so.6
5067: trying file=x86_64/libc.so.6
5067: trying file=libc.so.6
5067: search path=/usr/lib/llvm-11/lib (RUNPATH from file ./helloworld)
5067: trying file=/usr/lib/llvm-11/lib/libc.so.6
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libc.so.6
5067:
5067: find library=libdl.so.2 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libdl.so.2
5067: trying file=tls/haswell/libdl.so.2
5067: trying file=tls/x86_64/libdl.so.2
5067: trying file=tls/libdl.so.2
5067: trying file=haswell/x86_64/libdl.so.2
5067: trying file=haswell/libdl.so.2
5067: trying file=x86_64/libdl.so.2
5067: trying file=libdl.so.2
5067: search path=/usr/lib/llvm-11/lib/../lib/tls/haswell/x86_64:/usr/lib/llvm-11/lib/../lib/tls/haswell:/usr/lib/llvm-11/lib/../lib/tls/x86_64:/usr/lib/llvm-11/lib/../lib/tls:/usr/lib/llvm-11/lib/../lib/haswell/x86_64:/usr/lib/llvm-11/lib/../lib/haswell:/usr/lib/llvm-11/lib/../lib/x86_64:/usr/lib/llvm-11/lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/libclang-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/tls/haswell/x86_64/libdl.so.2
5067: trying file=/usr/lib/llvm-11/lib/../lib/tls/haswell/libdl.so.2
5067: trying file=/usr/lib/llvm-11/lib/../lib/tls/x86_64/libdl.so.2
5067: trying file=/usr/lib/llvm-11/lib/../lib/tls/libdl.so.2
5067: trying file=/usr/lib/llvm-11/lib/../lib/haswell/x86_64/libdl.so.2
5067: trying file=/usr/lib/llvm-11/lib/../lib/haswell/libdl.so.2
5067: trying file=/usr/lib/llvm-11/lib/../lib/x86_64/libdl.so.2
5067: trying file=/usr/lib/llvm-11/lib/../lib/libdl.so.2
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libdl.so.2
5067:
5067: find library=libLLVM-11.so.1 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libLLVM-11.so.1
5067: trying file=tls/haswell/libLLVM-11.so.1
5067: trying file=tls/x86_64/libLLVM-11.so.1
5067: trying file=tls/libLLVM-11.so.1
5067: trying file=haswell/x86_64/libLLVM-11.so.1
5067: trying file=haswell/libLLVM-11.so.1
5067: trying file=x86_64/libLLVM-11.so.1
5067: trying file=libLLVM-11.so.1
5067: search path=/usr/lib/llvm-11/lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/libclang-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1
5067:
5067: find library=libm.so.6 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libm.so.6
5067: trying file=tls/haswell/libm.so.6
5067: trying file=tls/x86_64/libm.so.6
5067: trying file=tls/libm.so.6
5067: trying file=haswell/x86_64/libm.so.6
5067: trying file=haswell/libm.so.6
5067: trying file=x86_64/libm.so.6
5067: trying file=libm.so.6
5067: search path=/usr/lib/llvm-11/lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/libclang-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/libm.so.6
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libm.so.6
5067:
5067: find library=libgcc_s.so.1 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libgcc_s.so.1
5067: trying file=tls/haswell/libgcc_s.so.1
5067: trying file=tls/x86_64/libgcc_s.so.1
5067: trying file=tls/libgcc_s.so.1
5067: trying file=haswell/x86_64/libgcc_s.so.1
5067: trying file=haswell/libgcc_s.so.1
5067: trying file=x86_64/libgcc_s.so.1
5067: trying file=libgcc_s.so.1
5067: search path=/usr/lib/llvm-11/lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/libclang-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/libgcc_s.so.1
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libgcc_s.so.1
5067:
5067: find library=libpthread.so.0 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libpthread.so.0
5067: trying file=tls/haswell/libpthread.so.0
5067: trying file=tls/x86_64/libpthread.so.0
5067: trying file=tls/libpthread.so.0
5067: trying file=haswell/x86_64/libpthread.so.0
5067: trying file=haswell/libpthread.so.0
5067: trying file=x86_64/libpthread.so.0
5067: trying file=libpthread.so.0
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libpthread.so.0
5067:
5067: find library=libz.so.1 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libz.so.1
5067: trying file=tls/haswell/libz.so.1
5067: trying file=tls/x86_64/libz.so.1
5067: trying file=tls/libz.so.1
5067: trying file=haswell/x86_64/libz.so.1
5067: trying file=haswell/libz.so.1
5067: trying file=x86_64/libz.so.1
5067: trying file=libz.so.1
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libz.so.1
5067:
5067: find library=libdouble-conversion.so.3 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libdouble-conversion.so.3
5067: trying file=tls/haswell/libdouble-conversion.so.3
5067: trying file=tls/x86_64/libdouble-conversion.so.3
5067: trying file=tls/libdouble-conversion.so.3
5067: trying file=haswell/x86_64/libdouble-conversion.so.3
5067: trying file=haswell/libdouble-conversion.so.3
5067: trying file=x86_64/libdouble-conversion.so.3
5067: trying file=libdouble-conversion.so.3
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libdouble-conversion.so.3
5067:
5067: find library=libicui18n.so.67 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libicui18n.so.67
5067: trying file=tls/haswell/libicui18n.so.67
5067: trying file=tls/x86_64/libicui18n.so.67
5067: trying file=tls/libicui18n.so.67
5067: trying file=haswell/x86_64/libicui18n.so.67
5067: trying file=haswell/libicui18n.so.67
5067: trying file=x86_64/libicui18n.so.67
5067: trying file=libicui18n.so.67
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libicui18n.so.67
5067:
5067: find library=libicuuc.so.67 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libicuuc.so.67
5067: trying file=tls/haswell/libicuuc.so.67
5067: trying file=tls/x86_64/libicuuc.so.67
5067: trying file=tls/libicuuc.so.67
5067: trying file=haswell/x86_64/libicuuc.so.67
5067: trying file=haswell/libicuuc.so.67
5067: trying file=x86_64/libicuuc.so.67
5067: trying file=libicuuc.so.67
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libicuuc.so.67
5067:
5067: find library=libpcre2-16.so.0 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libpcre2-16.so.0
5067: trying file=tls/haswell/libpcre2-16.so.0
5067: trying file=tls/x86_64/libpcre2-16.so.0
5067: trying file=tls/libpcre2-16.so.0
5067: trying file=haswell/x86_64/libpcre2-16.so.0
5067: trying file=haswell/libpcre2-16.so.0
5067: trying file=x86_64/libpcre2-16.so.0
5067: trying file=libpcre2-16.so.0
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libpcre2-16.so.0
5067:
5067: find library=libzstd.so.1 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libzstd.so.1
5067: trying file=tls/haswell/libzstd.so.1
5067: trying file=tls/x86_64/libzstd.so.1
5067: trying file=tls/libzstd.so.1
5067: trying file=haswell/x86_64/libzstd.so.1
5067: trying file=haswell/libzstd.so.1
5067: trying file=x86_64/libzstd.so.1
5067: trying file=libzstd.so.1
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libzstd.so.1
5067:
5067: find library=libglib-2.0.so.0 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libglib-2.0.so.0
5067: trying file=tls/haswell/libglib-2.0.so.0
5067: trying file=tls/x86_64/libglib-2.0.so.0
5067: trying file=tls/libglib-2.0.so.0
5067: trying file=haswell/x86_64/libglib-2.0.so.0
5067: trying file=haswell/libglib-2.0.so.0
5067: trying file=x86_64/libglib-2.0.so.0
5067: trying file=libglib-2.0.so.0
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libglib-2.0.so.0
5067:
5067: find library=libffi.so.7 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libffi.so.7
5067: trying file=tls/haswell/libffi.so.7
5067: trying file=tls/x86_64/libffi.so.7
5067: trying file=tls/libffi.so.7
5067: trying file=haswell/x86_64/libffi.so.7
5067: trying file=haswell/libffi.so.7
5067: trying file=x86_64/libffi.so.7
5067: trying file=libffi.so.7
5067: search path=/usr/lib/llvm-11/lib/../lib/../lib/tls/haswell/x86_64:/usr/lib/llvm-11/lib/../lib/../lib/tls/haswell:/usr/lib/llvm-11/lib/../lib/../lib/tls/x86_64:/usr/lib/llvm-11/lib/../lib/../lib/tls:/usr/lib/llvm-11/lib/../lib/../lib/haswell/x86_64:/usr/lib/llvm-11/lib/../lib/../lib/haswell:/usr/lib/llvm-11/lib/../lib/../lib/x86_64:/usr/lib/llvm-11/lib/../lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/tls/haswell/x86_64/libffi.so.7
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/tls/haswell/libffi.so.7
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/tls/x86_64/libffi.so.7
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/tls/libffi.so.7
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/haswell/x86_64/libffi.so.7
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/haswell/libffi.so.7
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/x86_64/libffi.so.7
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/libffi.so.7
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libffi.so.7
5067:
5067: find library=libedit.so.2 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libedit.so.2
5067: trying file=tls/haswell/libedit.so.2
5067: trying file=tls/x86_64/libedit.so.2
5067: trying file=tls/libedit.so.2
5067: trying file=haswell/x86_64/libedit.so.2
5067: trying file=haswell/libedit.so.2
5067: trying file=x86_64/libedit.so.2
5067: trying file=libedit.so.2
5067: search path=/usr/lib/llvm-11/lib/../lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/libedit.so.2
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libedit.so.2
5067:
5067: find library=librt.so.1 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/librt.so.1
5067: trying file=tls/haswell/librt.so.1
5067: trying file=tls/x86_64/librt.so.1
5067: trying file=tls/librt.so.1
5067: trying file=haswell/x86_64/librt.so.1
5067: trying file=haswell/librt.so.1
5067: trying file=x86_64/librt.so.1
5067: trying file=librt.so.1
5067: search path=/usr/lib/llvm-11/lib/../lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/librt.so.1
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/librt.so.1
5067:
5067: find library=libtinfo.so.6 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libtinfo.so.6
5067: trying file=tls/haswell/libtinfo.so.6
5067: trying file=tls/x86_64/libtinfo.so.6
5067: trying file=tls/libtinfo.so.6
5067: trying file=haswell/x86_64/libtinfo.so.6
5067: trying file=haswell/libtinfo.so.6
5067: trying file=x86_64/libtinfo.so.6
5067: trying file=libtinfo.so.6
5067: search path=/usr/lib/llvm-11/lib/../lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/libtinfo.so.6
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libtinfo.so.6
5067:
5067: find library=libz3.so.4 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libz3.so.4
5067: trying file=tls/haswell/libz3.so.4
5067: trying file=tls/x86_64/libz3.so.4
5067: trying file=tls/libz3.so.4
5067: trying file=haswell/x86_64/libz3.so.4
5067: trying file=haswell/libz3.so.4
5067: trying file=x86_64/libz3.so.4
5067: trying file=libz3.so.4
5067: search path=/usr/lib/llvm-11/lib/../lib/../lib (RUNPATH from file /usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1)
5067: trying file=/usr/lib/llvm-11/lib/../lib/../lib/libz3.so.4
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libz3.so.4
5067:
5067: find library=libicudata.so.67 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libicudata.so.67
5067: trying file=tls/haswell/libicudata.so.67
5067: trying file=tls/x86_64/libicudata.so.67
5067: trying file=tls/libicudata.so.67
5067: trying file=haswell/x86_64/libicudata.so.67
5067: trying file=haswell/libicudata.so.67
5067: trying file=x86_64/libicudata.so.67
5067: trying file=libicudata.so.67
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libicudata.so.67
5067:
5067: find library=libpcre.so.3 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libpcre.so.3
5067: trying file=tls/haswell/libpcre.so.3
5067: trying file=tls/x86_64/libpcre.so.3
5067: trying file=tls/libpcre.so.3
5067: trying file=haswell/x86_64/libpcre.so.3
5067: trying file=haswell/libpcre.so.3
5067: trying file=x86_64/libpcre.so.3
5067: trying file=libpcre.so.3
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libpcre.so.3
5067:
5067: find library=libbsd.so.0 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libbsd.so.0
5067: trying file=tls/haswell/libbsd.so.0
5067: trying file=tls/x86_64/libbsd.so.0
5067: trying file=tls/libbsd.so.0
5067: trying file=haswell/x86_64/libbsd.so.0
5067: trying file=haswell/libbsd.so.0
5067: trying file=x86_64/libbsd.so.0
5067: trying file=libbsd.so.0
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libbsd.so.0
5067:
5067: find library=libmd.so.0 [0]; searching
5067: search path=tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH)
5067: trying file=tls/haswell/x86_64/libmd.so.0
5067: trying file=tls/haswell/libmd.so.0
5067: trying file=tls/x86_64/libmd.so.0
5067: trying file=tls/libmd.so.0
5067: trying file=haswell/x86_64/libmd.so.0
5067: trying file=haswell/libmd.so.0
5067: trying file=x86_64/libmd.so.0
5067: trying file=libmd.so.0
5067: search cache=/etc/ld.so.cache
5067: trying file=/lib/x86_64-linux-gnu/libmd.so.0
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libpthread.so.0
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libc.so.6
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libmd.so.0
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libdl.so.2
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libbsd.so.0
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libpcre.so.3
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libicudata.so.67
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libm.so.6
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libgcc_s.so.1
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libstdc++.so.6
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libz3.so.4
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libtinfo.so.6
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/librt.so.1
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libedit.so.2
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libffi.so.7
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libglib-2.0.so.0
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libzstd.so.1
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libpcre2-16.so.0
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libicuuc.so.67
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libicui18n.so.67
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libdouble-conversion.so.3
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libz.so.1
5067:
5067:
5067: calling init: /usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1
5067:
5067:
5067: calling init: /lib/x86_64-linux-gnu/libQt5Core.so.5
5067:
5067:
5067: calling init: /usr/lib/llvm-11/lib/libclang-11.so.1
5067:
5067:
5067: initialize program: ./helloworld
5067:
5067:
5067: transferring control: ./helloworld
5067:
0
5067:
5067: calling fini: ./helloworld [0]
5067:
5067:
5067: calling fini: /usr/lib/llvm-11/lib/libclang-11.so.1 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libQt5Core.so.5 [0]
5067:
5067:
5067: calling fini: /usr/lib/llvm-11/lib/../lib/libLLVM-11.so.1 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libz.so.1 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libdouble-conversion.so.3 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libicui18n.so.67 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libicuuc.so.67 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libpcre2-16.so.0 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libzstd.so.1 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libglib-2.0.so.0 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libffi.so.7 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libedit.so.2 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/librt.so.1 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libtinfo.so.6 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libz3.so.4 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libstdc++.so.6 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libgcc_s.so.1 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libm.so.6 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libicudata.so.67 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libpcre.so.3 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libpthread.so.0 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libbsd.so.0 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libdl.so.2 [0]
5067:
5067:
5067: calling fini: /lib/x86_64-linux-gnu/libmd.so.0 [0]
5067: