From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754899AbYDUH3S (ORCPT ); Mon, 21 Apr 2008 03:29:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752720AbYDUH3G (ORCPT ); Mon, 21 Apr 2008 03:29:06 -0400 Received: from hall2.aurel32.net ([91.121.138.14]:36174 "EHLO hall2.aurel32.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752550AbYDUH3F (ORCPT ); Mon, 21 Apr 2008 03:29:05 -0400 Date: Mon, 21 Apr 2008 09:28:51 +0200 From: Aurelien Jarno To: Michael Buesch , Adrian Bunk , "John W. Linville" , Ralf Baechle , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: mips BCM47XX compile error Message-ID: <20080421072851.GA3381@hall2.aurel32.net> Mail-Followup-To: Aurelien Jarno , Michael Buesch , Adrian Bunk , "John W. Linville" , Ralf Baechle , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org References: <20080420100347.GH1595@cs181133002.pp.htv.fi> <200804201214.46936.mb@bu3sch.de> <20080420224942.GA21009@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080420224942.GA21009@volta.aurel32.net> X-Mailer: Mutt 1.5.13 (2006-08-11) User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 21, 2008 at 12:49:42AM +0200, Aurelien Jarno wrote: > Michael Buesch a écrit : > > On Sunday 20 April 2008 12:03:47 Adrian Bunk wrote: > >> Commit aab547ce0d1493d400b6468c521a0137cd8c1edf > >> (ssb: Add Gigabit Ethernet driver) causes the following > >> build error with bcm47xx_defconfig: > >> > >> <-- snip --> > >> > >> ... > >> LD .tmp_vmlinux1 > >> arch/mips/pci/built-in.o: In function `pcibios_enable_device': > >> (.text+0x1f8): undefined reference to `pcibios_plat_dev_init' > >> arch/mips/pci/built-in.o: In function `pcibios_enable_device': > >> (.text+0x1f8): relocation truncated to fit: R_MIPS_26 against `pcibios_plat_dev_init' > >> arch/mips/pci/built-in.o: In function `pcibios_init': > >> pci.c:(.init.text+0x14c): undefined reference to `pcibios_map_irq' > >> pci.c:(.init.text+0x158): undefined reference to `pcibios_map_irq' > >> make[1]: *** [.tmp_vmlinux1] Error 1 > > > > Some parts of the new 47xx arch code are not ported, yet. > > It would have been nice at least to warn before breaking a platform. > > > Somebody should port all the new code from openwrt SVN over to mainline. > > I don't really have time for that, at the moment, though. > > I gave a quick look at openwrt SVN, and only find 2.6.23 patches. I > can't find a possible fix among them. Do you have a better pointer? > I have finally found it, the code was not in a form of a patch, but in form of a C code file. I am working on a fix. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net