Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 14:49:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216065] sysutils/lsof - fix build on FreeBSD11/ARM
Message-ID:  <bug-216065-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216065

            Bug ID: 216065
           Summary: sysutils/lsof - fix build on FreeBSD11/ARM
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@freebsd.org
          Reporter: samm@os2.kiev.ua
          Assignee: ler@freebsd.org
             Flags: maintainer-feedback?(ler@freebsd.org)

Created attachment 178884
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178884&action=
=3Dedit
patch to compile lsof on fbsd/arm

On the FreeBSD ARM port port is not working. During compilation i see=20

In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h:4=
1:
In file included from /usr/src/sys/cddl/compat/opensolaris/sys/debug.h:33:
In file included from /usr/src/sys/cddl/compat/opensolaris/sys/systm.h:35:
In file included from /usr/include/sys/systm.h:41:
In file included from /usr/include/machine/atomic.h:48:
/usr/include/machine/cpuconf.h:119:2: error: ARM_NARCH is 0
#error ARM_NARCH is 0
 ^
/usr/include/machine/cpuconf.h:174:2: error: ARM_NMMUS is 0
#error ARM_NMMUS is 0

and compilation fails. After quick checking of the cpuconf.h i found a
workaround for this - it is possible to define KLD_MODULE to avoid this use=
less
check. After this change lsof compiled successfully and works as expected.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216065-13>