From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 9 06:56:16 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45665106564A; Thu, 9 Jul 2009 06:56:16 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 946BC8FC0A; Thu, 9 Jul 2009 06:56:15 +0000 (UTC) (envelope-from markocpc@gmail.com) Received: by ewy24 with SMTP id 24so408243ewy.43 for ; Wed, 08 Jul 2009 23:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=jSYunYvgwHt9NzU/5cVd0h0zzXTKy1/Yy1/V4yeXB9s=; b=lJs/R0Ky9JIK2A5wR8y0SwMro1KPUKJ7Ou3LFJUK+VR840RIow3CrLa4rmPZ3eUzTg uockeP78DDd3yI2nunqWi+pbpMEZcxFr9wP+BqNeF3xp85xOsinxWPx+tNzTiK+8D66S 9uSDL7Z5RZrzvCq4wim4kL18FsmjRiPeBEaYU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=TpIz/1uCPf/Q5BErEY/tJg4jKtaQ3XKW4Y6apYNVrqHy5GQmdoEEqfQOMwwBGsxT59 ecS/VOkCqcXmgeyuuejJO8LzM7giudqlcNFeOY7flZ1rWbpU9W46FdJ7VKxNIHJM8O+6 I4FGqzAvQpWaM5xwTWGwGWpJUARDffFmDjjzI= MIME-Version: 1.0 Received: by 10.211.179.6 with SMTP id g6mr475337ebp.32.1247120660424; Wed, 08 Jul 2009 23:24:20 -0700 (PDT) Date: Thu, 9 Jul 2009 08:24:20 +0200 Message-ID: <1b5ab4050907082324m1c70a304s8487192e46f63fc8@mail.gmail.com> From: Lagrange Marc To: freebsd-amd64@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Building kernel : CPUID_FXSR undeclared (first use...) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 06:56:16 -0000 Hi, I've just installed a 8-BETA1 on my new computer, checkouted the sources via svn (http://svn.freebsd.org/base/head). I've recompiled a kernel without debug and whitheness sucessfully, but when i've try to remove some things and it fails. The kernel configuration is here : http://banane.rhaamo.li/NAWAK The CPU is : CPU: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz (2499.73-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10677 Stepping = 7 Features=0xbfebfbff Features2=0x8e3fd AMD Features=0x20000800 AMD Features2=0x1 TSC: P-state invariant The kernel build error: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native -std=c99 -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/amd64/amd64/in_cksum.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native -std=c99 -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/amd64/amd64/initcpu.c /usr/src/sys/amd64/amd64/initcpu.c: In function 'initializecpu': /usr/src/sys/amd64/amd64/initcpu.c:146: error: 'CPUID_FXSR' undeclared (first use in this function) /usr/src/sys/amd64/amd64/initcpu.c:146: error: (Each undeclared identifier is reported only once /usr/src/sys/amd64/amd64/initcpu.c:146: error: for each function it appears in.) *** Error code 1 Stop in /usr/obj/usr/src/sys/NAWAK. *** Error code 1 Stop in /usr/src. I've also experiencing the same issue with audio/oss, it failed on CPUID_FXSR, but now fail with CPU_SSE or CPU_SSE2... If someone have an idea with this problem, Thanks. -- rhaamo on irc.freenode.net/oftc/geeknode