Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2024 10:34:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279397] www/chromium sqlite3_shim.c compilation error
Message-ID:  <bug-279397-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279397

            Bug ID: 279397
           Summary: www/chromium sqlite3_shim.c compilation error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: kib@FreeBSD.org
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

Created attachment 251083
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251083&action=
=3Dedit
poudriere build log

I started getting the error compiling chromium 125.0.6422.76_1, which is ke=
pt
persistent with update to 125.0.6422.112:
In file included from ../../third_party/sqlite/sqlite3_shim.c:16:
../../third_party/sqlite/src/amalgamation/sqlite3.c:53619:21: error: call to
undeclared function 'alloca'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
 53619 |     u32 *aiValues =3D sqlite3StackAllocRaw(0, sizeof(p->u.aHash));
       |                     ^
../../third_party/sqlite/src/amalgamation/sqlite3.c:20536:38: note: expanded
from macro 'sqlite3StackAllocRaw'
 20536 | # define sqlite3StackAllocRaw(D,N)   alloca(N)
       |                                      ^
../../third_party/sqlite/src/amalgamation/sqlite3.c:53619:10: error:
incompatible integer to pointer conversion initializing 'u32 *' (aka 'unsig=
ned
int *') with an expression of type 'int' [-Wint-conversion]
 53619 |     u32 *aiValues =3D sqlite3StackAllocRaw(0, sizeof(p->u.aHash));
       |          ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
all seemingly related to alloca().

I am not sure when did that started, might be with an update of llvm18.
Even more, I am not sure if this is a local issue or indeed a port's proble=
m.

The poudriere log is attached.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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