From owner-freebsd-ports@freebsd.org Thu Jun 4 17:39:09 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D1DB932AE4C for ; Thu, 4 Jun 2020 17:39:09 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49dCgw5lBQz4NH9 for ; Thu, 4 Jun 2020 17:39:08 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id 054Hd4Y8028644 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 4 Jun 2020 10:39:05 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 054Hd4Qq028643; Thu, 4 Jun 2020 10:39:04 -0700 (PDT) (envelope-from fbsd) Date: Thu, 4 Jun 2020 10:39:04 -0700 From: bob prohaska To: Christoph Moench-Tegeder Cc: freebsd-ports@freebsd.org Subject: Re: 'asm/hwcap.h' file not found building chromium on Pi3 Message-ID: <20200604173904.GA28358@www.zefox.net> References: <20200601022208.GA15761@www.zefox.net> <20200604144539.GB26450@www.zefox.net> <20200604151539.GA53594@elch.exwg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200604151539.GA53594@elch.exwg.net> X-Rspamd-Queue-Id: 49dCgw5lBQz4NH9 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [1.11 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.742]; NEURAL_HAM_LONG(-0.41)[-0.415]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.37)[0.365]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 17:39:09 -0000 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