From owner-freebsd-stable@FreeBSD.ORG Sun Feb 17 07:35:29 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 5E20B16A41A for ; Sun, 17 Feb 2008 07:35:29 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2F11613C455 for ; Sun, 17 Feb 2008 07:35:29 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1516917pyb.10 for ; Sat, 16 Feb 2008 23:35:28 -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:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=U7Ta/m9P7tYkZGpZFe4fgcJde8zpcnSZnOam/7JGOfA=; b=vr+X6Ys+abbeHiHSVsUQbSnA8Gy0Yb5oA8/KScmK7VZyS44kqNP87YH8j8NebWomw2vGzEDU2bSottoYXenWy3YKRYg4WvuaaXzukb9wE1lSSxTz/kOXgVuUnR8IzO6XqQVlS8JOWuObUkF2DsfZA2PMkFPHE3eblGeOkMyYRPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=Yi2rdvqXMp7xxbxaUn5s483nEgEdNS3JuTtdBS0rOVicMFN2Oh5b7wIaKdHV/qNbZYFs0wR7NLjgGsYJOEKz1RBnu6MLJfGSWVTTCzcLXhfhc4lccTS8wond4MT7Ao0vV8qnqUeD+uP7EEHvM6iP/CJ2TNh2bbyVc4PBwCInU9A= Received: by 10.65.158.9 with SMTP id k9mr7652534qbo.47.1203233728248; Sat, 16 Feb 2008 23:35:28 -0800 (PST) Received: by 10.64.232.17 with HTTP; Sat, 16 Feb 2008 23:35:28 -0800 (PST) Message-ID: Date: Sun, 17 Feb 2008 09:35:28 +0200 From: "David Naylor" Sender: naylor.b.david@gmail.com To: freebsd-stable@freebsd.org, blackdragon@highveldmail.co.za MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: c8ff8c7f4384b16d Cc: Subject: tmpfs: strange behaviour (was: 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: Sun, 17 Feb 2008 07:35:29 -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? I have managed to isolate the problem and it is definitely tmpfs related. If the directory that I'm installing into is tmpfs then it will fail, if it is ufs then it works. I recompiled tmpfs module (and reloaded) with CFLAGS='' with the same result. As an aside I have found that the default CFLAGS for src are: -O2 -fno-strict-aliasing -pipe. Would -fstrict-aliasing break anything in base/sys? David