On Tue, Mar 8, 2011 at 11: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...) > > I am not sure if this is a problem of Debian's binutils snapshot from > binutils-2_21-branch (Debian-version: 2.21.0.20110302-1) from sid/i386 > or this is only a problem for x86, but I just want to let you know. > > FYI: The previous binutils (2.21.0.20110216-2) works fine. > > I have tried with reverting the last two changes to > arch/x86/kernel/entry_32.S in linux-next: > > "x86: Use {push,pop}_cfi in more places" (see [1]) > "x86, asm: Cleanup unnecssary macros in asm-offsets.c" (see [2]) > > Reverting both or [1] or [2] breaks with Debians as (2.21.0.20110302-1). > > BTW, [3] has a complete GIT history for the above file. > > So, I am unsure from where the problem exactly aroses. > If this a known issue (and a fix around) or rings a bell to you, let > me and others know. > > Thanks in advance. > > Regards, > - Sedat - > > [1] http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=60cf637a13932a4750da6746efd0199e8a4c341b > > [2] http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=7bf04be8f48ceeeffa5b5a79734d6d6e0d59e5f8 > > [3] http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=history;f=arch/x86/kernel/entry_32.S;h=2878821cb8c1da1d7147b26271114fa9546afe03;hb=HEAD > Just FYI (for the "dropped" MLs while finding the "brain bug"): Finally, with the help of x86 folks and H.J. Lu a fix for the linux-kernel can now be found in [1]. Commits [2] and [3] from binutils master GIT helped to dig deeper into the right places. So I would appreciated both to be backported to binutils-2_21-branch GIT. @Matthias: If you like you can use the two backported patches (see file attachments) for a next binutils upload to Debian/sid. As usually (and you demanded once from me) I dropped any ChangeLog entries from the code, but kept the history in the commit-text. Also, I documented my changes. So the patches should cleanly apply. Thanks. - Sedat - [1] https://patchwork.kernel.org/patch/621001/ [2] http://sourceware.org/git/?p=binutils.git;a=commit;h=b9521fc0be7945fc842ce1197e241a023378125d [3] http://sourceware.org/git/?p=binutils.git;a=commit;h=cbd141bb69f791de7ea1581abe7afb34f0c61288