[Bug middle-end/39193] Internal compiler error during FreeBSD 7.1 kernel compilation

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 1 03:31:00 GMT 2010



------- Comment #14 from kargl at gcc dot gnu dot org  2010-02-01 03:31 -------
(In reply to comment #13)
> Alas, it would seem that, due to licensing issues, newer GCC versions are
> unsupported for building the FreeBSD base system.

The above isn't exactly true.  No one has stepped forward to integrate
newer versions of gcc into the base system.  If you decided to do the 
work, I suspect the FreeBSD committers would be interested in your
work.  You simply need to introduce "make -DWITHOUT_GPLV3" into
Makefile.inc1 and isolated the problematic licensed code.

> For note, I managed to get this section to compile with my chosen optimization
> flags (-Os -march=c3-2) by removing -Werror (the default) and -Wno-error (to
> get past errors from unused results and failed inlining earlier in the kernel
> build).

I've already stated that the FreeBSD documentation clearly states
that only -O and -O2 are supported optimizations.  Any other 
choice is unsupported (see make.conf(5)).  

Groucho: "Doctor, it hurts when I do this."
Doctor:  "Well, don't do that."


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39193



More information about the Gcc-bugs mailing list