From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 18 21:19:59 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EDC1106564A for ; Mon, 18 Oct 2010 21:19:59 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0488FC0A for ; Mon, 18 Oct 2010 21:19:58 +0000 (UTC) Received: from 240-141-132-95.pool.ukrtel.net ([95.132.141.240] helo=localhost) by fsm1.ukr.net with esmtps ID 1P7wsL-0007OU-R7 ; Tue, 19 Oct 2010 00:04:09 +0300 Date: Tue, 19 Oct 2010 00:04:08 +0300 From: Ivan Klymenko To: Jack Engqvist Johansson Message-ID: <20101019000408.5ac74f0c@ukr.net> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Cannot compile a custom FreeBSD kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 21:19:59 -0000 =D0=92 Mon, 18 Oct 2010 22:03:54 +0200 Jack Engqvist Johansson =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi, >=20 > I have a HP tx2020eo laptop with FreeBSD 8.1 installed. I'm trying to > recompile the kernel to get even better performance. > The problem is that I get error when I compile. I've tried > comment/uncomment lines in my kernel config file but I always get some > of error. >=20 > Could somebody have a look at my configuration? >=20 > Laptop spec: > http://h10025.www1.hp.com/ewfrf/wc/document?lc=3Den&cc=3Dus&docname=3Dc01= 302377&dlc=3Den >=20 > -------------------------------------------------------------------------= ----------------- > Compilation: > ... > awk -f /usr/src/sys/conf/kmod_syms.awk ahc.ko.debug=C2=A0 export_syms | > xargs -J% objcopy % ahc.ko.debug > objcopy --only-keep-debug ahc.ko.debug ahc.ko.symbols > objcopy --strip-debug --add-gnu-debuglink=3Dahc.ko.symbols ahc.ko.debug > ahc.ko =3D=3D=3D> aic7xxx/ahc/ahc_eisa (all) > cc -O3 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc >.... not use -O3 gcc optimisation...