except that it failed at
some example due to lack of a "GNUmakefile.Svc_Cfg_IPC_Client_Loc_Dgram"
TAO 6.4.3 to be built with developerstudio12.5 (on Oracle Solaris)INDIRECTION -DTAO_PORTABLESERVER_BUILD_DLL -c -KPIC -o .shobj/PolicyS.o PolicyS.cpp
CC -features=zla -mt -m64 -g -library=Cstd -DACE_HAS_KSTAT -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -D_POSIX_PTHREAD_SEMANTICS -I/rnvs/software/fuer_12.5/ACE_wrappers -DACE_HAS_SCTP -DACE_HAS_LKSCTP -D__ACE_INLINE__ -I../../.. -I../.. -DTAO_HAS_VALUETYPE_OUT_
"../../tao/Any_Insert_Policy_T.h", line 42: Error: CORBA::Any::operator<<=(unsigned char) is not accessible from static TAO::Any_Insert_Policy_Stream<unsigned>::any_insert(CORBA::Any*, const unsigned&).
"../../tao/PortableServer/Basic_SArgument_T.cpp", line 103: Where: While instantiating "static TAO::Any_Insert_Policy_Stream<unsigned>::any_insert(CORBA::Any*, const unsigned&)".
"../../tao/PortableServer/Basic_SArgument_T.cpp", line 103: Where: Instantiated from TAO::Ret_Basic_SArgument_T<unsigned, Any_Insert_Policy_Stream>::interceptor_value(CORBA::Any*) const.
Where: Instantiated from non-template code.
1 Error(s) detected.
make[1]: *** [.shobj/PolicyS.o] Error 2
make[1]: Leaving directory `/rnvs/software/fuer_12.5/ACE_wrappers/TAO/tao/PortableServer'
TAO 6.4.3 to be built with developerstudio12.5 (on Oracle Solaris)Here is a stripped down and simplified test case, that produces the same error:
Andreas Leitgeb <[email protected]> wrote:
TAO 6.4.3 to be built with developerstudio12.5 (on Oracle Solaris)Here is a stripped down and simplified test case, that produces the same error:
Here is a slightly more verbose testcase for the compiler regression, that also shows how it cannot be just worked around (short of major changes to
TAO or at least to tao_idl to produce different code):
https://pastebin.com/UAmsdDin
I'd appreciate feedback if anyone can try to compile either the testcase.cpp or TAO itself with previous version 12.4 or next version 12.6 of solarisstudio.
A couple of years ago I already tried to compile TAO with 12.4, but back
then the compiler died with some ICE (internal compiler error). I didn't spend much effort on analyzing, but just stepped back to 12.3, which worked. Have they at least fixed the ICE in the meantime?
Andreas Leitgeb <[email protected]> wrote:
TAO 6.4.3 to be built with developerstudio12.5 (on Oracle Solaris)Here is a stripped down and simplified test case, that produces the same error:
Here is a slightly more verbose testcase for the compiler regression, that also shows how it cannot be just worked around (short of major changes to
TAO or at least to tao_idl to produce different code):
https://pastebin.com/UAmsdDin
I'd appreciate feedback if anyone can try to compile either the testcase.cpp or TAO itself with previous version 12.4 or next version 12.6 of solarisstudio.
A couple of years ago I already tried to compile TAO with 12.4, but back
then the compiler died with some ICE (internal compiler error). I didn't spend much effort on analyzing, but just stepped back to 12.3, which worked. Have they at least fixed the ICE in the meantime?
You can always open an issue of pull request at
https://github.com/DOCGroup/ACE_TAO.
Johnny Willemsen <[email protected]> wrote:
You can always open an issue of pull request at
https://github.com/DOCGroup/ACE_TAO.
So, as of now, I'd suggest these changes:
adding config-suncc-common.h (or at least the ACE_ANY_OPS_USE_NAMESPACE)
to config-sunos5.10.h (like how it is already in config-linux.h)
changing config-lite.h along "s/0x5130/0x5140/", because the heuristics
for 12.4 (0x5130) appear still necessary for 12.5 (0x5140)
reviewing all other places that query the symbol __SUNPRO_CC:
e.g.: orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp has: [...]
Johnny Willemsen <[email protected]> wrote:
You can always open an issue of pull request at
https://github.com/DOCGroup/ACE_TAO.
Only now I stumbled over the symbol ACE_ANY_OPS_USE_NAMESPACE and
a ChangeLog entry back from Apr 13th 2016. You guys are awesome.
So, my reported "regression" of the compiler appears to be intended
as a "progression" instead (hard to tell just from the symptoms),
and it is in principle covered already.
So, why didn't it work out of the box, then? The answer on that is,
that the symbol ACE_ANY_OPS_USE_NAMESPACE gets (conditionally) defined in config-suncc-common.h (as well as in some other os's headers), but this file itself is not #include'd into any of the config-sunos5.*.h headers.
So, as of now, I'd suggest these changes:
adding config-suncc-common.h (or at least the ACE_ANY_OPS_USE_NAMESPACE)
to config-sunos5.10.h (like how it is already in config-linux.h)
Alternatively, instructions could be updated to suggest including
also config-suncc-common.h into the config.h
changing config-lite.h along "s/0x5130/0x5140/", because the heuristics
for 12.4 (0x5130) appear still necessary for 12.5 (0x5140)
(see the first post of this thread)
reviewing all other places that query the symbol __SUNPRO_CC:
e.g.: orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp has:
#if defined (__SUNPRO_CC)
// This typedef is a workaround for a SunCC 4.2 bug
typedef ...
#endif
will try to see, if the typedef is still necessary.
I will eventually PR these changes, but would appreciate any feedback
ahead, if any of them is already known or should be fixed differently.
PS: as of writing this, a build with "#define ACE_ANY_OPS_USE_NAMESPACE"
added directly to my config.h is still in progress...
I noticed that your compiling with -std=Cstd instead of libstdc++. Doesn't that
inhibit you from using C++14 or C++11 features? I was originally configuring mine to compile with -std=c++11 or -std=c++14 in order to link with binaries compatible with GCC a new feature of Solaris Developer Studio.
Andreas Leitgeb <[email protected]> wrote:
Johnny Willemsen <[email protected]> wrote:
You can always open an issue of pull request at
https://github.com/DOCGroup/ACE_TAO.
I've just created PR #461 on github.
So, as of now, I'd suggest these changes:
adding config-suncc-common.h (or at least the ACE_ANY_OPS_USE_NAMESPACE) >> to config-sunos5.10.h (like how it is already in config-linux.h)
I noticed, that the conditional define for ACE_ANY_OPS_USE_NAMESPACE was originally added in config-sunos5.10.h and then moved to config-suncc-common.h.
This "move" should have been a "copy" instead, because config-suncc-common.h isn't included from the config-sunos5.* headers, but sunos definitely needs the symbol defined for the recent compiler versions.
changing config-lite.h along "s/0x5130/0x5140/", because the heuristics
for 12.4 (0x5130) appear still necessary for 12.5 (0x5140)
added in PR.
reviewing all other places that query the symbol __SUNPRO_CC:
e.g.: orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp has: [...]
Ignored for now. (at least it didn't matter)
Two more build errors (RND_Timer.cpp and union.idl) showed up, and were rather easy to fix and are now also included in the PR.
Small correction near bottom of quoted text.
Andreas Leitgeb <[email protected]> wrote:
Andreas Leitgeb <[email protected]> wrote:
Johnny Willemsen <[email protected]> wrote:
You can always open an issue of pull request at
https://github.com/DOCGroup/ACE_TAO.
I've just created PR #461 on github.
So, as of now, I'd suggest these changes:
adding config-suncc-common.h (or at least the ACE_ANY_OPS_USE_NAMESPACE) >> to config-sunos5.10.h (like how it is already in config-linux.h)
I noticed, that the conditional define for ACE_ANY_OPS_USE_NAMESPACE was originally added in config-sunos5.10.h and then moved to config-suncc-common.h.
This "move" should have been a "copy" instead, because config-suncc-common.h
isn't included from the config-sunos5.* headers, but sunos definitely needs the symbol defined for the recent compiler versions.
changing config-lite.h along "s/0x5130/0x5140/", because the heuristics >> for 12.4 (0x5130) appear still necessary for 12.5 (0x5140)
added in PR.
reviewing all other places that query the symbol __SUNPRO_CC:
e.g.: orbsvcs/orbsvcs/Event/EC_Basic_Factory.cpp has: [...]
Ignored for now. (at least it didn't matter)
Two more build errors (RND_Timer.cpp and union.idl) showed up, and were rather easy to fix and are now also included in the PR.
Sorry, that was class RND_Timer in Random.cpp
Andreas Leitgeb <[email protected]> wrote:
Johnny Willemsen <[email protected]> wrote:
You can always open an issue of pull request at
https://github.com/DOCGroup/ACE_TAO.
I've just created PR #461 on github.
Hi,
Andreas Leitgeb <[email protected]> wrote:The PR has been integrated and is now part of TAO 2.4.4! See https://swsupport.remedy.nl/news/31-ace-6-4-4-and-tao-2-4-4-released
Johnny Willemsen <[email protected]> wrote:I've just created PR #461 on github.
You can always open an issue of pull request at
https://github.com/DOCGroup/ACE_TAO.
for all release details.
BTW., the page is flagged by firefox as "unsafe". In particular, the
avatar (image from www.gravatar.com) uses an http (no s) url.
It seems like the avatar-url would work with https, too.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 160:02:27 |
| Calls: | 12,094 |
| Calls today: | 2 |
| Files: | 15,000 |
| Messages: | 6,517,761 |