Bug 264367 - www/onlyoffice-documentserver: Build fails with GCC 11 on i386: Multiple errors
Summary: www/onlyoffice-documentserver: Build fails with GCC 11 on i386: Multiple errors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mikael Urankar
URL: http://package23.nyi.freebsd.org/data...
Keywords:
Depends on:
Blocks: 258378
  Show dependency treegraph
 
Reported: 2022-05-31 10:36 UTC by Lorenzo Salvadore
Modified: 2022-05-31 11:44 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mikael)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2022-05-31 10:36:05 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-05-31 10:41:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e42787633057b67d32f67ce0c4ed091cb9a4174

commit 8e42787633057b67d32f67ce0c4ed091cb9a4174
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-05-31 10:40:09 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-05-31 10:40:58 +0000

    www/onlyoffice-documentserver: Mark as broken on i386

    v8 doesn't compile on this arch

    PR:             264367
    Reported by:    salvadore

 www/onlyoffice-documentserver/Makefile | 2 ++
 1 file changed, 2 insertions(+)