Re: cannot build 12.1-RELEASE on latest current-snapshot

From: h v <henry.vogt_at_gmail.com>
Date: Sun, 22 Mar 2020 16:49:08 +0100
Hi again,

On 21.03.20 21:52, Dimitry Andric wrote:
>> ...
> It needs a merge of r355588 ("Fix WITHOUT_CLANG build"), actually.  For
> some reason, the logic in 12.1-R's version of src.opts.mk does not work
> correctly.  I tried setting MK_SYSTEM_COMPILER=no, but even that does
> not work as it should.  If you can, I would use 12-STABLE instead.
>
> -Dimitry

I applied r355588 and now and it proceeds further but bails out again
shortly thereafter:

--- C U T ---

...

Building /usr/obj/usr/src/12.1/amd64.amd64/lib/libc/yp_xdr.o
--- pkru.o ---
/usr/src/12.1/lib/libc/x86/sys/pkru.c:74: warning: 'ifunc' attribute
directive ignored
/usr/src/12.1/lib/libc/x86/sys/pkru.c:109: warning: 'ifunc' attribute
directive ignored
--- getcontextx.o ---
/usr/src/12.1/lib/libc/x86/gen/getcontextx.c:64: warning: 'ifunc'
attribute directive ignored
/usr/src/12.1/lib/libc/x86/gen/getcontextx.c:103: warning: 'ifunc'
attribute directive ignored
Building /usr/obj/usr/src/12.1/amd64.amd64/lib/libc/yplib.o
--- __vdso_gettc.o ---
/usr/src/12.1/lib/libc/x86/sys/__vdso_gettc.c:75: warning: 'ifunc'
attribute directive ignored
/usr/src/12.1/lib/libc/x86/sys/__vdso_gettc.c:75: warning: 'rdtsc_mb'
used but never defined
Building /usr/obj/usr/src/12.1/amd64.amd64/lib/libc/subr_capability.o
--- pkru.o ---
{standard input}: Assembler messages:
{standard input}:39: Error: no such instruction: `rdpkru'
{standard input}:60: Error: no such instruction: `wrpkru'
{standard input}:171: Error: no such instruction: `rdpkru'
*** [pkru.o] Error code 1

make[4]: stopped in /usr/src/12.1/lib/libc
.ERROR_TARGET='pkru.o'
.ERROR_META_FILE='/usr/obj/usr/src/12.1/amd64.amd64/lib/libc/pkru.o.meta'
--- C U T ---

this looks even more serious to me.. are the other patches to apply ?

Best

Henry
Received on Sun Mar 22 2020 - 14:49:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC