Re: loader breaks with -O2 optimizations

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oliver Fromme
Date: Wednesday, October 31, 2007 - 7:52 am

Stephan F. Yaraghchi wrote:
 > After making world on a freshly installed 7.0-BETA1
 > the system does not boot anymore due to a broken loader:
 > [...]
 > I found out that the following line in my make.conf causes
 > the problem:
 > 
 > CFLAGS= -O2 -funroll-loops -pipe
 > 
 > After changing down to -O1 and making /usr/src/sys/boot again
 > the systems behaves properly at boot.

Have you tried with the default flags?  i.e. simply remove
the CFLAGS line from your make.conf.  Does the loader still
break?

Best regards
   Oliver

PS:  The default flags are:  -O2 -fno-strict-aliasing -pipe
(see /usr/share/mk/sys.mk)
 
-- 
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

"Unix gives you just enough rope to hang yourself --
and then a couple of more feet, just to be sure."
        -- Eric Allman
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
loader breaks with -O2 optimizations, Stephan F. Yaraghchi, (Tue Oct 30, 7:32 am)
Re: loader breaks with -O2 optimizations, Jeremy Chadwick, (Tue Oct 30, 10:36 pm)
Re: loader breaks with -O2 optimizations, Kris Kennaway, (Wed Oct 31, 2:43 am)
Re: loader breaks with -O2 optimizations, Stephan F. Yaraghchi, (Wed Oct 31, 3:03 am)
Re: loader breaks with -O2 optimizations, Dag-Erling Smørgrav, (Wed Oct 31, 6:35 am)
Re: loader breaks with -O2 optimizations, Josh Carroll, (Wed Oct 31, 7:02 am)
Re: loader breaks with -O2 optimizations, Jeremy Chadwick, (Wed Oct 31, 7:30 am)
Re: loader breaks with -O2 optimizations, Oliver Fromme, (Wed Oct 31, 7:52 am)
Re: loader breaks with -O2 optimizations, Kris Kennaway, (Wed Oct 31, 2:31 pm)
Re: loader breaks with -O2 optimizations, Josh Carroll, (Wed Oct 31, 2:35 pm)
Re: loader breaks with -O2 optimizations, Stephan F. Yaraghchi, (Thu Nov 1, 12:19 am)
Re: loader breaks with -O2 optimizations, Stephan F. Yaraghchi, (Thu Nov 1, 12:27 am)
Re: loader breaks with -O2 optimizations, Kris Kennaway, (Thu Nov 1, 2:20 am)
Re: loader breaks with -O2 optimizations, Kris Kennaway, (Thu Nov 1, 2:23 am)
Re: loader breaks with -O2 optimizations, Kris Kennaway, (Thu Nov 1, 2:23 am)
Re: loader breaks with -O2 optimizations, Dag-Erling Smørgrav, (Thu Nov 1, 4:53 am)
Re: loader breaks with -O2 optimizations, Dag-Erling Smørgrav, (Thu Nov 1, 4:53 am)
Re: loader breaks with -O2 optimizations, bruce, (Thu Nov 1, 5:27 am)
Re: loader breaks with -O2 optimizations, Oliver Fromme, (Mon Nov 12, 11:15 am)