pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45784: devel/cpuflags 1.42 detects wrong GCC flags on hp700
>Number: 45784
>Category: pkg
>Synopsis: devel/cpuflags 1.42 detects wrong GCC flags on hp700
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 05 12:50:00 +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:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index