From owner-freebsd-current@FreeBSD.ORG Mon Mar 1 01:22:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8F1E16A4CE for ; Mon, 1 Mar 2004 01:22:22 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E0EC43D1D for ; Mon, 1 Mar 2004 01:22:22 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i219MCAc009172; Mon, 1 Mar 2004 12:22:12 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i219MBae009171; Mon, 1 Mar 2004 12:22:11 +0300 (MSK) (envelope-from ache) Date: Mon, 1 Mar 2004 12:22:11 +0300 From: Andrey Chernov To: John Birrell Message-ID: <20040301092211.GA9093@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , John Birrell , current@freebsd.org References: <20040301192548.M16237@freebsd3.cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040301192548.M16237@freebsd3.cimlogic.com.au> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.24.0.5; VDF 6.24.0.28 (host: pobrecita.freebsd.ru) cc: current@freebsd.org Subject: Re: Assembler broken by getopt_long_only changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 09:22:23 -0000 > ports/graphics/tiff runs configure without using the -pipe argument to gcc. > The new behaviour of getopt_long_only() returns -1 when it encounters an > argument which isn't an option. The old behaviour (confirmed by winding > the current machine back to Feb 20, 2004 sources) returns 1. The change > causes 'as' to ignore a file name argument and hang waiting on a read from > stdin. Most people won't see the problem because they use the -pipe argument > to gcc which passes '-' instead of the file name. The bug is somewhere deeper, than your analysis, because all the same commands (cc, as) called by hand with the same args works, they not works only from tiff's configure. Maybe configure do something with environment... I'll look into this ASAP. If it is {Open,Net}BSD getopt_long* bug, it should be fixed there in anycase, because other ports configures likes to find getopt_long* in libc first. -- Andrey Chernov | http://ache.pp.ru/