From owner-freebsd-bugs@freebsd.org Thu Jul 25 03:03:23 2019 Return-Path: Delivered-To: freebsd-bugs@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 AD0B5C11C4 for ; Thu, 25 Jul 2019 03:03:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 550818B56E for ; Thu, 25 Jul 2019 03:03:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 52CA1C11A1; Thu, 25 Jul 2019 03:03:23 +0000 (UTC) Delivered-To: bugs@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 52136C11A0 for ; Thu, 25 Jul 2019 03:03:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26A728B52D for ; Thu, 25 Jul 2019 03:03:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E8DDF2069D for ; Thu, 25 Jul 2019 03:03:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x6P3322R044632 for ; Thu, 25 Jul 2019 03:03:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6P332pD044631 for bugs@FreeBSD.org; Thu, 25 Jul 2019 03:03:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 239436] weird error trying to run make kernel Date: Thu, 25 Jul 2019 03:03:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: doctor@doctor.nl2k.ab.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 550818B56E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2019 03:03:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239436 Bug ID: 239436 Summary: weird error trying to run make kernel Product: Base System Version: 12.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: doctor@doctor.nl2k.ab.ca just recently got: sh /usr/src/sys/kern/genoffset.sh genoffset.o > offset.inc cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc=20=20 -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC -= MD=20 -MF.depend.efirt.o -MTefirt.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno= -sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp= are -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=3Diso9899:1999 -c /usr/src/sys/amd64/amd64/efirt.c -o efirt.o /usr/src/sys/amd64/amd64/efirt.c:108:1: error: static declaration of 'efi_destroy_1t1_map' follows non-static declaration efi_destroy_1t1_map(void) ^ /usr/src/sys/sys/efi.h:180:6: note: previous declaration is here void efi_destroy_1t1_map(void); ^ /usr/src/sys/amd64/amd64/efirt.c:116:24: error: use of undeclared identifier 'vm_cnt' atomic_subtract_int(&vm_cnt.v_wire_count, ^ /usr/src/sys/amd64/amd64/efirt.c:187:1: error: static declaration of 'efi_create_1t1_map' follows non-static declaration efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz) ^ /usr/src/sys/sys/efi.h:179:6: note: previous declaration is here bool efi_create_1t1_map(struct efi_md *, int, int); ^ /usr/src/sys/amd64/amd64/efirt.c:300:8: error: assigning to 'int' from incompatible type 'void' error =3D fpu_kern_enter(curthread, NULL, FPU_KERN_NOCTX); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/amd64/amd64/efirt.c:442:1: error: no previous prototype for function 'efi_get_time_locked' [-Werror,-Wmissing-prototypes] efi_get_time_locked(struct efi_tm *tm) ^ /usr/src/sys/amd64/amd64/efirt.c:464:12: error: use of undeclared identifier 'resettodr_lock' mtx_lock(&resettodr_lock); ^ /usr/src/sys/amd64/amd64/efirt.c:464:12: error: use of undeclared identifier 'resettodr_lock' /usr/src/sys/amd64/amd64/efirt.c:466:14: error: use of undeclared identifier 'resettodr_lock' mtx_unlock(&resettodr_lock); ^ /usr/src/sys/amd64/amd64/efirt.c:466:14: error: use of undeclared identifier 'resettodr_lock' /usr/src/sys/amd64/amd64/efirt.c:484:1: error: no previous prototype for function 'efi_set_time_locked' [-Werror,-Wmissing-prototypes] efi_set_time_locked(struct efi_tm *tm) ^ /usr/src/sys/amd64/amd64/efirt.c:506:12: error: use of undeclared identifier 'resettodr_lock' mtx_lock(&resettodr_lock); ^ /usr/src/sys/amd64/amd64/efirt.c:506:12: error: use of undeclared identifier 'resettodr_lock' /usr/src/sys/amd64/amd64/efirt.c:508:14: error: use of undeclared identifier 'resettodr_lock' mtx_unlock(&resettodr_lock); ^ /usr/src/sys/amd64/amd64/efirt.c:508:14: error: use of undeclared identifier 'resettodr_lock' 14 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/sys/modules/efirt *** Error code 1 Stop. make[3]: stopped in /usr/src/sys/modules *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Why would this happen? --=20 You are receiving this mail because: You are the assignee for the bug.=