Re: [PATCH] Fix CFLAGS overwrite by Makefile

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Wed, 25 May 2011 19:57:20 +0300
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
Received on Wed May 25 2011 - 14:57:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC