From owner-freebsd-stable@FreeBSD.ORG Fri May 4 14:00:15 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 DAC0316A402 for ; Fri, 4 May 2007 14:00:14 +0000 (UTC) (envelope-from neo@gothic-chat.de) Received: from gothnet.eu (srv1.gothnet.eu [83.133.111.128]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1E713C448 for ; Fri, 4 May 2007 14:00:14 +0000 (UTC) (envelope-from neo@gothic-chat.de) Received: from localhost (localhost [127.0.0.1]) by gothnet.eu (Postfix) with ESMTP id 7330033C1B; Fri, 4 May 2007 16:00:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at gothnet.eu Received: from gothnet.eu ([127.0.0.1]) by localhost (gothnet.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Bm4NYiqgCs6; Fri, 4 May 2007 16:00:12 +0200 (CEST) Received: from [192.168.2.4] (ppp-62-245-211-208.dynamic.mnet-online.de [62.245.211.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: neo) by gothnet.eu (Postfix) with ESMTP id C271B33C19; Fri, 4 May 2007 16:00:11 +0200 (CEST) Message-ID: <463B3C59.4040204@gothic-chat.de> Date: Fri, 04 May 2007 15:59:53 +0200 From: "Neo [GC]" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Stefan Lambrev References: <463B24C3.3010906@gothic-chat.de> <463B2C30.9020002@sun-fish.com> In-Reply-To: <463B2C30.9020002@sun-fish.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit 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 14:00:15 -0000 Stefan Lambrev schrieb: > 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. I have tried it without CPUTYPE and CFLAGS, with NO_CPU_CFLAGS and NO_CPU_COPTFLAGS, without NO_PROFILE= and -> still same error :( I don't think it has anything to do with the NO_PROFILE=, as buildworld works on my i386 machine with this flag set. But thanks for the fast answer! -- Neo [GC] / Thomas Weber Webmaster @ GothNet.eu / Gothic-Chat.de EMail: neo@gothic-chat.de WWW: http://neo.gothic-chat.de/ Location: Earth::Germany::Munich