make buildkernel error

Jeremy Chadwick koitsu at FreeBSD.org
Sat Oct 4 10:03:21 UTC 2008


On Sat, Oct 04, 2008 at 02:17:50AM -0700, Unga wrote:
> I'm getting following compile error for /usr/src/sys/i386/i386/genassym.c :
> cc1: error: unrecognized command line option "-mno-align-long-strings"
> cc1: error: unrecognized command line option "-fformat-extensions"
> *** Error code 1
> 
> I'm using gcc version 4.3.1.
> 
> Does this means above options are not compatible with gcc version 4.3.1?
> 
> Is it safe to remove above options from kernel sources and recompile or what am I suppose to do now?
> 
> This is RELENG_7, cvsup a month ago.
> 
> Appreciate your reply very much.

I'm not sure about this, but doesn't building world require that you use
the base system's gcc (e.g. /usr/bin/gcc), and not the one from ports?

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-questions mailing list