From owner-freebsd-questions@FreeBSD.ORG Fri Feb 22 23:56:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 56CF73F3 for ; Fri, 22 Feb 2013 23:56:27 +0000 (UTC) (envelope-from andre@drenet.info) Received: from mail-gh0-f175.google.com (mail-gh0-f175.google.com [209.85.160.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1D9602B7 for ; Fri, 22 Feb 2013 23:56:26 +0000 (UTC) Received: by mail-gh0-f175.google.com with SMTP id g18so230906ghb.34 for ; Fri, 22 Feb 2013 15:56:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drenet.info; s=google; h=x-received:from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=zBXEChnoyXzaXkE5RgQtdRfdRkm3fGkSdVRz2MzliTM=; b=SfulJqoCiVsQVcBfXKfir+cgSEeSEf8MFFxHlrnQzsBf5ffJfxRXPP0rD4m86kZNr1 IMMlAReTJuPcQbHfchXx7ocNW1/zWaCvBnX/L2YXhAlleZPRmenX8FnuJt6d4YMF6sH9 bj8JjX0CQQBqqfLV7byYzwBvncgGxiO80kU8M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type:x-gm-message-state; bh=zBXEChnoyXzaXkE5RgQtdRfdRkm3fGkSdVRz2MzliTM=; b=Do0wEBwcbflPWEDFCc9WMHQB/2ZovnFho5WNVeJXFmSnrDYX4eoENBcu98EaXAe4A4 fDI5+oFYK0g2d9LUEAOGcwzpuuadVj7lBaJz95MA7jvgxO78o1iYgwlWjQ8CAym5SQv4 sHOtStpFxeGsGgtyPi2Qcf01OlXEkHwcHmqgi/gkud3fE/HicHDSrkiYOQdckCJdussa e20Mg8gorZMogkBARMHMdq1COnyE15X3cHYUzy2cdzfg1/t+bnAmww/qLi8ak0wVCf77 16H73db4XjD7pWWPst9d0nxA6SiCDqFhWDptfJsRLCTMHvKm7NzbZyKcrLmO80+jxl5m vySg== X-Received: by 10.101.40.2 with SMTP id s2mr2250199anj.88.1361577380311; Fri, 22 Feb 2013 15:56:20 -0800 (PST) Received: from desktop.drenet.local ([97.100.190.35]) by mx.google.com with ESMTPS id o8sm5295420ani.4.2013.02.22.15.56.19 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 22 Feb 2013 15:56:19 -0800 (PST) From: Andre Goree To: freebsd-questions@freebsd.org Subject: Can't build kernel Date: Fri, 22 Feb 2013 18:56:18 -0500 Message-ID: <1891100.Xa0R7QjnRb@desktop.drenet.local> User-Agent: KMail/4.9.5 (FreeBSD/8.3-STABLE; KDE/4.9.5; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gm-Message-State: ALoCoQkcU+kVRDtHfc4V/YlYJOpw5+Emp0hEO1rzEeUk9wJqC6wUPv/1uGTTWaOU+QVeZk+sGUX2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 23:56:27 -0000 I'm running 8.3-STABLE (not sure if I should've posted this to freebsd-stable, please correct me if so). I'm able to successfully buildworld after an svn up of /usr/src, however when I try to build my customer kernel, the build stops at the following: /usr/local/libexec/ccache/world/cc -c -O2 -frename-registers -pipe -fno- strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs - Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys - I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 -- param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel - mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow - msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector - Werror /usr/src/sys/x86/x86/local_apic.c cc1: warnings being treated as errors /usr/src/sys/x86/x86/local_apic.c:166: warning: 'lapic_resume' declared 'static' but never defined *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Here is my kernel configuration [1]. Any suggestions on how to get this built properly or otherwise troubleshoot? I've also tried with GENERIC, which fails at the same exact spot. Building without ccache also fails at the same exact spot :( Thanks in advance for any guidance you can provide. [1]http://www.drenet.net/images/BUILD011313.txt -- Andre Goree andre@drenet.info