broken buildkernel (scsi_low and -Os) and duplicate manpages
David Naylor
blackdragon at highveldmail.co.za
Sat Feb 16 07:31:01 UTC 2008
On 14/02/2008, Oliver Fromme <olli at 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?
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
More information about the freebsd-stable
mailing list