Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2019 14:30:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 242833] sysutils/lsof does'nt link on ppc64 on freebsd 11.3-RELEASE
Message-ID:  <bug-242833-25139@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 242833
           Summary: sysutils/lsof does'nt link on ppc64 on freebsd
                    11.3-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: luciano@vespaperitivo.it
                CC: powerpc@FreeBSD.org
                CC: powerpc@FreeBSD.org
          Assignee: ler@FreeBSD.org
             Flags: maintainer-feedback?(ler@FreeBSD.org)

make build stops with:

cc -o lsof  -pipe -fstack-protector-strong -fno-strict-aliasing
-DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_PAUSE_SBT -DHAS_DUP2 -DHAS_CLOSEFROM
-DHASEFFNLINK=3Di_effnlink -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS
-DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_IDEV
-DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV
-DHAS_SYS_SX_H -DHASFUSEFS -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY
-DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DHAS_SB_CCC -DHAS_FDESCENT=
TBL
-DFREEBSDV=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D\"11.3-RELEASE-p3\" -I/usr/src/sys -O2 dmnt.o
dnode.o dnode1.o dnode2.o dproc.o dsock.o dstore.o  arg.o main.o misc.o nod=
e.o
print.o proc.o store.o usage.o  util.o -L./lib -llsof  -lkvm
dnode2.o:(.text+0x190): undefined reference to `abd_zero_off'
dnode2.o:(.text+0x1c8): undefined reference to `abd_cmp_buf_off'
dnode2.o:(.text+0x200): undefined reference to `abd_copy_to_buf_off'
dnode2.o:(.text+0x238): undefined reference to `abd_copy_from_buf_off'
dnode2.o:(.text+0x274): undefined reference to `abd_copy_off'
*** [lsof] Error code 1

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof-4.93.2

adding LSOF_CFGL=3D"-lzpool" to

CONFIGURE_ENV=3D  LSOF_CC=3D"${CC}" FREEBSD_SYS=3D"${SRC_BASE}/sys"

Solves the problem for me.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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