https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258271

--- Comment #26 from Tomoaki AOKI <junch...@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 because 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to