Re: www/chromium 92.0.4515.159 failing on recent 13-STABLE

From: Rene Ladan <rene_at_freebsd.org>
Date: Thu, 02 Sep 2021 09:24:56 UTC
On Fri, Aug 27, 2021 at 01:29:40AM +0200, Martin Neubauer wrote:
> Hi,
> 
> Maybe this could help:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257352
> 
This has been fixed in yesterdays commit.

Regards,
René

> Cheers,
> Martin
> 
> On 26/08/2021 01:47, Jonathan Chen wrote:
> > Hi,
> > 
> > I just updated 13-STABLE/am64 (stable/13-n246941-20f96f21556), which
> > appears to introduced clang 12.0.1. Unfortunately, I am now getting
> > build failures with www/chromium:
> > 
> > [ 16% 7885/48415] cc -MMD -MF obj/third_party/nasm/nasm/assemble.o.d
> > -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1
> > -DOFFI
> > CIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> > -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE
> > -DCR_CLANG_REVISION=\"llvmorg-13-ini
> > t-10392-gd3676d4b-2\" -DNDEBUG -DNVALGRIND
> > -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_CONFIG_H -I../.. -Igen
> > -I../../third_party/nasm -I../../third_p
> > arty/nasm/asm -I../../third_party/nasm/disasm
> > -I../../third_party/nasm/include -I../../third_party/nasm/output
> > -I../../third_party/nasm/x86 -fno-
> > delete-null-pointer-checks -fno-ident -fno-strict-aliasing
> > --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
> > -fno-asynchronous-unwin
> > d-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants
> > -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64
> > -msse3 -
> > Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -O2
> > -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0
> > -fprofile-ins
> > tr-use=../../chrome/build/pgo_profiles/chrome-linux-4515-1627572323-7b80f2d12f40afe6f7872c5528a069e31662276b.profdata
> > -Wno-profile-instr-unprofil
> > ed -Wno-profile-instr-out-of-date -Wno-backend-plugin
> > -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
> > -Wtautological-overlap-compare -Wa
> > ll -Wno-unused-variable -Wno-missing-field-initializers
> > -Wno-unused-parameter -Wno-c++11-narrowing
> > -Wno-unneeded-internal-declaration -Wno-undefi
> > ned-var-template -Wno-ignored-pragma-optimize
> > -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class
> > -Wno-builtin-assume-aligned-alig
> > nment -Wno-deprecated-copy -Wno-thread-safety-analysis
> > -Wno-thread-safety-attributes -Wno-unused-function
> > -Wno-string-conversion -Wno-macro-redef
> > ined -Wno-sign-compare -Wno-nonnull -Wno-uninitialized -std=c11 -c
> > ../../third_party/nasm/asm/assemble.c -o
> > obj/third_party/nasm/nasm/assemble.o
> > FAILED: obj/third_party/nasm/nasm/assemble.o
> > cc -MMD -MF obj/third_party/nasm/nasm/assemble.o.d -DUSE_AURA=1
> > -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1
> > -DOFFICIAL_BUILD -D_FILE
> > _OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> > -DNO_UNWIND_TABLES -D_GNU_SOURCE
> > -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-
> > 2\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
> > -DHAVE_CONFIG_H -I../.. -Igen -I../../third_party/nasm
> > -I../../third_party/nasm/asm -I..
> > /../third_party/nasm/disasm -I../../third_party/nasm/include
> > -I../../third_party/nasm/output -I../../third_party/nasm/x86
> > -fno-delete-null-pointe
> > r-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4
> > -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables
> > -fPIC -pt
> > hread -fcolor-diagnostics -fmerge-all-constants -flto=thin
> > -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3
> > -Xclang -fdebug-com
> > pilation-dir -Xclang . -no-canonical-prefixes -O2 -fdata-sections
> > -ffunction-sections -fno-omit-frame-pointer -g0
> > -fprofile-instr-use=../../chrom
> > e/build/pgo_profiles/chrome-linux-4515-1627572323-7b80f2d12f40afe6f7872c5528a069e31662276b.profdata
> > -Wno-profile-instr-unprofiled -Wno-profile-in
> > str-out-of-date -Wno-backend-plugin -fvisibility=hidden
> > -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare
> > -Wall -Wno-unused-var
> > iable -Wno-missing-field-initializers -Wno-unused-parameter
> > -Wno-c++11-narrowing -Wno-unneeded-internal-declaration
> > -Wno-undefined-var-template -
> > Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion
> > -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment
> > -Wno-depreca
> > ted-copy -Wno-thread-safety-analysis -Wno-thread-safety-attributes
> > -Wno-unused-function -Wno-string-conversion -Wno-macro-redefined
> > -Wno-sign-com
> > pare -Wno-nonnull -Wno-uninitialized -std=c11 -c
> > ../../third_party/nasm/asm/assemble.c -o
> > obj/third_party/nasm/nasm/assemble.o
> > In file included from ../../third_party/nasm/asm/assemble.c:178:
> > ../../third_party/nasm/include/compiler.h:249:21: error: static
> > declaration of 'mempcpy' follows non-static declaration
> > static inline void *mempcpy(void *dst, const void *src, size_t n)
> >                      ^
> > /usr/include/string.h:70:7: note: previous declaration is here
> > 
> > Cheers.
> > 
>