Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 10:50:01 -0700 (PDT)
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81116: USE_GCC=X.Y+ should prefer the stock compiler
Message-ID:  <200505161750.j4GHo18T027174@dragon.NUXI.org>
Resent-Message-ID: <200505161800.j4GI0KQf007006@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505161750.j4GHo18T027174>