[Bug 242758] sysutils/lsof: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: vm_page.h:204: error: field 'md' has incomplete type

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 21 12:58:06 UTC 2020


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

Piotr Kubaj <pkubaj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ler at FreeBSD.org,
                   |                            |pkubaj at FreeBSD.org
 Attachment #210914|                            |maintainer-approval?(ler at Fr
              Flags|                            |eeBSD.org)

--- Comment #2 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
Created attachment 210914
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210914&action=edit
patch

The following patch fixes build on powerpc64, powerpc and pleases portlint.
powerpc64 users need to either define AIM or BOOKE, this is dependent on the
hardware they have (99% of users have AIM). powerpc is all AIM AFAIK,
powerpcspe is all BOOKE AFAIK.

powerpc needs also -lzpool workaround, I'm not sure about powerpcspe.

Also remove whitespace after "can" and empty line after -lzpool's if.

Tabify CONFIGURE_ENV.

Please also MFH since this is a build fix.

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


More information about the freebsd-ppc mailing list