From owner-freebsd-stable@FreeBSD.ORG Sat Feb 16 07:31:01 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4498C16A417 for ; Sat, 16 Feb 2008 07:31:01 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 13BBF13C45E for ; Sat, 16 Feb 2008 07:31:00 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1166222pyb.10 for ; Fri, 15 Feb 2008 23:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Bn4tHUlROSpjjqsXJG6G9EtbNODNqlD6zz6T8Hl1pds=; b=HAsp2FK4JE5Ru+NxqKjPI0V0vspc1bSlHgYx+7uI/+BKBlpdQiayOx3YIILZ5XYTS62yS3tB3p8cqwYx8CTgqs1GG6EBAFqH0XdbiJKreegkoouOBMwOyc41IAgwcOZF2nJhzEMAEj5owElhp4U3s4oRhbblUO58br4ovpEj8BE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=opu/wuvdJXRFHoryV1kUQPfQBVo2PDre1jqvV2eNV5RpTGYtZglSFw95epo+86YNHwzwyKsHLA97c04SwzapYpo/i5ZFTMnWXD7pTCvumI0FP+0j/0/NGBZqwMykuEWpLzI29iuA7ZiYhmlzgCBeChRytSh6X706KGc/cNmpDCY= Received: by 10.65.233.16 with SMTP id k16mr5860468qbr.43.1203147059587; Fri, 15 Feb 2008 23:30:59 -0800 (PST) Received: by 10.64.232.17 with HTTP; Fri, 15 Feb 2008 23:30:59 -0800 (PST) Message-ID: Date: Sat, 16 Feb 2008 09:30:59 +0200 From: "David Naylor" Sender: naylor.b.david@gmail.com To: freebsd-stable@freebsd.org, olli@lurza.secnetix.de In-Reply-To: <200802141002.m1EA22bk050940@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802141002.m1EA22bk050940@lurza.secnetix.de> X-Google-Sender-Auth: b0e35383b6d4c09e Cc: Subject: Re: broken buildkernel (scsi_low and -Os) and duplicate manpages 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: Sat, 16 Feb 2008 07:31:01 -0000 On 14/02/2008, Oliver Fromme wrote: > David Naylor wrote: > > It is a strange problem, normal installworld works fine, but somehow > > the duplicate manpages result in a failure when installing with > > DESTDIR=, here are some possible reasons: > > > > 1) I use tmpfs when using DESTDIR (could be tmpfs does something strange) > > 2) Base system (compiled and installed) is compiled using -O2??? > > What is the exact CFLAGS setting that you use? > Do you use -O2 (or -Os) without -fno-strict-aliasing? Once i used CLFAGS=-O2 -fno-strict-aliasing -pipe and it failed, other time I used CFLAGS=-Os -pipe and it also failed > In general, having a CFLAGS=... line in /etc/make.conf > is not a good idea. In most cases it does more harm > than good. That might be the case here, too. I have compiled everything with the previously mentioned CFLAGS and the system runs fine (only a problem with using RUM, however I think that is driver related, not compile flags related) The ports that are affected by strict-aliasing, are they not protected (i.e. force -fno=strict-aliasing?) > I suggest you remove the CFLAGS line, rm -r /usr/obj > (and make sure /usr/src is fresh) and start over. I'll try some experiments to see if I can isolate the problem David