Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2007 17:17:06 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Harald Schmalzbauer <harry@schmalzbauer.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: buildkernel (zlib module) broken?
Message-ID:  <20070128221705.GA64536@xor.obsecurity.org>
In-Reply-To: <200701282212.27004.harry@schmalzbauer.de>
References:  <200701282212.27004.harry@schmalzbauer.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote:
> Hello,
>=20
> I don't understand this error:
> =3D=3D=3D> zlib (all)
> cc -O2 -fno-strict-aliasing -pipe -march=3Dpentium3 -Werror -D_KERNEL -DK=
LD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /FlashBSD/o=
bj/i686/FlashBSD/src/sys/i686.intern-korso/opt_global.h -I. -I@ -I@/contrib=
/altq -I@/../include -finline-limit=3D8000 -fno-common -g -I/FlashBSD/obj/i=
686/FlashBSD/src/sys/i686.intern-korso -mno-align-long-strings -mpreferred-=
stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -=
Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prot=
otypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=3Dc99=
 -c /FlashBSD/src/sys/modules/zlib/../../net/zlib.c
> ld  -d -warn-common -r -d -o zlib.kld zlib.o
> :> export_syms
> awk -f /FlashBSD/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld =
=20
> export_syms | xargs -J% objcopy % zlib.kld
> ld -Bshareable  -d -warn-common -o zlib.ko.debug zlib.kld
> objcopy --strip-debug zlib.ko.debug zlib.ko
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
>=20
> Any hints?

Rerun make without -j and discover the real error which was some
distance back in the interleaved output from your parallel make
command.

kris

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFvSDhWry0BWjoQKURAosZAJ9UPkeJCLKN4hdbwcEYbSLtRVnxSwCgo8mD
rL6bDZU6xgV9URscBj/BIR4=
=Qyca
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--



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