[Bug 235993] devel/cpuflags broken on arm64 or without gcc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 24 12:46:12 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235993

            Bug ID: 235993
           Summary: devel/cpuflags broken on arm64 or without gcc
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: jfc at mit.edu

CURRENT as of February 2019 running on arm64.

$ /usr/local/bin/cpuflags
sysctl: unknown oid 'hw.model'
/usr/local/bin/cpuflags: gcc: not found
[: -gt: unexpected operator
/usr/local/bin/cpuflags: gcc: not found
Unknown machine - please send cpuflags details to abs at absd.org
OS              : 'FreeBSD'
hw.model        : ''
hw.machine      : 'arm64'
hw.machine_arch : 'aarch64'
cpu details     :

Four bugs:

1. sysctl asks for bad setting

2. cpuflags defaults to gcc, while the FreeBSD default compiler is named 'cc'

3. No quotes around variable expansion in line
    if [ $(gcc_ser $CC) -gt 4002 ] ; then

4. The man page is not installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list