lsof on FreeBSD/arm

Larry Rosenman ler at lerctr.org
Tue Dec 23 17:29:25 UTC 2014


Greetings,
     I'm the maintainer of the sysutils/lsof port for FreeBSD.  It's been 
reported to me that the port doesn't compile on arm.  In investigating
that, I found that some of the includes that lsof includes need a cpu 
type defined in order to compile (machine/cpuconf.h).

Is there a reason that there is no "default" cpu defined either by the 
compiler or environment?

Playing in a armv6 poudriere jail, I found I can get it to compile via:
borg.lerctr.org /usr/local/etc/poudriere.d $ cat p110armv6-make.conf
CFLAGS += -DCPU_ARM1136=1
borg.lerctr.org /usr/local/etc/poudriere.d $

However, I'm not sure if that's kosher for a port to just define.

Can any of the arm experts help here?



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler at lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688



More information about the freebsd-arm mailing list