Guest User

Untitled

a guest
Jun 29th, 2024
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | Software | 0 0
  1. [pietroz@notgreen ~]$ cling
  2. ERROR in cling::CIFactory::createCI():
  3. resource directory /tmp/makepkg/cling/src/build/lib/clang/13.0.0 not found!
  4.  
  5. ****************** CLING ******************
  6. * Type C++ code and press enter to run it *
  7. * Type .q to exit *
  8. *******************************************
  9. [cling]$ 1+1
  10. In file included from input_line_4:1:
  11. In file included from /opt/cling/include/cling/Interpreter/RuntimePrintValue.h:19:
  12. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/memory:80:
  13. 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:
  14. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/iosfwd:42:
  15. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/postypes.h:40:
  16. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/cwchar:44:
  17. /usr/include/wchar.h:35:10: fatal error: 'stddef.h' file not found
  18. #include <stddef.h>
  19. ^~~~~~~~~~
  20. 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):
  21. cling(+0x8f647f)[0x583310e2e47f]
  22. cling(+0x8f350d)[0x583310e2b50d]
  23. /usr/lib/libc.so.6(+0x3cae0)[0x7d7a36b65ae0]
  24. cling(_ZN5clang11DeclContext10removeDeclEPNS_4DeclE+0x14f)[0x583312e7d75f]
  25. cling(_ZN5cling12DeclUnloader14VisitNamedDeclEPN5clang9NamedDeclE+0x14c)[0x583310c99f6c]
  26. cling(_ZN5cling12DeclUnloader18VisitNamespaceDeclEPN5clang13NamespaceDeclE+0x122)[0x583310c9e872]
  27. cling(_ZN5cling12DeclUnloader16VisitDeclContextEPN5clang11DeclContextE+0x121)[0x583310c9e401]
  28. cling(_ZN5cling12DeclUnloader20VisitLinkageSpecDeclEPN5clang15LinkageSpecDeclE+0x40)[0x583310c9e5d0]
  29. cling(_ZN5cling19TransactionUnloader18unloadDeclarationsEPNS_11TransactionERNS_12DeclUnloaderE+0x26e)[0x583310d322be]
  30. cling(_ZN5cling19TransactionUnloader17RevertTransactionEPNS_11TransactionE+0x205)[0x583310d32765]
  31. cling(_ZN5cling11Interpreter6unloadERNS_11TransactionE+0x215)[0x583310d005a5]
  32. cling(_ZN5cling17IncrementalParser17commitTransactionERN4llvm14PointerIntPairIPNS_11TransactionELj2ENS0_12EParseResultENS1_21PointerLikeTypeTraitsIS4_EENS1_18PointerIntPairInfoIS4_Lj2ES7_EEEEb+0x364)[0x583310cf8fb4]
  33. cling(_ZN5cling17IncrementalParser7CompileEN4llvm9StringRefERKNS_18CompilationOptionsE+0x6c)[0x583310cfc70c]
  34. cling(_ZN5cling11Interpreter7declareERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPPNS_11TransactionE+0xcb)[0x583310d0295b]
  35. cling(_ZN5cling20valuePrinterInternal18printValueInternalB5cxx11ERKNS_5ValueE+0x12d)[0x583310d468fd]
  36. cling(_ZNK5cling5Value5printERN4llvm11raw_ostreamEb+0x43)[0x583310d3cb23]
  37. [0x7d7a36aaf042]
  38. cling(_ZNK5cling19IncrementalExecutor14executeWrapperEN4llvm9StringRefEPNS_5ValueE+0xcb)[0x583310ce4f7b]
  39. cling(_ZN5cling11Interpreter11RunFunctionEPKN5clang12FunctionDeclEPNS_5ValueE+0xc0)[0x583310d04120]
  40. cling(_ZN5cling11Interpreter16EvaluateInternalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18CompilationOptionsEPNS_5ValueEPPNS_11TransactionEm+0x23a)[0x583310d06f5a]
  41. cling(_ZN5cling11Interpreter7processERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_5ValueEPPNS_11TransactionEb+0x20b)[0x583310d0739b]
  42. cling(_ZN5cling13MetaProcessor7processEN4llvm9StringRefERNS_11Interpreter17CompilationResultEPNS_5ValueEb+0x2d1)[0x583310d5cfd1]
  43. cling(_ZN5cling13UserInterface16runInteractivelyEb+0x2e1)[0x583310e581a1]
  44. cling(main+0xbf0)[0x583310b5ecc0]
  45. /usr/lib/libc.so.6(+0x25c88)[0x7d7a36b4ec88]
  46. /usr/lib/libc.so.6(__libc_start_main+0x8c)[0x7d7a36b4ed4c]
  47. cling(_start+0x25)[0x583310bf12e5]
  48. PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
  49. Stack dump:
  50. 0. Program arguments: cling
  51. Errore di segmentazione (core dump creato)
Advertisement
Add Comment
Please, Sign In to add comment