[MacPorts] #45832: defect: policykit 0.112_1 cannot be built on PPC Tiger and Leopard because it needs Clang 3.4 which cannot be built
MacPorts
noreply at macports.org
Thu Nov 27 11:26:54 PST 2014
#45832: defect: policykit 0.112_1 cannot be built on PPC Tiger and Leopard because
it needs Clang 3.4 which cannot be built
------------------------------+----------------------
Reporter: Peter_Dyballa@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Resolution: | Keywords:
Port: policykit |
------------------------------+----------------------
Comment (by braumann@…):
Replying to [comment:5 Peter_Dyballa@…]:
> The sources don't seem to made for Clang. Or Clang not ripe for these
sources…
Try this one-liner
{{{
printf '#include<stdio.h> \n int main(void) {fprintf(stderr,"Hello,
world\\n");}' | clang-mp-3.1 -arch ppc -xc -o out.exe - && ./out.exe
}}}
and vary your versions of clang. For me it worked for {{{clang-mp-2.9}}}
to {{{clang-mp-3.1}}}. Apparently the {{{-arch ppc }}} can be used even on
10.6.8 Intel Macs (have tried for x86_64). As far as I can remember
{{{clang-mp-3.2}}} to {{{clang-mp-3.4}}} were unable to build even this
very basic example. Moreover, {{{clang-mp-3.4}}} cannot be built on PPC.
And if you try {{{clang-mp-3.5}}} on Intel Mac (with 10.6.8), you get the
particular message {{{ld: unknown/unsupported architecture name for: -arch
powerpc}}}, so even the formal support which was given so far has been
dropped recently.
So how to proceed further for our search for a solution?
--
Ticket URL: <https://trac.macports.org/ticket/45832#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list