Bug 579120
| Summary: | xtables-addons 1.24 compilation fails with gcc 4.4.3-14.fc14 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chen Lei <supercyper1> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | anton, dougsland, gansalmon, itamar, jakub, jonathan, kernel-maint, udovdh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-26 17:47:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Chen Lei
2010-04-02 18:13:18 UTC
This has nothing to do with gcc, but with a change in kernel-headers.
/usr/include/linux/netfilter/x_tables.h e.g. in F12 contained:
#define XT_ALIGN(s) (((s) + (__alignof__(struct _xt_align)-1)) \
& ~(__alignof__(struct _xt_align)-1))
but now it contains:
#define XT_ALIGN(s) ALIGN((s), __alignof__(struct _xt_align))
ALIGN macro isn't defined anywhere (it is probably defined for __KERNEL__ purposes only). And, certainly defining such a generic name in userspace would be a very bad idea.
(In reply to comment #1) > This has nothing to do with gcc, but with a change in kernel-headers. > /usr/include/linux/netfilter/x_tables.h e.g. in F12 contained: > #define XT_ALIGN(s) (((s) + (__alignof__(struct _xt_align)-1)) \ > & ~(__alignof__(struct _xt_align)-1)) > but now it contains: > #define XT_ALIGN(s) ALIGN((s), __alignof__(struct _xt_align)) > ALIGN macro isn't defined anywhere (it is probably defined for __KERNEL__ > purposes only). And, certainly defining such a generic name in userspace would > be a very bad idea. Thanks a lot, Jakub! This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle. Changing version to '14'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Why do I see this happen in Fedora 13? # rpm -qf /usr/include/linux/netfilter/x_tables.h kernel-headers-2.6.34.7-63.fc13.i686 This is fixed in the latest f14 kernel. |