rpms/kernel/devel linux-2.6-mac80211-gcc-bug.patch, NONE, 1.1 kernel.spec, 1.567, 1.568

John W. Linville (linville) fedora-extras-commits at redhat.com
Tue Apr 1 17:09:17 UTC 2008


Author: linville

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14642

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-mac80211-gcc-bug.patch 
Log Message:
avoid endless loop while compiling on ia64 and some other arches

linux-2.6-mac80211-gcc-bug.patch:

--- NEW FILE linux-2.6-mac80211-gcc-bug.patch ---
Subject: net/mac80211/debugfs_netdev.c: use of bool triggers a gcc bug
From: Andrew Morton <akpm at linux-foundation.org>

This bool causes my gcc-4.1.0 alpha cross compiler to go into an infinite
loop.  Switching it to u8 works around that.

Cc: Johannes Berg <johannes at sipsolutions.net>
Cc: John Linville <linville at tuxdriver.com>
Cc: Luis Carlos Cobo <luisca at cozybit.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
---

 net/mac80211/debugfs_netdev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -up linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c.orig linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c
--- linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c.orig	2008-04-01 12:52:40.000000000 -0400
+++ linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c	2008-04-01 12:52:45.000000000 -0400
@@ -222,7 +222,7 @@ IEEE80211_IF_WFILE(dot11MeshConfirmTimeo
 IEEE80211_IF_WFILE(dot11MeshHoldingTimeout,
 		u.sta.mshcfg.dot11MeshHoldingTimeout, DEC, u16);
 IEEE80211_IF_WFILE(dot11MeshTTL, u.sta.mshcfg.dot11MeshTTL, DEC, u8);
-IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, bool);
+IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, u8);
 IEEE80211_IF_WFILE(dot11MeshMaxPeerLinks,
 		u.sta.mshcfg.dot11MeshMaxPeerLinks, DEC, u16);
 IEEE80211_IF_WFILE(dot11MeshHWMPactivePathTimeout,


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.567
retrieving revision 1.568
diff -u -r1.567 -r1.568
--- kernel.spec	1 Apr 2008 16:12:06 -0000	1.567
+++ kernel.spec	1 Apr 2008 17:08:06 -0000	1.568
@@ -609,6 +609,7 @@
 
 Patch680: linux-2.6-wireless.patch
 Patch681: linux-2.6-wireless-pending.patch
+Patch682: linux-2.6-mac80211-gcc-bug.patch
 Patch690: linux-2.6-at76.patch
 
 Patch1101: linux-2.6-default-mmf_dump_elf_headers.patch
@@ -1113,6 +1114,9 @@
 # wireless patches headed for 2.6.26
 ApplyPatch linux-2.6-wireless-pending.patch
 
+# avoid endless loop while compiling on ia64 and some other arches
+ApplyPatch linux-2.6-mac80211-gcc-bug.patch
+
 # Add misc wireless bits from upstream wireless tree
 ApplyPatch linux-2.6-at76.patch
 
@@ -1745,6 +1749,9 @@
 %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL} -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf %{with_xen} xen
 
 %changelog
+* Tue Apr 01 2008 John W. Linville <linville at redhat.com>
+- avoid endless loop while compiling on ia64 and some other arches
+
 * Tue Apr 01 2008 Jarod Wilson <jwilson at redhat.com>
 - Don't apply utrace bits on ia64, doesn't build there atm
 




More information about the fedora-extras-commits mailing list