From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 16 18:00:25 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8407916A4CE for ; Mon, 16 May 2005 18:00:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA11A43DBB for ; Mon, 16 May 2005 18:00:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4GI0KrS007007 for ; Mon, 16 May 2005 18:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4GI0KQf007006; Mon, 16 May 2005 18:00:20 GMT (envelope-from gnats) Resent-Date: Mon, 16 May 2005 18:00:20 GMT Resent-Message-Id: <200505161800.j4GI0KQf007006@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "David O'Brien" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DBD716A4D0 for ; Mon, 16 May 2005 17:50:15 +0000 (GMT) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6C6743D6A for ; Mon, 16 May 2005 17:50:14 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.3/8.13.3) with ESMTP id j4GHo1Uu027175 for ; Mon, 16 May 2005 10:50:01 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.3/8.13.1/Submit) id j4GHo18T027174; Mon, 16 May 2005 10:50:01 -0700 (PDT) (envelope-from obrien) Message-Id: <200505161750.j4GHo18T027174@dragon.NUXI.org> Date: Mon, 16 May 2005 10:50:01 -0700 (PDT) From: "David O'Brien" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/81116: USE_GCC=X.Y+ should prefer the stock compiler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David O'Brien List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 18:00:25 -0000 >Number: 81116 >Category: ports >Synopsis: USE_GCC=X.Y+ should prefer the stock compiler >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 16 18:00:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: David O'Brien >Release: FreeBSD 6.0-CURRENT i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD dragon.NUXI.org 6.0-CURRENT FreeBSD 6.0-CURRENT #492: Sun May 15 19:58:10 PDT 2005 rootk@dragon:/FBSD/src/sys/i386/compile/DRAGON i386 >Description: USE_GCC=3.2+ on a 6-CURRENT system prefers the GCC 3.2 compiler instead of the GCC 3.4 default system compiler. One often uses USE_GCC=3.2+ to enable a port to build on RELENG_4, but that does not mean a 6-CURRENT user doesn't want to use the native compiler. I also argue that the correct algorithm for USE_GCC=3.2+ is: 1. Use system compiler if it's version is allowable by the USE_GCC invocation. 2. Prefer the highest version # found already installed and allowed by the USE_GCC invocation, rather than the lowest. 3. Install the specified GCC version and use if, if no other already installed compiler meets the USE_GCC invocation. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: