Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2008 03:03:18 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Unga <unga888@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make buildkernel error
Message-ID:  <20081004100318.GA53131@icarus.home.lan>
In-Reply-To: <704489.78698.qm@web57004.mail.re3.yahoo.com>
References:  <704489.78698.qm@web57004.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081004100318.GA53131>