[MacPorts] #44062: root6: either make it work on 10.6 (or declare it broken)

MacPorts noreply at macports.org
Wed Jun 18 07:42:34 PDT 2014


#44062: root6: either make it work on 10.6 (or declare it broken)
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  snowleopard
      Port:  root6    |
----------------------+--------------------------------

Comment (by mojca@…):

 So, here's where the fun begins (somewhere at the very end of the build):
 {{{
 cd /path/to/root6/work/build/montecarlo/vmc && ../../bin/rootcling
 -rootbuild -f G__VMC.cxx -s /path/to/root6/work/build/lib/libVMC.so -rml
 libVMC.so -rmf /path/to/root6/work/build/lib/libVMC.rootmap -c
 -I/path/to/root6/work/root-aaf9b65 -I/path/to/root6/work/root-
 aaf9b65/montecarlo/vmc/inc -I/path/to/root6/work/root-aaf9b65/io/io/inc
 -I/path/to/root6/work/build/include -I/path/to/root6/work/root-
 aaf9b65/montecarlo/eg/inc -I/path/to/root6/work/root-
 aaf9b65/graf2d/gpad/inc -I/path/to/root6/work/root-aaf9b65/graf2d/graf/inc
 -I/path/to/root6/work/root-aaf9b65/core/base/inc -I/path/to/root6/work
 /root-aaf9b65/core/clib/inc -I/path/to/root6/work/root-
 aaf9b65/core/cont/inc -I/path/to/root6/work/root-aaf9b65/core/meta/inc
 -I/path/to/root6/work/root-aaf9b65/core/metautils/inc
 -I/path/to/root6/work/root-aaf9b65/core/textinput/inc
 -I/path/to/root6/work/root-aaf9b65/core/unix/inc -I/path/to/root6/work
 /root-aaf9b65/core/winnt/inc -I/path/to/root6/work/root-
 aaf9b65/core/macosx/inc -I/path/to/root6/work/root-aaf9b65/core/zip/inc
 -I/path/to/root6/work/root-aaf9b65/core/lzma/inc -I/path/to/root6/work
 /root-aaf9b65/math/matrix/inc -I/path/to/root6/work/root-
 aaf9b65/math/mathcore/inc -I/path/to/root6/work/root-aaf9b65/io/io/inc
 -I/path/to/root6/work/root-aaf9b65/core/thread/inc -I/path/to/root6/work
 /root-aaf9b65/graf2d/mathtext/inc -I/path/to/root6/work/root-
 aaf9b65/graf3d/g3d/inc -I/path/to/root6/work/root-aaf9b65/hist/hist/inc
 -I/path/to/root6/work/root-aaf9b65/math/physics/inc -I/path/to/root6/work
 /root-aaf9b65/geom/geom/inc TGeoMCGeometry.h TMCOptical.h
 TMCParticleType.h TMCProcess.h TMCtls.h TMCVerbose.h TPDGCode.h
 TVirtualMC.h TVirtualMCApplication.h TVirtualMCGeometry.h
 TVirtualMCStack.h /path/to/root6/work/root-
 aaf9b65/montecarlo/vmc/inc/LinkDef.h
 In file included from input_line_11:1:
 In file included from
 /path/to/root6/work/build/lib/libVMCff499ffe52_dictUmbrella.h:6:
 In file included from /path/to/root6/work/root-
 aaf9b65/montecarlo/vmc/inc/TGeoMCGeometry.h:23:
 In file included from /path/to/root6/work/root-
 aaf9b65/montecarlo/vmc/inc/TVirtualMCGeometry.h:22:
 In file included from /path/to/root6/work/root-
 aaf9b65/core/base/inc/TNamed.h:29:
 In file included from /path/to/root6/work/root-
 aaf9b65/core/base/inc/TString.h:36:
 In file included from /path/to/root6/work/root-
 aaf9b65/core/base/inc/TMathBase.h:34:
 /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/cmath:318:8: warning:
 extra tokens at end of #endif directive [-Wextra-tokens]
 #endif __APPLE__
        ^
        //
 In file included from input_line_11:1:
 In file included from
 /path/to/root6/work/build/lib/libVMCff499ffe52_dictUmbrella.h:13:
 In file included from /path/to/root6/work/root-
 aaf9b65/montecarlo/vmc/inc/TVirtualMC.h:28:
 /path/to/root6/work/root-
 aaf9b65/montecarlo/vmc/inc/TVirtualMCApplication.h:114:11: error:
       thread-local storage is unsupported for the current target
    static TMCThreadLocal TVirtualMCApplication* fgInstance; // singleton
 instance
           ^
 /path/to/root6/work/root-aaf9b65/montecarlo/vmc/inc/TMCtls.h:53:30: note:
       expanded from macro 'TMCThreadLocal'
       #define TMCThreadLocal __thread
                              ^
 In file included from input_line_11:1:
 In file included from
 /path/to/root6/work/build/lib/libVMCff499ffe52_dictUmbrella.h:13:
 /path/to/root6/work/root-aaf9b65/montecarlo/vmc/inc/TVirtualMC.h:867:11:
 error:
       thread-local storage is unsupported for the current target
    static TMCThreadLocal TVirtualMC*  fgMC; // Monte Carlo singleton
 instance
           ^
 /path/to/root6/work/root-aaf9b65/montecarlo/vmc/inc/TMCtls.h:53:30: note:
       expanded from macro 'TMCThreadLocal'
       #define TMCThreadLocal __thread
                              ^
 In file included from input_line_11:1:
 In file included from
 /path/to/root6/work/build/lib/libVMCff499ffe52_dictUmbrella.h:13:
 /path/to/root6/work/root-aaf9b65/montecarlo/vmc/inc/TVirtualMC.h:881:11:
 error:
       thread-local storage is unsupported for the current target
 R__EXTERN TMCThreadLocal TVirtualMC *gMC;
           ^
 /path/to/root6/work/root-aaf9b65/montecarlo/vmc/inc/TMCtls.h:53:30: note:
       expanded from macro 'TMCThreadLocal'
       #define TMCThreadLocal __thread
                              ^
 Error: ../../bin/rootcling: compilation failure
 (/path/to/root6/work/build/lib/libVMCff499ffe52_dictUmbrella.h)
 make[2]: *** [montecarlo/vmc/G__VMC.cxx] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44062#comment:11>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list