[MacPorts] #69380: libffi fails on 10.5 PPC for bad patch
MacPorts
noreply at macports.org
Fri Feb 23 15:33:53 UTC 2024
#69380: libffi fails on 10.5 PPC for bad patch
-----------------------+-------------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard ppc
Port: libffi |
-----------------------+-------------------------
Comment (by ballapete):
I think `libff @3.4.6` works fine! I "played" a bit with make/gmake in
`testsuite/libffi.bhaible`, built the two test programmes and ran them
manually. The results, the failures, are these:
{{{
pete 278 /\ cat failed-call
Float f(Float,float,double):({0.1},0.2,0.3)->{0.6}
Float f(Float,float,double):({0.2},0.3,-9.80879e-154)->{0.5}
Double f(float,Double,double):(0.1,{0.2},0.3)->{0.6}
Double f(float,Double,double):(0.1,{0.3},-9.80879e-154)->{0.4}
Double f(Double,float,double):({0.1},0.2,0.3)->{0.6}
Double f(Double,float,double):({0.2},0.3,-9.80879e-154)->{0.5}
pete 279 /\ cat failed-callback
Float f(Float,float,double):({0.1},0.2,0.3)->{0.6}
Float f(Float,float,double):({-1.99908},0.1,0.2)->{-1.69908}
Double f(float,Double,double):(0.1,{0.2},0.3)->{0.6}
Double f(float,Double,double):(0.1,{6.52217e-310},0.2)->{0.3}
Double f(Double,float,double):({0.1},0.2,0.3)->{0.6}
Double f(Double,float,double):({-1.99264},0.1,0.2)->{-1.69264}
}}}
I think this can be expected. The `PowerPC G4 CPU` is only 32 bit.
Possibly this physical limitation produces the failures. Using a different
math library might resolve the issues…
--
Ticket URL: <https://trac.macports.org/ticket/69380#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list