Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 19:57:20 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>, Arnaud Lacombe <lacombar@gmail.com>
Cc:        freebsd-current@FreeBSD.org, Dimitry Andric <dim@FreeBSD.org>
Subject:   Re: [PATCH] Fix CFLAGS overwrite by Makefile
Message-ID:  <4DDD34F0.1010504@FreeBSD.org>
In-Reply-To: <201105251228.32399.jhb@freebsd.org>
References:  <1306267772-31084-1-git-send-email-lacombar@gmail.com>	<201105250943.15362.jhb@freebsd.org>	<BANLkTimzTGpS7zT1FC=AhHunQ-OQqThAUw@mail.gmail.com> <201105251228.32399.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 25/05/2011 19:28 John Baldwin said the following:
> On Wednesday, May 25, 2011 11:34:29 am Arnaud Lacombe wrote:
>> The more broad issue with the setup is that gcc within that
>> environment, without being told -march=i586, produces i686
>> instructions which are incompatible with the target CPU.
> 
> Huh?  GCC does not generate i686 instructions by default on FreeBSD/i386.  It 
> generates i486 instructions but that is all.  Are you sure you aren't running 
> the 64-bit gcc (which will generate i686 instructions by default)?

Just curious if Arnaud has forgot to set
UNAME_m="i386"
UNAME_p="i386"
in the environment of his build shell within the jail.

-- 
Andriy Gapon



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