This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39193] Internal compiler error during FreeBSD 7.1 kernel compilation
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Feb 2010 03:31:31 -0000
- Subject: [Bug middle-end/39193] Internal compiler error during FreeBSD 7.1 kernel compilation
- References: <bug-39193-17305@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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