Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2010 07:13:47 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   make buildkernel pre-build too long
Message-ID:  <AANLkTimVWFwfeAS5JGX%2BSACtgiVgh13v%2Bd2zitBB%2BNgy@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimVWFwfeAS5JGX%2BSACtgiVgh13v%2Bd2zitBB%2BNgy>