NetBSD Problem Report #21766
Received: (qmail 23497 invoked by uid 605); 3 Jun 2003 20:25:46 -0000
Message-Id: <20030603202530.39A721EBC3F@leeloo.intern.geht.de>
Date: Tue, 3 Jun 2003 22:25:30 +0200 (CEST)
From: marc@informatik.uni-bremen.de
Sender: gnats-bugs-owner@netbsd.org
Reply-To: marc@informatik.uni-bremen.de
To: gnats-bugs@gnats.netbsd.org
Subject: cpuflags doesn't work with Athlon XP
X-Send-Pr-Version: 3.95
>Number: 21766
>Category: pkg
>Synopsis: cpuflags doesn't work with Athlon XP
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: salo
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 03 20:26:01 +0000 2003
>Closed-Date: Tue Jun 03 20:47:53 +0000 2003
>Last-Modified: Tue Jun 03 20:47:53 +0000 2003
>Originator: Marc Recht
>Release: NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD leeloo.intern.geht.de 1.6T NetBSD 1.6T (LEELOO) #0: Tue Jun 3 13:40:37 CEST 2003 root@leeloo.intern.geht.de:/usr/obj/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
-march=athlon doesn't work with (system) gcc 2.95.3
>How-To-Repeat:
gcc -march=athlon test.c
cc1: bad value (athlon) for -march= switch
>Fix:
Index: files/cpuflags.NetBSD
===================================================================
RCS file: /cvsroot/pkgsrc/devel/cpuflags/files/cpuflags.NetBSD,v
retrieving revision 1.36
diff -u -u -b -r1.36 cpuflags.NetBSD
--- files/cpuflags.NetBSD 2003/06/03 10:17:48 1.36
+++ files/cpuflags.NetBSD 2003/06/03 20:22:01
@@ -65,7 +65,7 @@
*AMD\ K6-III*) FLAGS='-march=k6-3' ;;
*AMD\ K6-2*) FLAGS='-march=k6-2' ;;
*AMD\ K6*) FLAGS='-march=k6' ;;
- *AMD\ K7*|*AMD\ Athlon*) FLAGS='-march=athlon' ;;
+ *AMD\ K7*|*AMD\ Athlon*) FLAGS='-march=pentiumpro' ;;
*386-class*) FLAGS='-march=i386' ;;
*486-class*) FLAGS='-march=i486' ;;
*586-class*) FLAGS='-march=pentium' ;;
>Release-Note:
>Audit-Trail:
From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/21766 CVS commit: pkgsrc/devel/cpuflags
Date: Tue, 3 Jun 2003 20:41:16 +0000 (UTC)
Module Name: pkgsrc
Committed By: salo
Date: Tue Jun 3 20:41:16 UTC 2003
Modified Files:
pkgsrc/devel/cpuflags: Makefile
pkgsrc/devel/cpuflags/files: cpuflags.NetBSD
Log Message:
Version 0.44.
Convert -march=athlon for older gccs to -march=pentiumpro.
Addresses PR pkg/21766 by Marc Recht.
XXX: the conversion mechanism is suboptimal, it can't handle recursive
conversions.
To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 pkgsrc/devel/cpuflags/Makefile
cvs rdiff -r1.36 -r1.37 pkgsrc/devel/cpuflags/files/cpuflags.NetBSD
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: salo
State-Changed-When: Tue Jun 3 20:47:08 UTC 2003
State-Changed-Why:
your fix was wrong, i fixed the real problem. thanks.
Responsible-Changed-From-To: pkg-manager->salo
Responsible-Changed-By: salo
Responsible-Changed-When: Tue Jun 3 20:47:08 UTC 2003
Responsible-Changed-Why:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.