From owner-freebsd-stable@FreeBSD.ORG Fri May 4 19:57:26 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CDD716A400 for ; Fri, 4 May 2007 19:57:26 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 9004213C45B for ; Fri, 4 May 2007 19:57:25 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l44JvNn5019392; Sat, 5 May 2007 05:57:23 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l44JvNYN019391; Sat, 5 May 2007 05:57:23 +1000 (EST) (envelope-from peter) Date: Sat, 5 May 2007 05:57:23 +1000 From: Peter Jeremy To: "Neo [GC]" Message-ID: <20070504195723.GE818@turion.vk2pj.dyndns.org> References: <463B24C3.3010906@gothic-chat.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vmttodhTwj0NAgWp" Content-Disposition: inline In-Reply-To: <463B24C3.3010906@gothic-chat.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-stable@freebsd.org Subject: Re: Can't make buildworld in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:57:26 -0000 --vmttodhTwj0NAgWp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-04 14:19:15 +0200, "Neo [GC]" wrote: >When i do a 'make buildworld' in /usr/src, the make stops with the=20 >following error: >---------- >/usr/src/lib/libkvm/kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm': >/usr/src/lib/libkvm/kvm_getswapinfo.c:124: error: storage size of=20 >'swinfo' isn't known >/usr/src/lib/libkvm/kvm_getswapinfo.c: In function `nlist_init': >/usr/src/lib/libkvm/kvm_getswapinfo.c:233: error: storage size of=20 >'swinfo' isn't known >*** Error code 1 =2E.. Out of interest, is this when it's building the amd64 or i386 libkvm? >CPUTYPE=3Dnocona >CFLAGS=3D -O2 -pipe >CC=3D/usr/bin/cc >CXX=3D/usr/bin/g++ I'd remove all 4 of these flags. 'CC' and 'CXX' in particular are wrong for buildworld because most of buildworld uses a temporary cross-compiler. --=20 Peter Jeremy --vmttodhTwj0NAgWp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGO5Aj/opHv/APuIcRAnknAKC4tMf3m6r2cdb4jWDi1LYc/xwY1ACghkj3 xwNjZIsNVXy5UIfqyEZQEDk= =0AK7 -----END PGP SIGNATURE----- --vmttodhTwj0NAgWp--