[MacPorts] #32062: omniORB @4.1.4 build error with clang

MacPorts noreply at macports.org
Sat Feb 11 19:48:05 PST 2012


#32062: omniORB @4.1.4 build error with clang
-----------------------------------------+----------------------------------
 Reporter:  arnim.balzer@…               |       Owner:  stromnov@…           
     Type:  defect                       |      Status:  new                  
 Priority:  Normal                       |   Milestone:                       
Component:  ports                        |     Version:  2.0.3                
 Keywords:  clang                        |        Port:  omniORB              
-----------------------------------------+----------------------------------

Comment(by lockhart@…):

 > @ryandesign: {{{configure.compiler=llvm-gcc-4.2}}} does work with
 omniorb 4.1.4.
 >
 > I also tried to upgrade to the latest version 4.1.6, but that seems
 broken for Lion (XCode 4.2):
 >
 > Using llvm-gcc-4.2 the error is:
 > {{{
 > /Developer/usr/bin/llvm-g++-4.2 -c -pipe -O2 -arch x86_64 -fno-common
 -bind_at_load  -I/opt/local/include -I.. -I./..
 -I../../../../include/omniORB4/internal
 -I../../../../include/omniORB4/internal  -DUSE_omniORB_logStream
 -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.1.6"'
 -DOMNIORB_VERSION_HEX='0x040106F1'
 -DCONFIG_DEFAULT_LOCATION='"/opt/local/etc/omniORB.cfg"'
 -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I.
 -I../../../../include -I../../../../include -D__OSVERSION__=1 -D__darwin__
 -D__x86_64__ -o static/corbaOrb.o corbaOrb.cc
 > corbaOrb.cc: In member function ‘void
 omniOrbORB::do_shutdown(CORBA::Boolean)’:
 > corbaOrb.cc:1092: error: ‘NO_RESOURCES_UnableToStartThread’ was not
 declared in this scope
 > make[4]: *** [static/corbaOrb.o] Error 1
 > }}}

 I can confirm that 4.1.6 builds on Lion using the llvm-gcc-4.2 compiler
 and XCode-4.2.1 and I see the same problems with "operator<<=()" when
 trying to use clang. Builds fine using python-2.7 as a variant. Will look
 for an open ticket or will open one to get updated to 4.1.6.

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


More information about the macports-tickets mailing list