Red Hat Bugzilla – Bug 563541
python-2.6.4-18.fc13 fails to build on ppc/ppc64
Last modified: 2010-03-01 23:02:28 EST
Created attachment 390016 [details]
python-2.6.4-18.fc13 build log
Description of problem:
The dtrace patch that was added doesn't seem to have anything for the ppc/ppc64 architectures in it, so the build fails with a #error unknown architecture.
I'm surprised it has sparc, but not ppc/ppc64. The full build log is attached.
Ah right, that is from phelper.d which is not useful to systemtap (only to dtrace). I'll suggest a patch that excludes it.
dtrace only works on x86 and sparc, which is why that file doesn't have any other alternatives.
(In reply to comment #1)
> Ah right, that is from phelper.d which is not useful to systemtap (only to
> dtrace). I'll suggest a patch that excludes it.
> dtrace only works on x86 and sparc, which is why that file doesn't have any
> other alternatives.
Mark went ahead and did this (see bug 545179); the new patch (attachment 390110 [details]) has no arch-specific code (other than a few sparc-specific "nop" hooks).
I've committed the new patch to dist-cvs; tagged as:
python-2_6_4-19_fc13 and built into dist-f13 :
I've verified the feature still works on an i686 box (see https://bugzilla.redhat.com/show_bug.cgi?id=545179#c16 for a way of testing this; would be nice to verify that the feature works on ppc builds also).
Hopefully this should now fix the ppc/ppc64 builds; marking this bug as MODIFIED.
-19 does indeed build again on ppc/ppc64. Thanks for the quick response, I very much appreciate it.