linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: wireless-current tree build failure
@ 2009-04-22  5:19 Stephen Rothwell
  2009-04-22 13:03 ` John W. Linville
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2009-04-22  5:19 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, Reinette Chatre

Hi John,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/net/wireless/iwlwifi/iwl3945-base.c:1415: error: __ksymtab_iwl3945_rx_queue_reset causes a section type conflict

I am pretty sure that this is a compiler bug, so not to worry.  However,
as far as I can see, iwl-3945.o (the only user) and iwl3945-base.o are
always linked into the same module, so the EXPORT_SYMBOL (which causes
the problem) should not be needed.  Correct?

I applied the following patch for today.  This makes the above error go
away and my x86_64 allmodconfig still builds.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 22 Apr 2009 15:11:05 +1000
Subject: [PATCH] wireless: remove unneeded EXPORT_SYMBOL the tickles a powerpc compiler bug

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/net/wireless/iwlwifi/iwl3945-base.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 9c0779d..da2b3d1 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -1412,7 +1412,6 @@ void iwl3945_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq)
 	rxq->free_count = 0;
 	spin_unlock_irqrestore(&rxq->lock, flags);
 }
-EXPORT_SYMBOL(iwl3945_rx_queue_reset);
 
 /*
  * this should be called while priv->lock is locked
-- 
1.6.2.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* linux-next: wireless-current tree build failure
@ 2008-08-05  6:21 Stephen Rothwell
  2008-08-05 15:37 ` Adrian Bunk
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2008-08-05  6:21 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, David Miller, LKML, Luis R. Rodriguez

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

Hi John,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_9280_spur_mitigate':
drivers/net/wireless/ath9k/hw.c:4660: internal compiler error: in expand_expr_real_1, at expr.c:9199

Clearly not our fault! :-) I have informed our toolchain person.  This
was using the Debian gcc-4.3.  It also fails using the Debian 4.2
compiler but not the 4.1 one.

For now, I will apply the following patch to just stop it building on
PowerPC.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-22 18:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22  5:19 linux-next: wireless-current tree build failure Stephen Rothwell
2009-04-22 13:03 ` John W. Linville
2009-04-22 18:08   ` reinette chatre
  -- strict thread matches above, loose matches on Subject: below --
2008-08-05  6:21 Stephen Rothwell
2008-08-05 15:37 ` Adrian Bunk
2008-08-05 16:00   ` John W. Linville
2008-08-05 16:35     ` Stephen Rothwell
2008-08-05 16:02   ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).