From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15553 invoked by alias); 8 Mar 2011 15:28:37 -0000 Received: (qmail 15529 invoked by uid 22791); 8 Mar 2011 15:28:36 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-qy0-f169.google.com (HELO mail-qy0-f169.google.com) (209.85.216.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Mar 2011 15:28:29 +0000 Received: by qyk2 with SMTP id 2so3164730qyk.0 for ; Tue, 08 Mar 2011 07:28:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.214.208 with SMTP id hb16mr4021150qcb.260.1299598106899; Tue, 08 Mar 2011 07:28:26 -0800 (PST) Received: by 10.229.73.105 with HTTP; Tue, 8 Mar 2011 07:28:26 -0800 (PST) Reply-To: sedat.dilek@gmail.com In-Reply-To: References: Date: Tue, 08 Mar 2011 15:28:00 -0000 Message-ID: Subject: Re: linux-next: Tree for March 8 (BROKEN: arch/x86/kernel/entry_32.S? Debian's binutils/as?) From: Sedat Dilek To: "H.J. Lu" Cc: Stephen Rothwell , Matthias Klose , linux-next , debian-gcc , binutils , psomas@cslab.ece.ntua.gr, JBeulich@novell.com, Ingo Molnar , "H. Peter Anvin" , LKML Content-Type: text/plain; charset=UTF-8 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00121.txt.bz2 On 3/8/11, H.J. Lu wrote: > On Tue, Mar 8, 2011 at 2:44 AM, Sedat Dilek > wrote: >> Hi, >> >> my build of linux-next (next-20110308, the same with the one from >> yesterday) is broken. >> (I translated the German output.) >> >> [ build.log ] >> AS arch/x86/kernel/entry_32.o >> /home/sd/src/linux-2.6/linux-2.6.38-rc7/debian/build/source_i386_none/arch/x86/kernel/entry_32.S: >> Assembler messages: >> /home/sd/src/linux-2.6/linux-2.6.38-rc7/debian/build/source_i386_none/arch/x86/kernel/entry_32.S:1421: >> Error: .size expression does not evaluate to a constant >> make[6]: *** [arch/x86/kernel/entry_32.o] Fehler 1 (Error 1) >> make[5]: *** [arch/x86/kernel] Fehler 2 (Error 2) >> make[4]: *** [arch/x86] Fehler 2 (Error 2) >> make[4]: *** Warte auf noch nicht beendete Prozesse... (Waiting for >> unfinished jobs...) >> > > This is a kernel bug. Please use the latest binutils from CVS. > It will tell you which symbol causes this. > > > -- > H.J. > Yeah, I have cherry-picked these two upstream commits before you have mentionned it... 0001-Mention-symbol-name-in-non-constant-.size-expression.patch (Cherry-picked from commit b9521fc0be7945fc842ce1197e241a023378125d) 0002-Revert-the-last-change-on-gas-elf-bad-size.err.patch (Cherry-picked from commit cbd141bb69f791de7ea1581abe7afb34f0c61288) ... and have built with them a new binutils Debian package. The error looks now like this (sorry for the German output): ... AS arch/x86/kernel/entry_32.o /home/sd/src/linux-2.6/linux-2.6.38-rc7/debian/build/source_i386_none/arch/x86/kernel/entry_32.S: Assembler messages: /home/sd/src/linux-2.6/linux-2.6.38-rc7/debian/build/source_i386_none/arch/x86/kernel/entry_32.S:1421: Error: .size expression with symbol `apf_page_fault' does not evaluate to a constant make[6]: *** [arch/x86/kernel/entry_32.o] Fehler 1 make[5]: *** [arch/x86/kernel] Fehler 2 make[5]: *** Warte auf noch nicht beendete Prozesse... Anyway, before more riddling around it would be very helpful to have a clear pointer if there is a fix around... That building, testing and installing took me now several hours. And... yeah, backports to 2.21-branch appreciated. - Sedat -