From owner-freebsd-stable@freebsd.org Thu Jul 5 10:54:53 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D44410409B3 for ; Thu, 5 Jul 2018 10:54:53 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9B5175793 for ; Thu, 5 Jul 2018 10:54:52 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id w16-v6so10327290wmc.2 for ; Thu, 05 Jul 2018 03:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version:content-language :thread-index; bh=CcahRGblD6rLH6I9Fn3pqOFE5nNYerTrTC50o7TsY2w=; b=LluSv8VgP3vPE8q7eamPquKN0yxmSiy0Eq89IObk20L6R4nWFBaxcYPp4vOlpzbN5v 2jaoL2IQCGgMFng+lw1fxV9Ut4EpxKmQCodmpzVbIvY0Qv1jsK0eheasm1/aOuyqhC4k SWWZ7PkrTYYCaiu8aygcYuVJrdhFhxkO3+nKross69O3pFFl6B2YbDTHJ7jaaBbHmGi/ 2qnx3pXdn2XlWCNvYe2zMEshhJLngy5rrbyeIYUUGnVPMtwtpb37llxXLHeVNB9XGMhW ajl3VP0JtqqIBQ5jsqfE8tF/lehOwzfg1Ns5ZvDKbrvtxwnn9jQya9br1Zvr8KxREzGG jjoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-language:thread-index; bh=CcahRGblD6rLH6I9Fn3pqOFE5nNYerTrTC50o7TsY2w=; b=Q1pAsgDHhI6dHXUM1hZT2yPATQ3K7QssCEF/5jM4/kmkgKMlItYhyMJVy+nA6Cduxv HSiZDOfEBlW+YB1G35YcMbzY7jnIt7iSHsMFcEYvYAm0zM0/uLcYc+IqPszHe8nPNC9C VcIQs/A2+MLkA3Q+3oUfyf30HBHqa+iW2HQ+QjaF4TI0vU7PA4knxkBgQOUFtZv48yu+ Tu0x58s1dHazdYvCWoPNJxZQKb35U2zTtXe7VKze5ysrSfSHeeMQYdY/gioLgLfn6+W0 IAKgrViBAOXFw7q9mbZMqZYVaX/0DztwNhAH1TMgOYsXkBS7auBbHDXGx3Ri8V/e4dSo hkug== X-Gm-Message-State: APt69E13uDWG63Ot4ZDUH1a/TTjnho4C+vNrzFLklNEUs6Q8Jg1uk31X CX9elBXkGtYqzH9KjHTVMmJtaMB1 X-Google-Smtp-Source: AAOMgpdTdLg4W1fX2iRkBRWWbN7p5toxEMdsIpE7nNPjcUWGbzygVeZNvL0sqk/2E0QleKvDwyVeeA== X-Received: by 2002:adf:b60d:: with SMTP id f13-v6mr3997441wre.186.1530788091315; Thu, 05 Jul 2018 03:54:51 -0700 (PDT) Received: from DriesPC (ptr-8sibhe27nh9xc4j1ahg.18120a2.ip6.access.telenet.be. [2a02:1811:2503:a700:39f5:ab63:beca:6e54]) by smtp.gmail.com with ESMTPSA id 77-v6sm5523652wmq.22.2018.07.05.03.54.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 03:54:50 -0700 (PDT) From: "Dries Michiels" To: Subject: Kernel build fails Date: Thu, 5 Jul 2018 12:54:50 +0200 Message-ID: <006601d4144e$993ad000$cbb07000$@gmail.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Content-Language: nl-be Thread-Index: AdQUTmEPVAR/USxzRNaoLgYhhRjSxA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 10:54:53 -0000 Hello, Today I wanted to upgrade to newest revision of the 11-stable branch but I have the following kernel build error: --- kern_kthread.o --- cc -target x86_64-unknown-freebsd11.2 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.kern_kthread.o -MTkern_kthread.o -mcmodel=kernel -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 -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -Werror /usr/src/sys/kern/kern_kthread.c --- kern_exit.o --- ctfconvert -L VERSION -g kern_exit.o --- kern_jail.o --- /usr/src/sys/kern/kern_jail.c:3943:15: error: unused variable 'p' [-Werror,-Wunused-variable] struct proc *p; ^ /usr/src/sys/kern/kern_jail.c:3944:16: error: unused variable 'cred' [-Werror,-Wunused-variable] struct ucred *cred; ^ 2 errors generated. --- kern_ktrace.o --- cc -target x86_64-unknown-freebsd11.2 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.kern_ktrace.o -MTkern_ktrace.o -mcmodel=kernel -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 -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -Werror /usr/src/sys/kern/kern_ktrace.c --- kern_jail.o --- *** [kern_jail.o] Error code 1 make[2]: stopped in /usr/obj/usr/src/sys/VADOS --- kern_exec.o --- ctfconvert -L VERSION -g kern_exec.o --- kern_intr.o --- ctfconvert -L VERSION -g kern_intr.o --- kern_kthread.o --- ctfconvert -L VERSION -g kern_kthread.o --- kern_fork.o --- ctfconvert -L VERSION -g kern_fork.o --- kern_event.o --- ctfconvert -L VERSION -g kern_event.o --- kern_descrip.o --- ctfconvert -L VERSION -g kern_descrip.o --- kern_ktrace.o --- ctfconvert -L VERSION -g kern_ktrace.o 1 error make[2]: stopped in /usr/obj/usr/src/sys/VADOS *** [buildkernel] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Any ideas? Regards, Dries