From owner-freebsd-stable@FreeBSD.ORG Fri May 4 12:50:58 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 EC58C16A403 for ; Fri, 4 May 2007 12:50:58 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id A60C713C4BC for ; Fri, 4 May 2007 12:50:58 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 4FEAB1B10EBB; Fri, 4 May 2007 14:50:57 +0200 (CEST) Received: from hater.cmotd.com (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 4C60A1B10EA4; Fri, 4 May 2007 14:50:57 +0200 (CEST) Message-ID: <463B2C30.9020002@sun-fish.com> Date: Fri, 04 May 2007 15:50:56 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.0 (X11/20070425) MIME-Version: 1.0 To: "Neo [GC]" References: <463B24C3.3010906@gothic-chat.de> In-Reply-To: <463B24C3.3010906@gothic-chat.de> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH 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 12:50:59 -0000 Hi, Neo [GC] wrote: > Hi, > > currently i have a strange problem with 'make buildworld'. I use the > amd64 6-STABLE branch with daily csup on src-all. > > When i do a 'make buildworld' in /usr/src, the make stops with the > 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 > '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 > 'swinfo' isn't known > *** Error code 1 > > Stop in /usr/src/lib/libkvm. > ---------- > > When i do the same on a i386 machine wich is in config &c absolutely > indetical to the amd64, buildworld runs perfectly through. > > make.conf: > CPUTYPE=nocona > CFLAGS= -O2 -pipe > CC=/usr/bin/cc > CXX=/usr/bin/g++ > NO_BLUETOOTH= # do not build Bluetooth related stuff > NO_GAMES= # do not build games (games/ subdir) > NO_INET6= # do not build IPv6 related programs and libraries > NO_I4B= # do not build isdn4bsd package > NO_LPR= # do not build lpr and related programs > NO_BIND= # Do not build any part of BIND > NO_DICT= # do not build the Webster dictionary files > NO_INFO= # do not make or install info files > NO_KERBEROS= # do not build and install Kerberos 5 (KTH > Heimdal) > NO_PF= # do not build PF firewall package > NO_PROFILE= # Avoid compiling profiled libraries > NO_SENDMAIL= # do not build sendmail and related programs > NO_SHAREDOCS= # do not build the 4.4BSD legacy docs May be I'm wrong, but can you try again, after removing CPUTYPE, CFLAGS, CC and CCX from your make.conf file ? It was said many times that setting CFLAGS is bad :) and CPUTYPE should be CPUTYPE?= (so make can change it if needed) Also I'm not sure that there is any optimization available in GCC for amd64 architecture. > > (only difference to the i386-machine where it works is the CPUTYPE, > wich is, of course, athlon-xp there). > > Has anyone an idea? It is currenty not THAT important, because there > is a working 6.2-RELEASE world on the machine, but i don't wan't to > have a broken world build if a important security advisory comes... > > > Thank you all very much & greetings, > -- Best Wishes, Stefan Lambrev ICQ# 24134177