Re: build of www/chromium stops in node18

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 11 Jul 2023 03:28:42 UTC
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.