ports/81116: USE_GCC=X.Y+ should prefer the stock compiler

David O'Brien obrien at FreeBSD.org
Mon May 16 18:00:25 UTC 2005


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



More information about the freebsd-ports-bugs mailing list