[MacPorts] #32062: omniORB @4.1.4 build error with clang
MacPorts
noreply at macports.org
Sun Jan 22 09:39:49 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 Deil.Christoph@…):
I see the same error as Arnim.
@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
}}}
Using clang the error is:
{{{
/Developer/usr/bin/clang++ -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
clang: warning: argument unused during compilation: '-bind_at_load'
corbaOrb.cc:1092:7: error: use of undeclared identifier
'NO_RESOURCES_UnableToStartThread'
OMNIORB_THROW(NO_RESOURCES,
^
/opt/local/include/omniORB4/omniORB.h:732:52: note: instantiated from:
_OMNI_NS(omniExHelper)::name(__FILE__, __LINE__, minor, completion)
^
corbaOrb.cc:1093:7: note: instantiated from:
NO_RESOURCES_UnableToStartThread,
^
1 error generated.
make[4]: *** [static/corbaOrb.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/32062#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list