Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932105Ab1CHPmS (ORCPT ); Tue, 8 Mar 2011 10:42:18 -0500 Received: from mail-qw0-f46.google.com ([209.85.216.46]:34006 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755422Ab1CHPmO (ORCPT ); Tue, 8 Mar 2011 10:42:14 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=S3f5GjrdFiiTaffquUBMmy2ReAx4dWsESVPcjSUiVIc1KnvrUaHDWrC8pgpeEhco0Q 5XfF4iiSMGXB5AJFfSV/7JjRdyJj7FMA38GRzNb7rGGqfcDDcpvpTS183JX4upeDUB1I /Z/8oM//xISs7VBuKHClgYooygEstmHAV2Aqs= MIME-Version: 1.0 Reply-To: sedat.dilek@gmail.com In-Reply-To: References: Date: Tue, 8 Mar 2011 16:42:13 +0100 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: multipart/mixed; boundary=00163649a965c9a532049dfa74cd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4418 Lines: 100 --00163649a965c9a532049dfa74cd Content-Type: text/plain; charset=UTF-8 On 3/8/11, Sedat Dilek wrote: > 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 - > After a quick look into the source, it seems attached patch fixes the issue. Is that OK? - Sedat - --00163649a965c9a532049dfa74cd Content-Type: text/x-patch; charset=US-ASCII; name="0001-x86-Fix-build-failure-with-binutils-as-from-upstream.patch" Content-Disposition: attachment; filename="0001-x86-Fix-build-failure-with-binutils-as-from-upstream.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 RnJvbSBjNGY4MDcwODA1ZmZmN2MwZDA5N2I3YTBmYjRmNTQ5ZWJkMTRhNzRiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTZWRhdCBEaWxlayA8c2VkYXQuZGlsZWtAZ21haWwuY29tPgpE YXRlOiBUdWUsIDggTWFyIDIwMTEgMTY6MzI6MTggKzAxMDAKU3ViamVjdDogW1BBVENIXSB4ODY6 IEZpeCBidWlsZCBmYWlsdXJlIHdpdGggYmludXRpbHMvYXMgZnJvbSB1cHN0cmVhbQoKVGhpcyBp cyBmcm9tIG15IGJ1aWxkIGxvZzoKWy4uLl0KQVMgICAgICBhcmNoL3g4Ni9rZXJuZWwvZW50cnlf MzIubwphcmNoL3g4Ni9rZXJuZWwvZW50cnlfMzIuUzogQXNzZW1ibGVyIG1lc3NhZ2VzOgphcmNo L3g4Ni9rZXJuZWwvZW50cnlfMzIuUzoxNDIxOiBFcnJvcjogLnNpemUgZXhwcmVzc2lvbiB3aXRo IHN5bWJvbCBgYXBmX3BhZ2VfZmF1bHQnIGRvZXMgbm90IGV2YWx1YXRlIHRvIGEgY29uc3RhbnQK ClNpZ25lZC1vZmYtYnk6IFNlZGF0IERpbGVrIDxzZWRhdC5kaWxla0BnbWFpbC5jb20+Ci0tLQog YXJjaC94ODYva2VybmVsL2VudHJ5XzMyLlMgfCAgICAyICstCiAxIGZpbGVzIGNoYW5nZWQsIDEg aW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9hcmNoL3g4Ni9rZXJu ZWwvZW50cnlfMzIuUyBiL2FyY2gveDg2L2tlcm5lbC9lbnRyeV8zMi5TCmluZGV4IGM4YjRlZmEu LjljYTNiMGUgMTAwNjQ0Ci0tLSBhL2FyY2gveDg2L2tlcm5lbC9lbnRyeV8zMi5TCisrKyBiL2Fy Y2gveDg2L2tlcm5lbC9lbnRyeV8zMi5TCkBAIC0xNDEzLDcgKzE0MTMsNyBAQCBFTlRSWShhc3lu Y19wYWdlX2ZhdWx0KQogCUNGSV9BREpVU1RfQ0ZBX09GRlNFVCA0CiAJam1wIGVycm9yX2NvZGUK IAlDRklfRU5EUFJPQwotRU5EKGFwZl9wYWdlX2ZhdWx0KQorRU5EKGFzeW5jX3BhZ2VfZmF1bHQp CiAjZW5kaWYKIAogLyoKLS0gCjEuNy40LjEKCg== --00163649a965c9a532049dfa74cd-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/