Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9759

ROOT exits on missing symbol

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • master
    • None
    • Cling
    • None
    • Linux

    Description

      $ cat hasmissingsym.C
      extern "C" int ThisSymbolDoesNotExist();
      void hasmissingsym() {
        ThisSymbolDoesNotExist();
      }
      

      $ root.exe -l -b
      root [0] .L hasmissingsym.C+
      Info in <TUnixSystem::ACLiC>: creating shared library /home/axel/build/root/minimal/src/./hasmissingsym_C.so
      root [1] hasmissingsym()
      root.exe: symbol lookup error: /home/axel/build/root/minimal/src/hasmissingsym_C.so: undefined symbol: ThisSymbolDoesNotExist
      $
      

      Attachments

        Activity

          People

            axel Axel Naumann
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: