Bug 478663
Summary: | Broken linux/byteorder.h in kernel-headers-2.6.29* | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jakub Jelinek <jakub> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rawhide | CC: | berrange, dominik, jarod, kernel-maint, kraxel, quintela, rpm, varekova |
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: | 2009-01-08 22:00:15 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: | |||
Bug Depends On: | |||
Bug Blocks: | 469253, 478855 |
Description
Jakub Jelinek
2009-01-03 00:48:23 UTC
mock-chroot> cat test.c #include <endian.h> #include <asm/byteorder.h> mock-chroot> gcc -otest test.c In file included from /usr/include/asm/byteorder.h:63, from test.c:2: /usr/include/linux/byteorder.h:8:3: error: #error Fix asm/byteorder.h to define one endianness mock-chroot> This problem block busybox build too :(: In file included from /usr/include/asm/byteorder.h:63, from /usr/include/linux/ip.h:20, from /usr/include/linux/if_tunnel.h:5, from networking/libiproute/iptunnel.c:24: /usr/include/linux/byteorder.h:8:3: error: #error Fix asm/byteorder.h to define one endianness Some upstream discussion on the matter: http://lkml.org/lkml/2008/12/16/60 Most recent patch set starts here: http://lkml.org/lkml/2009/1/6/341 Bump. I can't build MPlayer because of that. My testcase: $ cat test.c #include <sys/types.h> #include <linux/cdrom.h> $ gcc -o test test.c In file included from /usr/include/asm/byteorder.h:63, from /usr/include/linux/cdrom.h:14, from test.c:2: /usr/include/linux/byteorder.h:8:3: error: #error Fix asm/byteorder.h to define one endianness $ rpm -q kernel-headers kernel-headers-2.6.29-0.12.rc0.git7.fc11.i386 Fixed upstream, patches (comment #4) merged into latest git. Next kernel update should get us the fix too. Should be fixed in kernel-2.6.29-0.15.rc0.git9.fc11 (currently headed to the build system) and later. FYI I just did a KVM build, with kernel-headers 2.6.29-0.19.rc0.git9.fc11 in the build root and it now works fine, so looks like this resolved it. It seems to be fixed, thanks. |