Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2020 10:39:04 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Christoph Moench-Tegeder <cmt@burggraben.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: 'asm/hwcap.h' file not found building chromium on Pi3
Message-ID:  <20200604173904.GA28358@www.zefox.net>
In-Reply-To: <20200604151539.GA53594@elch.exwg.net>
References:  <20200601022208.GA15761@www.zefox.net> <F7504ADF-C2B3-4C59-BB59-17A72CEE4722@yahoo.com> <20200604144539.GB26450@www.zefox.net> <20200604151539.GA53594@elch.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 04, 2020 at 05:15:39PM +0200, Christoph Moench-Tegeder wrote:
> ## bob prohaska (fbsd@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




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