[Bug 242217] 'make buildworld' type upgrading to 12.1-RELEASE impossible
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 25 08:34:58 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242217
Bug ID: 242217
Summary: 'make buildworld' type upgrading to 12.1-RELEASE
impossible
Product: Base System
Version: 12.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: oz42 at oz42.eu
'make buildworld' error message is:
--- pkru.o ---
/usr/src/lib/libc/x86/sys/pkru.c:68:9: error: implicit declaration of function
'rdpkru' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pkru = rdpkru();
^
/usr/src/lib/libc/x86/sys/pkru.c:99:9: error: implicit declaration of function
'rdpkru' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pkru = rdpkru();
^
/usr/src/lib/libc/x86/sys/pkru.c:105:2: error: implicit declaration of function
'wrpkru' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
wrpkru(pkru);
^
/usr/src/lib/libc/x86/sys/pkru.c:105:2: note: did you mean 'rdpkru'?
/usr/src/lib/libc/x86/sys/pkru.c:68:9: note: 'rdpkru' declared here
pkru = rdpkru();
^
/usr/src/lib/libc/x86/sys/pkru.c:119:24: error: variable has incomplete type
'struct amd64_set_pkru'
struct amd64_set_pkru a64pkru;
^
/usr/src/lib/libc/x86/sys/pkru.c:119:9: note: forward declaration of 'struct
amd64_set_pkru'
struct amd64_set_pkru a64pkru;
^
/usr/src/lib/libc/x86/sys/pkru.c:126:18: error: use of undeclared identifier
'AMD64_SET_PKRU'
return (sysarch(X86_SET_PKRU, &a64pkru));
^
/usr/src/lib/libc/x86/sys/pkru.c:46:22: note: expanded from macro
'X86_SET_PKRU'
#define X86_SET_PKRU AMD64_SET_PKRU
^
/usr/src/lib/libc/x86/sys/pkru.c:132:24: error: variable has incomplete type
'struct amd64_set_pkru'
struct amd64_set_pkru a64pkru;
^
/usr/src/lib/libc/x86/sys/pkru.c:132:9: note: forward declaration of 'struct
amd64_set_pkru'
struct amd64_set_pkru a64pkru;
^
/usr/src/lib/libc/x86/sys/pkru.c:137:18: error: use of undeclared identifier
'AMD64_CLEAR_PKRU'
return (sysarch(X86_CLEAR_PKRU, &a64pkru));
^
/usr/src/lib/libc/x86/sys/pkru.c:47:24: note: expanded from macro
'X86_CLEAR_PKRU'
#define X86_CLEAR_PKRU AMD64_CLEAR_PKRU
^
7 errors generated.
*** [pkru.o] Error code 1
make[4]: stopped in /usr/src/lib/libc
1 error
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list