'asm/hwcap.h' file not found building chromium on Pi3

bob prohaska fbsd at www.zefox.net
Thu Jun 4 17:39:09 UTC 2020


On Thu, Jun 04, 2020 at 05:15:39PM +0200, Christoph Moench-Tegeder wrote:
> ## bob prohaska (fbsd at www.zefox.net):
> 
> > The ports were updated to 537591, which seems to have updated
> > www/chromium to chromium-83.0.4103.61, but the error persists.
> 
> asm/hwcap.h does not exist on FreeBSD. That somewhat modified
> zlib code tries to include asm/hwcap.h as it believes it's building
> on/for Linux on ARM (that #include is guarded by #ifdef ARMV8_OS_LINUX).
> Even on Linux, asm/hwcap.h only exists on arm, riscv and some other
> platforms, but notably not on anything x86-related.
> As to "modified": the whole cpu_features.c is not part of the original
> zlib distribution. So, I guess you're in for a deep dive...
> 

I've opened a bug, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246982

FWIW, www/chromium compiled successfully (and even ran, fitfully) about
a year ago on the Pi3B.

Thanks for replying,

bob prohaska



More information about the freebsd-ports mailing list