From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 05:13:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5469F106566C for ; Thu, 16 Sep 2010 05:13:49 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DC9498FC19 for ; Thu, 16 Sep 2010 05:13:48 +0000 (UTC) Received: by bwz15 with SMTP id 15so1604481bwz.13 for ; Wed, 15 Sep 2010 22:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=XhRK3grcdAbrPVGxFcWA/YvRfzvYP2mHgZIzDCGv3yo=; b=EVVG2eaklpX/eG6Dywjao2IJPjvNOGtTaW0vKjT7YfNPQ5AEosacKDqDmwBfHj87/z 9EqRsDKsyaMmb64izpkFrDAWwbJW6FQBnrsV16PGgPUMonY6b/t/KuG8a4OftzOI2xJx /lN3HnO01g0KrjTV5DfTANd3M8LptBUp8sxA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YCVZBx79YU85LrRGFgOFfUapz45WhssEGHrnnwpNyMXPp8tPDGHpfvDysUVwka8LSh YWvGBZUQsaKXIi4A6iSWE6EcWa4RwAA28zKRsSOf+gpd6ZdFMZ/OTILsqOyzMAJ1/3Iu nTsNwFMSFtgo1OXh4sYBLZ3ItXcbxHvqTJApI= MIME-Version: 1.0 Received: by 10.204.82.18 with SMTP id z18mr2090154bkk.125.1284614027549; Wed, 15 Sep 2010 22:13:47 -0700 (PDT) Received: by 10.204.80.167 with HTTP; Wed, 15 Sep 2010 22:13:47 -0700 (PDT) Date: Thu, 16 Sep 2010 07:13:47 +0200 Message-ID: From: David DEMELIER To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Subject: make buildkernel pre-build too long X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2010 05:13:49 -0000 Hi there, I can't understand why this part of make buildkernel is so long on my amd64 machine (8.1-R) make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe -fno-strict-aliasing -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 -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -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 This command takes around 5-6 minutes before continuing, on my i386 machine (which is really old) it only takes about 20 seconds. The kernel configs are almost the same for both machines. Do you have any idea? Kind regards, -- Demelier David