pcp
[Top] [All Lists]

Re: [pcp] compilation warnings on Mac OS X

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] compilation warnings on Mac OS X
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 08 Oct 2014 22:04:36 +1100
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1611886799.63506627.1412740952483.JavaMail.zimbra@xxxxxxxxxx>
References: <5434B54D.1030401@xxxxxxxxxxxxxxxx> <1611886799.63506627.1412740952483.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
On 08/10/14 15:02, Nathan Scott wrote:


----- Original Message -----
I'm just getting my steam powered iMac back into QA harness.

(is that an old PowerPC or any x86 model - the latter I think?)

Yep, ... x86 ... I said "steam powered", not "horse drawn".

Does this look familiar to anyone?


Yep...

fuji:pcp kenj$ grep -i warning Logs/pcp
ld: warning: directory '../libpcp_qed/src/build/release' following -L not
found

These ones should be safe to ignore; they flow from platform differences
between the generated makefiles, and the various debug/release builds on
each being in different places IIRC.

The .pro files where the warnings come from contain lines like

release:DESTDIR = build/debug
debug:DESTDIR   = build/release

but the .pro files in the libraries that are being referenced do not contain these lines.

Adding these lines to the latter .pro files removes these warnings and (after fixing a typo in the pmdumptext .pro file and one of the qa .pro files) runs the build to completion, but I'm not sure if that is going to be correct on other platforms.

ld: warning: in ../../src/libpcp/src/libpcp.dylib, missing required
architecture ppc in file

This will be qmake trying to build "universal binaries" for the GUI tools
(i.e. containing both PPC and x86 code in the one binary) but we no longer
build libpcp that way - tossed sometime back, and we build only x86 now.

No these are coming from the python code.



<Prev in Thread] Current Thread [Next in Thread>