broken buildkernel (scsi_low and -Os) and duplicate manpages

Oliver Fromme olli at lurza.secnetix.de
Thu Feb 14 10:02:06 UTC 2008


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?

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 suggest you remove the CFLAGS line, rm -r /usr/obj
(and make sure /usr/src is fresh) and start over.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Documentation is like sex; when it's good, it's very, very good,
and when it's bad, it's better than nothing."
        -- Dick Brandon


More information about the freebsd-stable mailing list