Date: Sat, 16 Feb 2008 09:30:59 +0200 From: "David Naylor" <blackdragon@highveldmail.co.za> To: freebsd-stable@freebsd.org, olli@lurza.secnetix.de Subject: Re: broken buildkernel (scsi_low and -Os) and duplicate manpages Message-ID: <b53f6f940802152330h23009696lb12ce6604b300453@mail.gmail.com> In-Reply-To: <200802141002.m1EA22bk050940@lurza.secnetix.de> References: <b53f6f940802140110j14d30ca2l6ca8185a50e7c4b6@mail.gmail.com> <200802141002.m1EA22bk050940@lurza.secnetix.de>
next in thread | previous 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? 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b53f6f940802152330h23009696lb12ce6604b300453>