Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2021 20:08:25 +0200
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Alexey Dokuchaev <danfe@freebsd.org>
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:  <YXmVmST2CP7S7aR9@KGPE-D16>
In-Reply-To: <YXmAowfCz1P7P2bq@FreeBSD.org>
References:  <202110261848.19QImqrt031580@gitrepo.freebsd.org> <YXj02W6rRXC0ZSTA@FreeBSD.org> <YXlg7IMwniDx32C%2B@KGPE-D16> <YXmAowfCz1P7P2bq@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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