From nobody Wed Oct 27 18:08:25 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 53C901812F2A; Wed, 27 Oct 2021 18:08:32 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfcBR6zRhz4q6t; Wed, 27 Oct 2021 18:08:31 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (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 did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 89E0B124508; Wed, 27 Oct 2021 20:08:28 +0200 (CEST) Date: Wed, 27 Oct 2021 20:08:25 +0200 From: Piotr Kubaj To: Alexey Dokuchaev Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 981564583497 - main - net/cjdns: fix build on powerpc64* Message-ID: References: <202110261848.19QImqrt031580@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JDBj7WBiV5G9TZPc" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4HfcBR6zRhz4q6t X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --JDBj7WBiV5G9TZPc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Actually, the problem here is actually justified, IMO. https://chromium.googlesource.com/v8/v8/+/refs/heads/main/src/base/cpu.cc#7= 78 V8 has code for checking CPU on Linux and AIX for POWER architecture, but F= reeBSD is missing here. It should probably check for sysctl hw.model, but I've been unable to compi= le V8 port (lang/v8) on FreeBSD/powerpc*, so can't really fix it. I have some patches for V8 building, but it still fails at the end during l= inking the tests. I'm not sure why node itself builds (even though it bundles V8), it may jus= t omit V8 tests. On 21-10-27 16:38:59, Alexey Dokuchaev wrote: > On Wed, Oct 27, 2021 at 04:23:40PM +0200, Piotr Kubaj wrote: > > Not really: > > > os.cpus() > > [] > > > Math.floor((os.cpus() =3D=3D [] ? 1 : cpus.length) * 1.25) > > Uncaught ReferenceError: cpus is not defined > > > Math.floor((os.cpus() =3D=3D 0 ? 1 : cpus.length) * 1.25) > > 1 >=20 > This gets just funnier and funnier. Like I said, the sooner JS > dies, the better. >=20 > ./danfe --=20 --JDBj7WBiV5G9TZPc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmF5lZkACgkQelmbhSCD nJ0xyA//f8FPb00yk/zgAL8iun20ZW6ccfTzpRTnZEuIwL21atjlg0cT9dG5M/Ct /YgS5HM5cKO2E3aziKSwMBpCFJdwNq/IVgszLEeTwmJVmMoPCXDPbjUIuDdEfmDF 3qZfwdzAScC38m7qDxBYAB2wOoNPl7uaaSdCEvxOeK7sTC2Hlv2iUIcyIEkuFJgh ipXA33T8O24Cleo8GW/7GbtyzvIPTxF0sGpn5bepweD4usK6IatCFxO03U9xmSbl gMlciS8N9N+4S+ZGe+ilTKuSopWvIvfd9bftjCqwDRz7EV/Doz1ys6O3rePaEe43 H5fv8kPGu2kHuFyvgSCp+B0wNbPHx/TAOIJPbDRFQPclNqTXyvOZB8E2+OPAFEQ7 jafOFcZqV4E3MQblHgpVzK5yHP/Mnfur8K7oCBVorZrvFOqgCd8cWKu1W26pwUdy GkqXw+xlvW1njkW8hycBqMGEUSiZHHJiDZrj0BKZDBXyeSoZpygqenSrhEYrLU7G f6fPtZBmFgOOcfnaQVEa+mp484TYdITWbOzI7mqJLputoAuRYyUVeeNug8jdu+Gb w+Q+e3TC/MxA6N+dXtGthGSn12f1eNB3E11LWQNfmptt+rUuE+7BAsaiGvsU+PWY zsW9gRr1Eo8FI17MelkpgqMr14GemWSPGXciZV8N+fUr0M39EiM= =KSIi -----END PGP SIGNATURE----- --JDBj7WBiV5G9TZPc--