[Ace-users] Re: [tao-bugs] TAO library compilation problem
Robert Hancock
hancock at sedsystems.ca
Fri Aug 31 10:09:07 CDT 2007
Joe Hoffert wrote:
> Compilation problems for $TAO_ROOT/tao/ObjectKey_Table.cpp using
> the default settings of -g and -O3
>
>
>
> DESCRIPTION:
>
> When compiling $ACE_ROOT/tests/RB_Tree_Test.cpp and
> $TAO_ROOT/tao/ObjectKey_Table.cpp with the default settings of -g and
> -O3 the compilation hangs.
>
>
>
> REPEAT BY:
>
> Use the default linux setup and then build ace tests on the
> platform specified.
>
>
>
> SAMPLE FIX/WORKAROUND:
>
> Turn off optimization when compiling (i.e., make optimize=0).
>
This is a bug in the RHEL4 version of g++. You can workaround this by
using -fno-var-tracking as well and keep -g and -O3 on. There is also a
Red Hat update available for this problem:
https://bugzilla.redhat.com/show_bug.cgi?id=218377
http://rhn.redhat.com/errata/RHSA-2007-0220.html
--
Robert Hancock
Programmer Analyst
SED Systems
Phone: (306) 933-1567
Email: hancock at sedsystems.ca
More information about the Ace-users
mailing list