Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2021 08:04:00 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        KIRIYAMA Kazuhiko <kiri@truefc.org>
Cc:        ports@freebsd.org
Subject:   Re: www/chromium faild to build.
Message-ID:  <CAJuc1zOJaFC156yOALQcL4qsPL8ryYakC_SFDtAmNv9nAfturA@mail.gmail.com>
In-Reply-To: <202109011217.181CHmXN050269@kx.truefc.org>
References:  <202109011217.181CHmXN050269@kx.truefc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Sept 2021 at 00:18, KIRIYAMA Kazuhiko <kiri@truefc.org> wrote:
>
> Hi, list
>
> I've tried to built www/chromium but faild to build with
> error:
> FAILED: obj/third_party/nasm/nasm/directbl.o
> cc -MMD -MF obj/third_party/nasm/nasm/directbl.o.d -DUSE_AURA=3D1 -DUSE_G=
LIB=3D1 -DUSE_NSS_CERTS=3D1 -DUSE_OZONE=3D1 -DUSE_X11=3D1 -DOFFICIAL_BUILD =
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNW=
IND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=3D\"llvmorg-13-init-10392-gd36=
76d4b-2\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DHAVE_CON=
FIG_H -I../.. -Igen -I../../third_party/nasm -I../../third_party/nasm/asm -=
I../../third_party/nasm/disasm -I../../third_party/nasm/include -I../../thi=
rd_party/nasm/output -I../../third_party/nasm/x86 -fno-delete-null-pointer-=
checks -fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstac=
k-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthre=
ad -fcolor-diagnostics -fmerge-all-constants -flto=3Dthin -fsplit-lto-unit =
-fwhole-program-vtables -m64 -march=3Dx86-64 -msse3 -Xclang -fdebug-compila=
tion-dir -Xclang . -no-canonical-prefixes -O2 -fdata-sections -ffunction-se=
ctions -fno-omit-frame-pointer -g0 -fpro!
>  file-instr-use=3D../../chrome/build/pgo_profiles/chrome-linux-4515-16275=
72323-7b80f2d12f40afe6f7872c5528a069e31662276b.profdata -Wno-profile-instr-=
unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility=
=3Dhidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compa=
re -Wall -Wno-unused-variable -Wno-missing-field-initializers -Wno-unused-p=
arameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undef=
ined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conv=
ersion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignmen=
t -Wno-deprecated-copy -Wno-thread-safety-analysis -Wno-thread-safety-attri=
butes -Wno-unused-function -Wno-string-conversion -Wno-macro-redefined -Wno=
-sign-compare -Wno-nonnull -Wno-uninitialized -std=3Dc11 -c ../../third_par=
ty/nasm/asm/directbl.c -o obj/third_party/nasm/nasm/directbl.o
> In file included from ../../third_party/nasm/asm/directbl.c:6:
> In file included from ../../third_party/nasm/asm/directiv.h:9:
> In file included from ../../third_party/nasm/include/perfhash.h:37:
> ../../third_party/nasm/include/compiler.h:249:21: error: static declarati=
on 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.

You need to update your ports tree past commit 9e6695a which has:

  www/chromium: fix build on CURRENT
  ... after mempcpy(3) has been added to base libc.


Cheers.
--=20
Jonathan Chen <jonc@chen.org.nz>



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