Date: Thu, 30 May 2024 10:34:43 +0000 From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: maintainer-feedback requested: [Bug 279397] www/chromium sqlite3_shim.c compilation error Message-ID: <bug-279397-28929-OvdBe7Fsav@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279397-28929@https.bugs.freebsd.org/bugzilla/> References: <bug-279397-28929@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-chromium (Nobo= dy) <chromium@FreeBSD.org> for maintainer-feedback: Bug 279397: www/chromium sqlite3_shim.c compilation error https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279397 --- Description --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279397-28929-OvdBe7Fsav>