Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 09:36:50 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61147: lang/gcc295 doesn't compile when CPUTYPE is set to p2
Message-ID:  <20040109223650.2DC106A7101@k7.mavetju>
Resent-Message-ID: <200401092240.i09MeHC0067366@freefall.freebsd.org>

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

>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@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@ref5>grep CPU /etc/make.conf 
CPUTYPE?=               p2
[~/ports/lang/gcc295] edwin@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:



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