[Bug 264367] www/onlyoffice-documentserver: Build fails with GCC 11 on i386: Multiple errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 May 2022 10:36:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264367

            Bug ID: 264367
           Summary: www/onlyoffice-documentserver: Build fails with GCC 11
                    on i386: Multiple errors
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://package23.nyi.freebsd.org/data/130i386-default-
                    foo/2022-05-26_19h07m39s/logs/errors/onlyoffice-docume
                    ntserver-7.1.0.215.log
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 258378
          Assignee: mikael@FreeBSD.org
             Flags: maintainer-feedback?(mikael@FreeBSD.org)

Updating GCC_DEFAULT from GCC 10 to GCC 11 is blocked by the fact that building
this port with GCC 11 on i386 fails.

The error messages (or at least some of them) are the following:

../../Common/3dParty/v8/v8/include/v8-internal.h:101:1: error: static_assert
failed due to requirement 'kApiSystemPointerSize == kApiInt64Size' "Pointer
compression can be enabled only for 64-bit architectures"
../../Common/3dParty/v8/v8/include/v8-internal.h:414:27: error: constexpr
variable 'kPtrComprHeapReservationSize' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:415:27: error: constexpr
variable 'kPtrComprIsolateRootAlignment' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:101:1: error: static_assert
failed due to requirement 'kApiSystemPointerSize == kApiInt64Size' "Pointer
compression can be enabled only for 64-bit architectures"
../../Common/3dParty/v8/v8/include/v8-internal.h:414:27: error: constexpr
variable 'kPtrComprHeapReservationSize' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:415:27: error: constexpr
variable 'kPtrComprIsolateRootAlignment' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:101:1: error: static_assert
failed due to requirement 'kApiSystemPointerSize == kApiInt64Size' "Pointer
compression can be enabled only for 64-bit architectures"
../../Common/3dParty/v8/v8/include/v8-internal.h:414:27: error: constexpr
variable 'kPtrComprHeapReservationSize' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:415:27: error: constexpr
variable 'kPtrComprIsolateRootAlignment' must be initialized by a constant
expression
86 warnings and 3 errors generated.
*** [core_build/freebsd_64/release/obj/embed/v8/v8_MemoryStream.o] Error code 1
../../Common/3dParty/v8/v8/include/v8-internal.h:101:1: error: static_assert
failed due to requirement 'kApiSystemPointerSize == kApiInt64Size' "Pointer
compression can be enabled only for 64-bit architectures"
../../Common/3dParty/v8/v8/include/v8-internal.h:414:27: error: constexpr
variable 'kPtrComprHeapReservationSize' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:415:27: error: constexpr
variable 'kPtrComprIsolateRootAlignment' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:101:1: error: static_assert
failed due to requirement 'kApiSystemPointerSize == kApiInt64Size' "Pointer
compression can be enabled only for 64-bit architectures"
../../Common/3dParty/v8/v8/include/v8-internal.h:414:27: error: constexpr
variable 'kPtrComprHeapReservationSize' must be initialized by a constant
expression
../../Common/3dParty/v8/v8/include/v8-internal.h:415:27: error: constexpr
variable 'kPtrComprIsolateRootAlignment' must be initialized by a constant
expression

The above errors are not consecutive lines of the log: I used grep on the log.
Please also see the log in the URL field.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258378
[Bug 258378] [exp-run] Update GCC_DEFAULT from 10 to 11
-- 
You are receiving this mail because:
You are the assignee for the bug.