Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[tao-bugs] Stock build system: wrong build order in $TAO_ROOT/orbsvcs/orbsvcs/GNUmakefile.PortableGroup when using static_libs=1

3 views
Skip to first unread message

Vladimir Panov

unread,
Jan 1, 2006, 9:38:38 AM1/1/06
to
TAO VERSION: 1.4.8
ACE VERSION: 5.4.8

HOST MACHINE and OPERATING SYSTEM:

Any.

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:

Not different.

COMPILER NAME AND VERSION (AND PATCHLEVEL):

Any.

THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:

Any.

THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
C++)]:

Any.

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):

// $Id$
// This is an automatically generated file.

ssl=0
qos=1
cidl=0
rwho=0
sctp=0


AREA/CLASS/EXAMPLE AFFECTED:

Building ACE+TAO fails.

DOES THE PROBLEM AFFECT:
COMPILATION?
Yes.

LINKING?
N/A

EXECUTION?
N/A

OTHER (please specify)?
Building ACE+TAO is affected.

SYNOPSIS:

Making $TAO_ROOT/orbsvcs/orbsvcs/GNUmakefile.PortableGroup fails when having static_libs=1.

DESCRIPTION:

When using static_libs=1 and making $TAO_ROOT/orbsvcs/orbsvcs/GNUmakefile.PortableGroup, then make tries to build .obj/PortableGroupC.o before
compiling PortableGroup_Simple_DS.idl. But PortableGroupC.h includes PortableGroup_Simple_DSC.h (which still doesn't exist).
The reason for this is unknown to me.
This doesn't happen for .shobj/PortableGroupC.o.

REPEAT BY:

# Extract a fresh source tree from the distribution
cd ACE_wrappers
export ACE_ROOT=`pwd`
export TAO_ROOT=$ACE_ROOT/TAO
# fill in $ACE_ROOT/ace/config.h
# fill in $ACE_ROOT/include/makeinclude/platform_macros.GNU
make static_libs=1 -C $ACE_ROOT && make static_libs=1 -C $TAO_ROOT

SAMPLE FIX/WORKAROUND:

I have only a workaround: in GNUmakefile.PortableGroup, in the PortableGroup variable, move PortableGroup_Simple_DSC.cpp before PortableGroupC.cpp.

0 new messages