Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2019 08:34:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242217] 'make buildworld' type upgrading to 12.1-RELEASE impossible
Message-ID:  <bug-242217-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: oz42@oz42.eu

'make buildworld' error message is:

--- pkru.o ---
/usr/src/lib/libc/x86/sys/pkru.c:68:9: error: implicit declaration of funct=
ion
'rdpkru' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        pkru =3D rdpkru();
               ^
/usr/src/lib/libc/x86/sys/pkru.c:99:9: error: implicit declaration of funct=
ion
'rdpkru' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        pkru =3D rdpkru();
               ^
/usr/src/lib/libc/x86/sys/pkru.c:105:2: error: implicit declaration of func=
tion
'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 =3D 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

--=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-242217-227>