------- 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