Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2008 09:35:28 +0200
From:      "David Naylor" <blackdragon@highveldmail.co.za>
To:        freebsd-stable@freebsd.org, blackdragon@highveldmail.co.za
Subject:   tmpfs: strange behaviour (was: broken buildkernel (scsi_low and -Os) and duplicate manpages)
Message-ID:  <b53f6f940802162335t70e5ab8eqc5bd49e2453733d4@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
On 14/02/2008, Oliver Fromme <olli@lurza.secnetix.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b53f6f940802162335t70e5ab8eqc5bd49e2453733d4>