NetBSD Problem Report #45784

From shattered@NetBSD.org  Thu Jan  5 12:46:40 2012
Return-Path: <shattered@NetBSD.org>
Received: by www.NetBSD.org (Postfix, from userid 1427)
	id B373E63BC35; Thu,  5 Jan 2012 12:46:40 +0000 (UTC)
Message-Id: <20120105124640.B373E63BC35@www.NetBSD.org>
Date: Thu,  5 Jan 2012 12:46:40 +0000 (UTC)
From: shattered@NetBSD.org
Reply-To: shattered@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: devel/cpuflags 1.42 detects wrong GCC flags on hp700
X-Send-Pr-Version: 3.95


>Number:         45784
>Category:       pkg
>Synopsis:       devel/cpuflags 1.42 detects wrong GCC flags on hp700
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    abs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 05 12:50:00 +0000 2012
>Last-Modified:  Fri Jan 06 01:24:30 +0000 2012
>Originator:     Sergey Svishchev
>Release:        NetBSD 5.99.59
>Organization:

	
>Environment:

	

	
>Description:
cpuflags defaults to '-march=native', which is only valid on x86 platforms.

	
>How-To-Repeat:
Read the code:


# native arch
M_ARCH_NATIVE='-march=native'


# Determine the flags for this OS/machine
extract_hw_details
if [ $(gcc_ser $CC) -gt 4002 ] ; then
    ARCH="$M_ARCH_NATIVE"
else
    ARCH=$(determine_arch)
fi

	
>Fix:

	


>Release-Note:


>Audit-Trail:


Responsible-Changed-From-To: pkg-manager->abs
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 06 Jan 2012 01:24:30 +0000
Responsible-Changed-Why:
over to maintainer
(while you're there, please set LICENSE, thanks)




>Unformatted:

 	

 	



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.