Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 00:04:08 +0300
From:      Ivan Klymenko <fidaj@ukr.net>
To:        Jack Engqvist Johansson <jack@skysel.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Cannot compile a custom FreeBSD kernel
Message-ID:  <20101019000408.5ac74f0c@ukr.net>
In-Reply-To: <AANLkTinkYt3%2BxQuFRfD5hCXmK0dJ5exByEOD6zpuo%2BBQ@mail.gmail.com>
References:  <AANLkTinkYt3%2BxQuFRfD5hCXmK0dJ5exByEOD6zpuo%2BBQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Mon, 18 Oct 2010 22:03:54 +0200
Jack Engqvist Johansson <jack@skysel.com> =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...



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