Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2022 10:17:19 -0800
From:      Craig Leres <leres@freebsd.org>
To:        "Alex V. Petrov" <alexvpetrov@gmail.com>, chromium@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: chromium-98.0.4758.102 Error build on 13-stable
Message-ID:  <e0be9b5a-28c9-60a1-74aa-86cc9001149b@freebsd.org>
In-Reply-To: <f027f938-1b1d-e6c6-2ce4-dec7bc3a3e34@gmail.com>
References:  <f027f938-1b1d-e6c6-2ce4-dec7bc3a3e34@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2/21/22 09:05, Alex V. Petrov wrote:
> 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
> void    *mempcpy(void * __restrict, const void * __restrict, size_t);
>           ^
> 1 error generated.
> ninja: build stopped: subcommand failed.
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/www/chromium
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/www/chromium

The build for this version also fails for me on 12.3-RELEASE-p2.

		Craig

c++ -MMD -MF obj/base/base/poisson_allocation_sampler.o.d 
-DPA_PCSCAN_STACK_SUPPORTED -DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_GLIB=1 
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES 
-D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-11564-g37fbf238-3\" 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 
-DBASE_IMPLEMENTATION -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DU_USING_ICU_NAMESPACE=0 
-DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 
-DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION 
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -I../.. -Igen 
-I../../third_party/perfetto/include 
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto 
-I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include 
-I../../third_party/protobuf/src -Igen/protoc_out 
-I../../third_party/icu/source/common 
-I../../third_party/icu/source/i18n -fno-delete-null-pointer-checks 
-fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 
-fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables 
-fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 
-march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . 
-no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough 
-Wunreachable-code-aggressive -Wthread-safety -Wextra-semi 
-Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis 
-Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi 
-Wno-ignored-pragma-optimize -Wno-builtin-assume-aligned-alignment 
-Wshadow -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern 
-fvisibility=hidden -Wheader-hygiene -Wstring-conversion 
-Wtautological-overlap-compare -Wexit-time-destructors 
-Wglobal-constructors -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include 
-Wexit-time-destructors -O2 -fdata-sections -ffunction-sections 
-fno-unique-section-names -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++14 
-fno-trigraphs -Wno-trigraphs -fno-aligned-new -fno-exceptions -fno-rtti 
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem 
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c 
../../base/sampling_heap_profiler/poisson_allocation_sampler.cc -o 
obj/base/base/poisson_allocation_sampler.o
warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option]
In file included from 
../../base/sampling_heap_profiler/poisson_allocation_sampler.cc:14:
In file included from 
../../base/allocator/partition_allocator/partition_alloc.h:10:
In file included from 
../../base/allocator/partition_allocator/partition_root.h:51:
In file included from 
../../base/allocator/partition_allocator/partition_direct_map_extent.h:10:
In file included from 
../../base/allocator/partition_allocator/partition_page.h:22:
../../base/allocator/partition_allocator/starscan/state_bitmap.h:426:11: 
error: reference to non-static member function must be called



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0be9b5a-28c9-60a1-74aa-86cc9001149b>