NetBSD Problem Report #37850
From martin@duskware.de Wed Jan 23 11:10:43 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 0227663BC1F
for <gnats-bugs@gnats.netbsd.org>; Wed, 23 Jan 2008 11:10:43 +0000 (UTC)
Message-Id: <20080123085150.1BDD663BC24@narn.NetBSD.org>
Date: Wed, 23 Jan 2008 08:51:50 +0000 (UTC)
From: ping-panther@freenet.de
Reply-To: ping-panther@freenet.de
To: netbsd-bugs-owner@NetBSD.org
Subject: pkgsrc/devel/cpuflags thinks a k6-2+ is a k6-2
X-Send-Pr-Version: www-1.0
>Number: 37850
>Category: pkg
>Synopsis: pkgsrc/devel/cpuflags thinks a k6-2+ is a k6-2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: abs
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 23 11:15:00 +0000 2008
>Closed-Date: Sat Dec 20 09:57:30 +0000 2008
>Last-Modified: Sat Dec 20 10:00:02 +0000 2008
>Originator: paulchen pinger
>Release: pkgsrc-2k7q4 on netbsd-3.0
>Organization:
>Environment:
NetBSD vash.###censored###.net 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
A k6-2+ is a k6-3+ with reduced on die cache which in turn is a k6-3 for gcc's -march-option.
cpuflags selects -march=k6-2 for such a cpu here.
>How-To-Repeat:
Install NetBSD, pkgsrc and cpuflags and compile something which really is c code...
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->abs
Responsible-Changed-By: obache@narn.netbsd.org
Responsible-Changed-When: Wed, 23 Jan 2008 11:24:03 +0000
Responsible-Changed-Why:
Over to maintainer.
From: David Brownlee <abs@NetBSD.org>
To: ping-panther@freenet.de, gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/37850: pkgsrc/devel/cpuflags thinks a k6-2+ is a k6-2
Date: Wed, 23 Jan 2008 11:25:44 +0000 (GMT)
Could you please send the output of 'cpuflags -v' - thanks
--
David/absolute -- www.NetBSD.org: No hype required --
From: Ulf Bartelt <ping-panther@freenet.de>
To: David Brownlee <abs@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/37850: pkgsrc/devel/cpuflags thinks a k6-2+ is a k6-2
Date: Wed, 23 Jan 2008 12:42:27 +0100
Am Mittwoch, den 23.01.2008, 11:25 +0000 schrieb David Brownlee:
> Could you please send the output of 'cpuflags -v' - thanks
Sure!
---8<---
$ cpuflags -v
. /usr/pkg/share/cpuflags/subr_NetBSD
. /usr/pkg/share/cpuflags/subr_gcc
. /usr/pkg/share/cpuflags/subr_x86
ARCH : -march=k6-2
FEATURES :
CPUFLAGS : -march=k6-2
GCC version : 3.3.3
OS : 'NetBSD'
hw.model : 'AMD K6-2+/III+ (586-class)'
hw.machine : 'i386'
hw.machine_arch : 'i386'
cpu details :
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD K6-2+/III+ (586-class), 501.15 MHz, id 0x5d4
cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8021bf<PGE,MMX>
cpu0: "AMD-K6(tm)-III Processor"
cpu0: I-cache 32 KB 32B/line 2-way, D-cache 32 KB 32B/line 2-way
cpu0: L2 cache 128 KB 32B/line 4-way
cpu0: ITLB 64 4 KB entries direct-mapped
cpu0: DTLB 128 4 KB entries 2-way
cpu0: 8 page colors
--->8---
State-Changed-From-To: open->closed
State-Changed-By: abs@NetBSD.org
State-Changed-When: Sat, 20 Dec 2008 09:57:30 +0000
State-Changed-Why:
cpuflags 1.27 updated to match - thanks
From: David Brownlee <abs@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37850 CVS commit: pkgsrc/devel/cpuflags
Date: Sat, 20 Dec 2008 09:56:46 +0000 (UTC)
Module Name: pkgsrc
Committed By: abs
Date: Sat Dec 20 09:56:46 UTC 2008
Modified Files:
pkgsrc/devel/cpuflags: Makefile
pkgsrc/devel/cpuflags/files: subr_x86
Log Message:
Updated devel/cpuflags to 1.27
Add entry for AMD K6-2+/III+ ("AMD-K6(tm)-III Processor")
- from Ulf Bartelt PR 37850
To generate a diff of this commit:
cvs rdiff -r1.132 -r1.133 pkgsrc/devel/cpuflags/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/devel/cpuflags/files/subr_x86
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>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.