Bug 840902
Summary: | FTBFS: error: signed and unsigned type in conditional expression | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> | ||||||
Component: | systemtap | Assignee: | Frank Ch. Eigler <fche> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | rawhide | CC: | dsmith, fche, jistone, lberk, mjw, scox, wcohen | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | powerpc | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-07-19 06:02:04 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Karsten Hopp
2012-07-17 14:38:50 UTC
*** This bug has been marked as a duplicate of bug 837641 *** this is a different problem. according to build.log bz837641-staprun-no-linux-types.patch gets applied and the issue still exists. (In reply to comment #2) > this is a different problem. according to build.log > bz837641-staprun-no-linux-types.patch gets applied and the issue still > exists. Hmm, the symptoms are exactly the same though. It may be that linux/posix_types.h is getting pulled in some other way on ppc. Can you use -save-temps and upload mainloop.i? Maybe experiment with the source given in bug #837641 comment #4 too. Created attachment 598681 [details]
preprocessed mainloop.c from systemtap-1.8-4.fc18
Created attachment 598683 [details] preprocessed source from https://bugzilla.redhat.com/show_bug.cgi?id=837641#c4 (In reply to comment #4) > Created attachment 598681 [details] > preprocessed mainloop.c from systemtap-1.8-4.fc18 This does indeed still get linux/posix_types.h, which x86_64 doesn't anymore. The include chain is roughly: -> mainloop.c:13 -> staprun.h:23 -> /usr/include/signal.h:338 -> /usr/include/bits/sigcontext.h:27 -> /usr/include/asm/sigcontext.h:11 -> /usr/include/asm/ptrace.h:27 -> /usr/include/linux/types.h:8 -> /usr/include/linux/posix_types.h So it seems we can't avoid linux/posix_types.h on ppc, because we definitely do need to include signal.h. I'll note this on bug #837641. In the meantime, to get systemtap building, the other workaround was to pull in posix_types.h earlier, so its incompatible macros can get clobbered by glibc (rather than vice versa). Karsten, can you try a ppc build with "#include <linux/types.h>" added at the very top of staprun.h? > can you try a ppc build with "#include <linux/types.h>" added at the very top of staprun.h ?
that build completed without any issues
(In reply to comment #7) > > can you try a ppc build with "#include <linux/types.h>" added at the very top of staprun.h ? > > that build completed without any issues 1.8-5 has that revised workaround, and koji x86 builds are complete. Do let us know if ppc doesn't work out... |