Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 2021 10:29:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 257352] [patch]www/chromium: Fails to build after mempcpy (3) is added into base libc
Message-ID:  <bug-257352-28929-BodOmXExZV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257352-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257352-28929@https.bugs.freebsd.org/bugzilla/>

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

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #17 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Tatsuki Makino from comment #16)

devel/electron12 includes an internal chromium build that also
gets the following in my attempted builds based on:

# cd /usr/ports
# ~/fbsd-based-on-what-commit.sh=20
branch: main
merge-base: 59611d61d70a85f4418f3f701db1b7baf58560ba
merge-base: CommitDate: 2021-09-29 09:39:17 +0000
59611d61d70a (HEAD -> main) databases/postgresql14-server: fix openssl
dependency
n560161 (--first-parent --count for merge-base)

The examples:

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 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.

and:

In file included from ../../third_party/nasm/asm/error.c:38:
../../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.

and:

In file included from ../../third_party/nasm/asm/directiv.c:38:
../../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.

and:

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.

and:

In file included from ../../third_party/nasm/asm/eval.c:38:
../../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.

--=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-257352-28929-BodOmXExZV>