Re: build of www/chromium stops in node18

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Thu, 20 Jul 2023 07:09:18 UTC
Just doing a test run on firefox.

I colected this from:
https://lists.freebsd.org/archives/freebsd-ports/2023-July/004123.html

www/node18:

# See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272013
# See also:
https://chromium.googlesource.com/v8/v8.git/+/d15d49b09dc7aef9edcc4cf6a0cb2b77a0db203f
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 && ${ARCH} == aarch64
CXXFLAGS+= -Wno-error=enum-constexpr-conversion
.endif

Cheers,

Jan Beich <jbeich@freebsd.org> escreveu no dia terça, 11/07/2023 à(s) 04:28:

> bob prohaska <fbsd@www.zefox.net> writes:
>
> > While compiling www/chromium on an 8GB Pi4 poudriere seems to have
> > trouble compiling www/node.
> [...]
> > In file included from
> ../deps/v8/src/compiler/backend/instruction-scheduler.cc:5:
> > In file included from
> ../deps/v8/src/compiler/backend/instruction-scheduler.h:10:
> > In file included from ../deps/v8/src/compiler/backend/instruction.h:13:
> > In file included from ../deps/v8/src/codegen/external-reference.h:9:
> > In file included from ../deps/v8/src/runtime/runtime.h:11:
> > ../deps/v8/src/base/bit-field.h:43:29: error: integer value 31 is
> outside the valid range of values [0, 15] for the enumeration type
> 'AddressingMode' [-Wenum-constexpr-conversion]
> >   static constexpr T kMax = static_cast<T>(kNumValues - 1);
> >                             ^
>
> See https://bugs.chromium.org/p/chromium/issues/detail?id=1348574#c17
> AddressingMode size depends on architecture, so the above error doesn't
> show up on amd64 or i386.
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)