[MacPorts] #36172: povray 3.7 fails with thread-local storage not supported

MacPorts noreply at macports.org
Mon Sep 17 04:33:44 PDT 2012


#36172: povray 3.7 fails with thread-local  storage not supported
----------------------------+--------------------------------
  Reporter:  peyser.alex@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  povray         |
----------------------------+--------------------------------
Changes (by ciserlohn@…):

 * port:   => povray


Old description:

> Povray was updated in a recent ticket because of libpng. But I can't find
> a version of gcc on osx lion that actually compiles it --- and as far as
> I can tell, it may require some version of clang (??? possibly ???).
>
> :info:build /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../..  -I../..
> -I../../source -I../../source -I../../source/base -I../../unix
> -I../../vfe -I../../vfe/unix -I/opt/local/include/SDL -D_GNU_SOURCE=1
> -D_THREAD_SAFE -D_THREAD_SAFE -I/opt/local/include/OpenEXR
> -I/opt/local/../include -I/opt/local/../include -I/opt/local/../include
> -I/opt/local/../include -I/opt/local/include -pthread
> -I/opt/local/include  -I/usr/include  -pipe -Wno-multichar -Wno-write-
> strings -fno-enforce-eh-specs -s -O3 -ffast-math -pipe -O2 -arch x86_64
> -D_THREAD_SAFE -MT bbox.o -MD -MP -MF .deps/bbox.Tpo -c -o bbox.o `test
> -f 'bounding/bbox.cpp' || echo './'`bounding/bbox.cpp
> :info:build make[3]: *** [boundingtask.o] Error 1
> :info:build make[3]: *** Waiting for unfinished jobs....
> :info:build In file included from
> ../../source/backend/scene/threaddata.h:101,
> :info:build                  from bounding/bbox.cpp:107:
> :info:build ../../source/backend/support/task.h:187: error: thread-local
> storage not supported for this target
> :info:build make[3]: *** [bbox.o] Error 1

New description:

 Povray was updated in a recent ticket because of libpng. But I can't find
 a version of gcc on osx lion that actually compiles it --- and as far as I
 can tell, it may require some version of clang (??? possibly ???).

 {{{
 :info:build /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../..  -I../..
 -I../../source -I../../source -I../../source/base -I../../unix -I../../vfe
 -I../../vfe/unix -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -D_THREAD_SAFE -I/opt/local/include/OpenEXR   -I/opt/local/../include
 -I/opt/local/../include -I/opt/local/../include -I/opt/local/../include
 -I/opt/local/include -pthread -I/opt/local/include  -I/usr/include  -pipe
 -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math
 -pipe -O2 -arch x86_64 -D_THREAD_SAFE -MT bbox.o -MD -MP -MF
 .deps/bbox.Tpo -c -o bbox.o `test -f 'bounding/bbox.cpp' || echo
 './'`bounding/bbox.cpp
 :info:build make[3]: *** [boundingtask.o] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build In file included from
 ../../source/backend/scene/threaddata.h:101,
 :info:build                  from bounding/bbox.cpp:107:
 :info:build ../../source/backend/support/task.h:187: error: thread-local
 storage not supported for this target
 :info:build make[3]: *** [bbox.o] Error 1
 ]]]

--

Comment:

 Please try a clean build and attach the log if it fails:
 {{{
 $ sudo port clean povray
 $ sudo port selfupdate
 $ sudo port -d install povray
 }}}


 In the future please remember to use [wiki:WikiFormatting] and fill in the
 port field.

-- 
Ticket URL: <https://trac.macports.org/ticket/36172#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list