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

Problem with interpreting a macro when moving from ROOT 6.06/08 to 6.08/04

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.08/04
    • Fix Version/s: 6.10/00, 6.08/06
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      MAC OSX 10.11.5, clang : Apple LLVM version 7.3.0 (clang-703.0.31)

      Description

      The geant4_vmc tests in multithreading mode, running ok with ROOT 6.06/08,
      fail with 6.08/04 when interpreting e.g. test_E02.C macro (attached) with the following
      error report:

      root [1] .x test_E02.C("g4Config.C",kFALSE)
      Error in <TRint::HandleTermInput()>: std::runtime_error caught: >>> Interpreter compilation error:
      Cannot select: 0x7f8256985110: i64 = X86ISD::WrapperRIP TargetGlobalTLSAddress:i64<%class.TVirtualMCApplication** @_ZN21TVirtualMCApplication10fgInstanceE> 0 [TF=19]
      0x7f82569850a0: i64 = TargetGlobalTLSAddress<%class.TVirtualMCApplication** @_ZN21TVirtualMCApplication10fgInstanceE> 0 [TF=19]
      In function: _Z8test_E02RK7TStringb
      root [2] .q

      The failure happens on the call of the static method TVirtualMCApplication::Instance()
      defined in root/montecarlo/vmc/inc/TVirtualMCApplication.h.
      To activate root/vmc support on MAC, the root/montecarlo/vmc/inc/TMCtls.h
      has to be modified by swithing the comments (the modified TMCtls.h)
      is attached.

      There are no changes in root/montecarlo/vmc between these two versions.

      Thank you,

        Attachments

        1. test_E02.C
          1 kB
        2. TMCtls.h
          3 kB

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              ihrivnac Ivana Hrivnacova
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: