11-CURRENT build fail with base gcc

Eric van Gyzen vangyzen at FreeBSD.org
Fri Aug 21 13:29:30 UTC 2015


On 08/20/2015 14:21, Warner Losh wrote:
> 
>> On Aug 20, 2015, at 10:32 AM, Dimitry Andric <dim at freebsd.org> wrote:
>>
>> Ah, this should be replaced with the recently introduced CFLAGS_NO_SIMD
>> variable, then?
> 
> Perhaps. Didn’t know this was a thing. That could use useful many places, though
> there were two clang specific args I needed to move, not just the one that’s in this
> flag. Maybe things are over-specified?
> 
> Not sure I like bsd.cpu.mk growing more name-space pollution, especially stuff that
> isn’t documented somewhere (bsd.cpu.mk is included from sys.mk, which is automaticallyed
> globally included).

I couldn't find any _good_ place for it, so I stuck it in the least bad place.  I also didn't know where to document it.  I'll gladly move it and document it if someone can suggest good locations.

> All these hacks being stashed hither and yon are starting to get
> very hard to keep straight for someone who looks at this code every day, let alone
> somebody who invested CFLAGS_NO_SIMD independently for their code and finds
> that breaks in an upgrade...


More information about the freebsd-current mailing list