ports/61147: lang/gcc295 doesn't compile when CPUTYPE is set to p2

Edwin Groothuis edwin at mavetju.org
Fri Jan 9 22:40:39 UTC 2004


>Number:         61147
>Category:       ports
>Synopsis:       lang/gcc295 doesn't compile when CPUTYPE is set to p2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 09 14:40:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Mon Jan 5 18:59:31 EST 2004 edwin at k7.mavetju:/usr/src/sys/compile/k7 i386

>Description:

lang/gcc295 doesn't compile when CPUTYPE is set to p2, it complains
that -march=pentium2 is unknown.

>How-To-Repeat:

[~/ports/lang/gcc295] edwin at ref5>grep CPU /etc/make.conf 
CPUTYPE?=               p2
[~/ports/lang/gcc295] edwin at ref5>make

>Fix:

I don't know if this could/should be fixed properly. The proper way
should be the same kind of macros like the ONLY_FOR_ARCHS and
NOT_FOR_ARCHS, but then for CPU-ids.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list