Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2022 13:41:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 258271] www/chromium: Makefile warning for grep mempcpy /usr/include/string.h. This warning is redundant and persistent.
Message-ID:  <bug-258271-28929-KPKpcJkMhP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258271-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258271-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=3D258271

--- Comment #26 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Robert Nagy from comment #24)

Thanks. Now trying build putting your latest patch in files/ and passed the
point that usually breaks (4%-5%). Now already around 29%.


Just FYI for the future:
Your previous patch (modified conditional for stable/13) didn't work becaus=
e of
locked-out problem. By grep'ping,

 *config/config-linux.h is included only in third_party/nasm/config/config.h
 *config/config.h is only included in third_party/nasm/include/compiler.h

and

 *Base sys/param.h is included only in third_party/nasm/nasmlib/realpath.c
 *In realpath.c, compiler.h is included BEFORE base sys/param.h, which is
  guarded around HAVE_SYS_PARAM_H check.
 *HAVE_SYS_PARAM_H is toggled in config/config-linux.h.

thus __FreeBSD_version is NOT YET DEFINED when evaluated in
config/config-linux.h.

Forcibly moving HAVE_SYS_PARAM_H part to the top of the file and include
sys/param.h just after there with HAVE_SYS_PARAM_H guard allowed build.

--=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-258271-28929-KPKpcJkMhP>