From owner-freebsd-stable@freebsd.org Sat Dec 26 21:57:09 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66C2C4C3CDF for ; Sat, 26 Dec 2020 21:57:09 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D3Hj03mHKz4lXs for ; Sat, 26 Dec 2020 21:57:08 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by mail-pf1-x429.google.com with SMTP id w6so4263575pfu.1 for ; Sat, 26 Dec 2020 13:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brianwhalen-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=W33OYIsACvk9ROF5i+KiyeJiOLu2PCN4RNF8SOaa1DQ=; b=nQ8UpNXnXm2YH8jVei+yr8Nhj6JtvwZIjLpiGwlsordv65qosKcLme4aRf2uo5tuTe sfoKMJahPnIFuxYUwa1vlnuSow+8POMqMZNIzGJRXSIxdjyi/YKO5+P3b5o4gQawR0Am WV490TNpJda+qCEs5IceLPoSEJ3RSlY30FzWn8m9PPBWE1FNaTM2W47Tc2DByUY6m/KR hrnCUdG1hM708bbvZbzuO0hKgkJIN2Q48TN5NRdYhRpdk6RHhv9hPEWIbYCriWtI0YPb CN+0WA6hE9FWxHwIcH6+yPHKZ9MsRe2OL9qSDPIc8x+yFRr5O7gOikT4FmvLsk+JTn+P mc2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=W33OYIsACvk9ROF5i+KiyeJiOLu2PCN4RNF8SOaa1DQ=; b=UgOLKF8kHD7cGee1fE95BDsZqR1cKSVtT4eHd8Gf+JLyx/hjeDCDJNDwZYApaOYhCW Sb3+Jj+rdlUgrBvc9YNHWpyYkLcsKg9QuKFpFHIRL32A64DZusLp+fvjCrgjO8VF37DL Rj7ovea5D3Mff5hr0Fute1lY2QCn9SrxISCcs0KzC5CgAQomRPTA6+YS2uhavfdME9Ax FuF+2iTrmlD8lirGhLRu21j7xfacH1JocUKBLkshICymSeTQTPIDi33l3l/zDlw7Xteu EWw7xx+kdQKq1JwV81QiZLXym1DZXtwf3Q7DGr3jxZ7+qD4fo9ima5ag6JKho5a7UbjE xm1A== X-Gm-Message-State: AOAM531WacrnnBNXPOloXCpV56dylRBZCtJyEN+de/35T8GERIetYj4l LOEkswGj9J5rherrwCFTKk389Fgn6z44qNVjI4E= X-Google-Smtp-Source: ABdhPJxRmaQa2FrbPinIMt3Qu6oN8M9BtcL2AkRYhOW2tgf7edgg7RiF10b3Mge67FfXr1SHsi+63Q== X-Received: by 2002:a65:67cf:: with SMTP id b15mr37413289pgs.429.1609019826529; Sat, 26 Dec 2020 13:57:06 -0800 (PST) Received: from [192.168.1.115] (cpe-70-95-138-103.san.res.rr.com. [70.95.138.103]) by smtp.gmail.com with ESMTPSA id e76sm31136751pfh.157.2020.12.26.13.57.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Dec 2020 13:57:06 -0800 (PST) To: freebsd-stable@freebsd.org From: "Brian W." Subject: kernel build fail Message-ID: <6d2e279a-ea68-3a9b-5997-8cc8bfcd4663@brianwhalen.net> Date: Sat, 26 Dec 2020 13:57:03 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4D3Hj03mHKz4lXs X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=brianwhalen-net.20150623.gappssmtp.com header.s=20150623 header.b=nQ8UpNXn; dmarc=none; spf=pass (mx1.freebsd.org: domain of brian@brianwhalen.net designates 2607:f8b0:4864:20::429 as permitted sender) smtp.mailfrom=brian@brianwhalen.net X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[brianwhalen-net.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::429:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[70.95.138.103:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[brianwhalen-net.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[brian]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[brianwhalen.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::429:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::429:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2020 21:57:09 -0000 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