[distcc] distcc and aCC on HP-UX 11.11
Michael Orlov
michaelo at amdocs.com
Mon Aug 16 14:30:20 GMT 2004
On Mon, 2004-08-16 at 16:41, Michael Orlov wrote:
> Hi,
> On Mon, 2004-08-16 at 13:00, mbp at sourcefrog.net wrote:
> > On 16 Aug 2004, Michael Orlov <michaelo at amdocs.com> wrote:
> > >
> > > Hi
> > > I'm trying to compile ACE wrappers on HP-UX 11.11 with distcc 2.17 .
> > > I'm using the masquerading for the aCC compiler.
> > > But I got the strange issue: all the *.o files that I get from the
> > > remote machines are with 0 size....
> >
> > > distccd[3323] send DOTO00000000
> > > distccd[3323] aCC SOCK_Acceptor.cpp on localhost completed ok
> >
> > I guess aCC doesn't support the -o option in the same way that gcc
> > does. If you can experiment with preprocessing and compiling by hand
> > and let me know what command if any does work, then I can try to
> > support it in a future version.
> I tried to understand what is happening during the compilation and I
> found that the *.ii suffix is not supported by aCC at all, it just don't
> do nothing when it gets the *.ii file as input. In addition it reports
> status 0 when it try to compile the source with *.ii suffix.
>
> May be it possible to change somehow (from some configuration variable)
> the suffix of the pre-compiled source ? I guess it'll help.
>
In addition:
>From the distccd.log :
distccd[9367] scanning arguments: aCC +DAportable +Z -c -w -P
./validators/schema/identity/XPathSymbols.cpp -o XPathSymbols.o
distccd[9367] found input file
"./validators/schema/identity/XPathSymbols.cpp"
distccd[9367] found object/output file "XPathSymbols.o"
distccd[9367] compile from XPathSymbols.cpp to XPathSymbols.o
distccd[9367] output file XPathSymbols.o
distccd[9367] input file ./validators/schema/identity/XPathSymbols.cpp
distccd[9367] turned on timeout for 30s
distccd[9367] got DOTI00004c56
distccd[9367] received 19542 bytes to file /tmp/distccd_8828accc.ii
distccd[9367] 19542 bytes received in 0.016054s, rate 1189kB/s
distccd[9367] changed input from
"./validators/schema/identity/XPathSymbols.cpp" to
"/tmp/distccd_8828accc.ii"
distccd[9367] command after: aCC +DAportable +Z -c -w -P
/tmp/distccd_8828accc.ii -o XPathSymbols.o
distccd[9367] changed output from "XPathSymbols.o" to
"/tmp/distccd_9d87accc.o"
distccd[9367] command after: aCC +DAportable +Z -c -w -P
/tmp/distccd_8828accc.ii -o /tmp/distccd_9d87accc.o
I found that except the *.ii suffix , the -P flag on the remote machine
shouldn't be used. I create with the -E flag on the local machine *.i
file (pre-compiled source) and then runs it with the following command:
aCC +DAportable +Z -c -w test.i -o test.o
and I got a healthful object file ;-)
-P flag (from the aCC man) is
Preprocess named C++ files and leave the result in
corresponding files suffixed with .i.
So, as I understand this flag shouldn't be used on the remote machine.
Thanks,
--
Michael Orlov
System Unix Team
Amdocs (Israel) LTD
Tel: +972-9-7762963
Mail: michael.orlov at amdocs.com
The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
More information about the distcc
mailing list