From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 12 Oct 2007 23:42:49 +0100 (BST) Received: from smtp1.dnsmadeeasy.com ([205.234.170.144]:42139 "EHLO smtp1.dnsmadeeasy.com") by ftp.linux-mips.org with ESMTP id S20031914AbXJLWmk (ORCPT ); Fri, 12 Oct 2007 23:42:40 +0100 Received: from smtp1.dnsmadeeasy.com (localhost [127.0.0.1]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP id 1FB2A30C781; Fri, 12 Oct 2007 22:42:20 +0000 (UTC) X-Authenticated-Name: js.dnsmadeeasy X-Transit-System: In case of SPAM please contact abuse@dnsmadeeasy.com Received: from avtrex.com (unknown [67.116.42.147]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP; Fri, 12 Oct 2007 22:42:19 +0000 (UTC) Received: from [192.168.7.26] ([192.168.7.26]) by avtrex.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 12 Oct 2007 15:42:01 -0700 Message-ID: <470FF839.8070507@avtrex.com> Date: Fri, 12 Oct 2007 15:42:01 -0700 From: David Daney User-Agent: Thunderbird 1.5.0.12 (X11/20070719) MIME-Version: 1.0 To: Ralf Baechle , MIPS Linux List Subject: Re: Gcc 4.2.2 broken for kernel builds References: <20071012172254.GA10835@linux-mips.org> In-Reply-To: <20071012172254.GA10835@linux-mips.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Oct 2007 22:42:01.0852 (UTC) FILETIME=[1B0603C0:01C80D21] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 17008 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ddaney@avtrex.com Precedence: bulk X-list: linux-mips Ralf Baechle wrote: > So it looks as if gcc 4.2.2 is broken for kernel builds resulting in the > following error message with binutils 2.18: It seems to be a GCC problem, not binutils related. Have you successfully built with 4.2.0 or 4.2.1? If it is a regression from a previous gcc-4.2.x version I would be inclined to fix it. But if all gcc-4.2.x are broken, I might recommend skipping this version and using 4.3 when it is released. David Daney > > CC drivers/mtd/mtd_blkdevs.o > mipsel-linux-ld: drivers/mtd/.tmp_mtd_blkdevs.o: Can't find matching LO16 reloc against `$LC6' for R_MIPS_HI16 at 0x9e0 in section `.text' > CC drivers/mtd/chips/chipreg.o > > Older binutils throw a more cryptic error message about the bad assembler > code generated by gcc: > > CC drivers/mtd/mtd_blkdevs.o > mipsel-linux-ld: final link failed: Bad value > make[2]: *** [drivers/mtd/mtd_blkdevs.o] Error 1 > make[1]: *** [drivers/mtd] Error 2 > make: *** [drivers] Error 2 > > Just as heads up ... > > Ralf >