Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2020 13:57:03 -0800
From:      "Brian W." <brian@brianwhalen.net>
To:        freebsd-stable@freebsd.org
Subject:   kernel build fail
Message-ID:  <6d2e279a-ea68-3a9b-5997-8cc8bfcd4663@brianwhalen.net>

next in thread | raw e-mail | index | archive | help
I saw this last night.

With this system version

$ uname -a
FreeBSD fbsd122 12.2-RELEASE-p1 FreeBSD 12.2-RELEASE-p1 GENERIC amd64

I tried to buildworld and kernel, with ccache. After it failed with 
ccache I disabled ccache.

The kernel failed in this way when I disabled ccache.


In file included from /usr/src/sys/dev/ice/if_ice_iflib.c:42:
In file included from /usr/src/sys/dev/ice/ice_iflib.h:59:
In file included from /usr/src/sys/dev/ice/ice_lib.h:61:
In file included from /usr/src/sys/dev/ice/ice_dcb.h:36:
In file included from /usr/src/sys/dev/ice/ice_type.h:70:
/usr/src/sys/dev/ice/ice_hw_autogen.h:2498:38: error: '/*' within block 
comment [-Werror,-Wcomment]
#define PFINT_OICR_CTL                          0x0016CA80 /* Reset 
Source: CORER */
                                                            ^
In file included from /usr/src/sys/dev/ice/if_ice_iflib.c:42:
In file included from /usr/src/sys/dev/ice/ice_iflib.h:59:
/usr/src/sys/dev/ice/ice_lib.h:664:12: error: use of undeclared 
identifier 'GLINT_DYN_CTL_INTENA_M'
         dyn_ctl = GLINT_DYN_CTL_INTENA_M | GLINT_DYN_CTL_CLEARPBA_M |
                   ^
/usr/src/sys/dev/ice/ice_lib.h:664:37: error: use of undeclared 
identifier 'GLINT_DYN_CTL_CLEARPBA_M'
         dyn_ctl = GLINT_DYN_CTL_INTENA_M | GLINT_DYN_CTL_CLEARPBA_M |
                                            ^
/usr/src/sys/dev/ice/ice_lib.h:665:22: error: use of undeclared 
identifier 'GLINT_DYN_CTL_ITR_INDX_S'
                   (ICE_ITR_NONE << GLINT_DYN_CTL_ITR_INDX_S);
                                    ^
/usr/src/sys/dev/ice/ice_lib.h:666:11: error: implicit declaration of 
function 'GLINT_DYN_CTL' is invalid in
       C99 [-Werror,-Wimplicit-function-declaration]
         wr32(hw, GLINT_DYN_CTL(vector), dyn_ctl);
                  ^
/usr/src/sys/dev/ice/ice_lib.h:682:28: error: use of undeclared 
identifier 'GLINT_DYN_CTL_ITR_INDX_S'
         dyn_ctl = ICE_ITR_NONE << GLINT_DYN_CTL_ITR_INDX_S;
                                   ^
/usr/src/sys/dev/ice/ice_lib.h:683:11: error: implicit declaration of 
function 'GLINT_DYN_CTL' is invalid in
       C99 [-Werror,-Wimplicit-function-declaration]
         wr32(hw, GLINT_DYN_CTL(vector), dyn_ctl);
                  ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1194:18: error: use of undeclared 
identifier 'PFINT_OICR'
         oicr = rd32(hw, PFINT_OICR);
                         ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1209:13: error: use of undeclared 
identifier 'PFINT_OICR_VFLR_M'
         if (oicr & PFINT_OICR_VFLR_M) {
                    ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1213:13: error: use of undeclared 
identifier 'PFINT_OICR_MAL_DETECT_M'
         if (oicr & PFINT_OICR_MAL_DETECT_M) {
                    ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1217:13: error: use of undeclared 
identifier 'PFINT_OICR_GRST_M'
         if (oicr & PFINT_OICR_GRST_M) {
                    ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1220:21: error: use of undeclared 
identifier 'GLGEN_RSTAT'
                 reset = (rd32(hw, GLGEN_RSTAT) & 
GLGEN_RSTAT_RESET_TYPE_M) >>
                                   ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1220:36: error: use of undeclared 
identifier 'GLGEN_RSTAT_RESET_TYPE_M'
                 reset = (rd32(hw, GLGEN_RSTAT) & 
GLGEN_RSTAT_RESET_TYPE_M) >>
                                                  ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1221:4: error: use of undeclared 
identifier 'GLGEN_RSTAT_RESET_TYPE_S'
                         GLGEN_RSTAT_RESET_TYPE_S;
                         ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1247:13: error: use of undeclared 
identifier 'PFINT_OICR_ECC_ERR_M'
         if (oicr & PFINT_OICR_ECC_ERR_M) {
                    ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1252:13: error: use of undeclared 
identifier 'PFINT_OICR_PE_CRITERR_M'
         if (oicr & PFINT_OICR_PE_CRITERR_M) {
                    ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1257:13: error: use of undeclared 
identifier 'PFINT_OICR_PCI_EXCEPTION_M'
         if (oicr & PFINT_OICR_PCI_EXCEPTION_M) {
                    ^
/usr/src/sys/dev/ice/if_ice_iflib.c:1262:13: error: use of undeclared 
identifier 'PFINT_OICR_HMC_ERR_M'
         if (oicr & PFINT_OICR_HMC_ERR_M) {
                    ^
18 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
*** Error code 1
*** Error code 1

If it matters this is in virtualbox on an hp omen 15 with an amd 4800h 
proc in it.

Brian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6d2e279a-ea68-3a9b-5997-8cc8bfcd4663>