This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.3 problem of -fzero-initialized-in-bss w/-ffreestanding
> From: Eric Botcazou <ebotcazou@libertysurf.fr>
>
> > GCC 3.3 now has -fzero-initialized-in-bss as the default. That is fine
> > and dandy for userland programs.
>
> No, this broke Emacs on SPARC/Solaris (and on other platforms I suspect). The
> Emacs folks have already patched their CVS tree, but this option shouldn't
> have made its way into GCC 3.3 in the first place because Emacs is supposed
> to be part of the release criteria.
>
> This is a big regression on SPARC/Solaris.
>
> > Can this change be made for 3.3.1 release?
>
> Strongly seconded.
> --
> Eric Botcazou
If the bss thing broke emacs, I don't think twiddling it based on
-ffreestanding like David suggests would help. Unless you run emacs
as your kernel...
We might need to use a bigger hammer and make the default "off"
entirely, I initially submitted the patch that way but I was told by
he who reviewed it to "Turn it on. Virtually no one needs it off." I
won't throw him under the bus by naming names, just dodging a bit
myself. :-)
What's the deal with emacs, and how did they fix it?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu