Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [pietroz@notgreen ~]$ cling
- ERROR in cling::CIFactory::createCI():
- resource directory /tmp/makepkg/cling/src/build/lib/clang/13.0.0 not found!
- ****************** CLING ******************
- * Type C++ code and press enter to run it *
- * Type .q to exit *
- *******************************************
- [cling]$ 1+1
- In file included from input_line_4:1:
- In file included from /opt/cling/include/cling/Interpreter/RuntimePrintValue.h:19:
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/memory:80:
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/shared_ptr.h:52:
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/iosfwd:42:
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/postypes.h:40:
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/cwchar:44:
- /usr/include/wchar.h:35:10: fatal error: 'stddef.h' file not found
- #include <stddef.h>
- ^~~~~~~~~~
- Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
- cling(+0x8f647f)[0x583310e2e47f]
- cling(+0x8f350d)[0x583310e2b50d]
- /usr/lib/libc.so.6(+0x3cae0)[0x7d7a36b65ae0]
- cling(_ZN5clang11DeclContext10removeDeclEPNS_4DeclE+0x14f)[0x583312e7d75f]
- cling(_ZN5cling12DeclUnloader14VisitNamedDeclEPN5clang9NamedDeclE+0x14c)[0x583310c99f6c]
- cling(_ZN5cling12DeclUnloader18VisitNamespaceDeclEPN5clang13NamespaceDeclE+0x122)[0x583310c9e872]
- cling(_ZN5cling12DeclUnloader16VisitDeclContextEPN5clang11DeclContextE+0x121)[0x583310c9e401]
- cling(_ZN5cling12DeclUnloader20VisitLinkageSpecDeclEPN5clang15LinkageSpecDeclE+0x40)[0x583310c9e5d0]
- cling(_ZN5cling19TransactionUnloader18unloadDeclarationsEPNS_11TransactionERNS_12DeclUnloaderE+0x26e)[0x583310d322be]
- cling(_ZN5cling19TransactionUnloader17RevertTransactionEPNS_11TransactionE+0x205)[0x583310d32765]
- cling(_ZN5cling11Interpreter6unloadERNS_11TransactionE+0x215)[0x583310d005a5]
- cling(_ZN5cling17IncrementalParser17commitTransactionERN4llvm14PointerIntPairIPNS_11TransactionELj2ENS0_12EParseResultENS1_21PointerLikeTypeTraitsIS4_EENS1_18PointerIntPairInfoIS4_Lj2ES7_EEEEb+0x364)[0x583310cf8fb4]
- cling(_ZN5cling17IncrementalParser7CompileEN4llvm9StringRefERKNS_18CompilationOptionsE+0x6c)[0x583310cfc70c]
- cling(_ZN5cling11Interpreter7declareERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPPNS_11TransactionE+0xcb)[0x583310d0295b]
- cling(_ZN5cling20valuePrinterInternal18printValueInternalB5cxx11ERKNS_5ValueE+0x12d)[0x583310d468fd]
- cling(_ZNK5cling5Value5printERN4llvm11raw_ostreamEb+0x43)[0x583310d3cb23]
- [0x7d7a36aaf042]
- cling(_ZNK5cling19IncrementalExecutor14executeWrapperEN4llvm9StringRefEPNS_5ValueE+0xcb)[0x583310ce4f7b]
- cling(_ZN5cling11Interpreter11RunFunctionEPKN5clang12FunctionDeclEPNS_5ValueE+0xc0)[0x583310d04120]
- cling(_ZN5cling11Interpreter16EvaluateInternalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18CompilationOptionsEPNS_5ValueEPPNS_11TransactionEm+0x23a)[0x583310d06f5a]
- cling(_ZN5cling11Interpreter7processERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_5ValueEPPNS_11TransactionEb+0x20b)[0x583310d0739b]
- cling(_ZN5cling13MetaProcessor7processEN4llvm9StringRefERNS_11Interpreter17CompilationResultEPNS_5ValueEb+0x2d1)[0x583310d5cfd1]
- cling(_ZN5cling13UserInterface16runInteractivelyEb+0x2e1)[0x583310e581a1]
- cling(main+0xbf0)[0x583310b5ecc0]
- /usr/lib/libc.so.6(+0x25c88)[0x7d7a36b4ec88]
- /usr/lib/libc.so.6(__libc_start_main+0x8c)[0x7d7a36b4ed4c]
- cling(_start+0x25)[0x583310bf12e5]
- PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
- Stack dump:
- 0. Program arguments: cling
- Errore di segmentazione (core dump creato)
Advertisement
Add Comment
Please, Sign In to add comment