Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2010 09:04:37 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: make buildkernel pre-build too long
Message-ID:  <AANLkTi=fLpCRsKw3OYtgfJhnt9xNosveSCkQfP3xOjzE@mail.gmail.com>
In-Reply-To: <20100917003838.GA67783@freebsd.org>
References:  <AANLkTimVWFwfeAS5JGX%2BSACtgiVgh13v%2Bd2zitBB%2BNgy@mail.gmail.com> <20100917003838.GA67783@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/9/17 Alexander Best <arundel@freebsd.org>:
> On Thu Sep 16 10, David DEMELIER wrote:
>> 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 | =C2=A0MKDEP_CPP=3D"cc -E=
"
>> CC=3D"cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe
>> -fno-strict-aliasing =C2=A0-std=3Dc99 =C2=A0-Wall -Wredundant-decls
>> -Wnested-externs -Wstrict-prototypes =C2=A0-Wmissing-prototypes
>> -Wpointer-arith -Winline -Wcast-qual =C2=A0-Wundef -Wno-pointer-sign
>> -fformat-extensions -nostdinc =C2=A0-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=3D8000 --param inline-unit-growth=3D100 --par=
am
>> large-function-growth=3D1000 =C2=A0-fno-omit-frame-pointer -mcmodel=3Dke=
rnel
>> -mno-red-zone =C2=A0-mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx
>> -mno-3dnow =C2=A0-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.
>
> are there any differences in /etc/make.conf?
>
> cheers.
> alex
>
>>
>> Do you have any idea?
>>
>> Kind regards,
>>
>> --
>> Demelier David
>
> --
> a13x
>

No, except the KERNCONF entry it's exactly the same :

# General settings.
KERNCONF=3DMelon
MASTER_SORT?=3D .fr .uk

# Portconf.
.if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf)
_PORTCONF!=3D/usr/local/libexec/portconf
.for i in ${_PORTCONF:S/|/ /g}
${i:S/%/ /g}
.endfor
.endif

# Perl.
PERL_VERSION=3D5.10.1

# No need modules.
NO_MODULES=3Dyes

# Specify other directories.
WRKDIRPREFIX=3D   /usr/obj
DISTDIR=3D        /usr/distfiles

--=20
Demelier David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=fLpCRsKw3OYtgfJhnt9xNosveSCkQfP3xOjzE>