From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor.suse.de ([195.135.220.2]:58306 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751022Ab1CJIuY (ORCPT ); Thu, 10 Mar 2011 03:50:24 -0500 Message-ID: <4D7890CE.60800@suse.cz> Date: Thu, 10 Mar 2011 09:50:22 +0100 From: Michal Marek MIME-Version: 1.0 Subject: Re: RFC: x86: kill binutils 2.16.x? References: <4D6E8932.1010405@zytor.com> <4D6EB07C.5040004@zytor.com> <4D6ECBDB.6090307@zytor.com> <20110303083035.GB14854@elte.hu> In-Reply-To: <20110303083035.GB14854@elte.hu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Ingo Molnar Cc: "H. Peter Anvin" , Thomas Gleixner , linux-kbuild , Linux Kernel Mailing List , Andrew Morton On 3.3.2011 09:30, Ingo Molnar wrote: > * H. Peter Anvin wrote: >> kbuild people: is there a way to test for a specific assembler version >> in Kbuild (and error out the build for it?) > > Could we add a testcase for one of the more egregious breakages and bail out then? > That way we don't have to get the version information right - broken prereleases > would be covered as well. > > For example this sequence: > > .irp idx,0,1,2 > .if 0 > \idx > .endif > .endr > > Will break on 2.16, right? It builds fine on 2.20. This seems to work for me with the binutils version from sles10 (even with a vanilla build of binutils): $ as -v < .irp idx,0,1,2 > .if 0 > \idx > .endif > .endr > EOF GNU assembler version 2.16.91.0.5 (i586-suse-linux) using BFD version 2.16.91.0.5 20051219 0 $ So either the bug is fixed in that version already or you picked a wrong example (or I did not understand what should fail here). But don't get me wrong, I'm all for checking for actual bugs instead of innocent version strings. Michal