Re: 11-CURRENT build fail with base gcc

2015-08-21 Thread Eric van Gyzen
On 08/20/2015 14:21, Warner Losh wrote: On Aug 20, 2015, at 10:32 AM, Dimitry Andric d...@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

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Eric van Gyzen
On 08/20/2015 11:32, Dimitry Andric wrote: On 20 Aug 2015, at 18:24, Warner Losh i...@bsdimp.com wrote: I think you are wrong about the cause. -mno-avx is bogusly listed unconditionally in efi/Makefile.inc. I’m working on a patch now… Ah, this should be replaced with the recently

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Dimitry Andric
On 20 Aug 2015, at 00:56, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: I got this error, when I try to build recent 11-CURRENT with gcc on amd64 box: --- delay.o --- cc -O2 -pipe -fPIC -mno-red-zone -I/usr/data/source/git/opBSD/opBSD.git/sys/boot/efi/libefi/../include

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Oliver Pinter
On 8/20/15, Dimitry Andric d...@freebsd.org wrote: On 20 Aug 2015, at 00:56, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: I got this error, when I try to build recent 11-CURRENT with gcc on amd64 box: --- delay.o --- cc -O2 -pipe -fPIC -mno-red-zone

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Warner Losh
On Aug 20, 2015, at 10:32 AM, Dimitry Andric d...@freebsd.org wrote: On 20 Aug 2015, at 18:24, Warner Losh i...@bsdimp.com wrote: On Aug 20, 2015, at 9:38 AM, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: ... I think you are wrong about the cause. -mno-avx is bogusly listed

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Warner Losh
On Aug 20, 2015, at 1:21 PM, Warner Losh i...@bsdimp.com wrote: On Aug 20, 2015, at 10:32 AM, Dimitry Andric d...@freebsd.org wrote: On 20 Aug 2015, at 18:24, Warner Losh i...@bsdimp.com wrote: On Aug 20, 2015, at 9:38 AM, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: ... I

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Dimitry Andric
On 20 Aug 2015, at 18:24, Warner Losh i...@bsdimp.com wrote: On Aug 20, 2015, at 9:38 AM, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: ... I think you are wrong about the cause. -mno-avx is bogusly listed unconditionally in efi/Makefile.inc. I’m working on a patch now… Ah, this

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Oliver Pinter
On 8/20/15, Warner Losh i...@bsdimp.com wrote: On Aug 20, 2015, at 9:38 AM, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: On 8/20/15, Dimitry Andric d...@freebsd.org wrote: On 20 Aug 2015, at 00:56, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: I got this error, when I try to

Re: 11-CURRENT build fail with base gcc

2015-08-20 Thread Warner Losh
On Aug 20, 2015, at 9:38 AM, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: On 8/20/15, Dimitry Andric d...@freebsd.org wrote: On 20 Aug 2015, at 00:56, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: I got this error, when I try to build recent 11-CURRENT with gcc on amd64 box:

Re: 11-CURRENT build fail with base gcc

2015-08-19 Thread Julian Elischer
On 8/20/15 6:56 AM, Oliver Pinter wrote: Hi All! I got this error, when I try to build recent 11-CURRENT with gcc on amd64 box: I thought that the switch do only allow clang had already been thrown... --- delay.o --- cc -O2 -pipe -fPIC -mno-red-zone

Re: 11-CURRENT build fail with base gcc

2015-08-19 Thread Warner Losh
On Aug 19, 2015, at 8:36 PM, Julian Elischer jul...@freebsd.org wrote: On 8/20/15 6:56 AM, Oliver Pinter wrote: Hi All! I got this error, when I try to build recent 11-CURRENT with gcc on amd64 box: I thought that the switch do only allow clang had already been thrown… Not even