[omniORB] Static build with GCC 3.4
Duncan Grisby
duncan at grisby.org
Thu Mar 3 12:28:29 GMT 2005
On Thursday 10 February, Vladimir Panov wrote:
> When omniORB 4.0.5 (or any 4.0 version, actually) is built with GCC
> 3.4, then a statically linked program against it segfaults on
> startup. The reason is that the static initializers of the code sets
> are not executed (even the ones from libomniORB4.a, not only the ones
> from libomniCodeSets4.a). The reason seems to be a new optimization in
> GCC 3.4 called "unit-at-a-time" which is on by default when using -O2.
Thanks for your patch. I've checked it in. Have you reported the problem
to the GCC developers?
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list