RE: build issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Sitsofe, thanks for your help. 
./configure --extra-cflags="-fno-asynchronous-unwind-tables"
 make -j 

worked.

I am testing the new PCIe gen 4 NvMEs so I am glad it worked.

One question, do you know when the "Poor windowsaio performance due to synchronization of writes unless --overwrite 1 is given (#833)" is going to be resolved? I also noticed that the queue depth indicated in FIO does not translate into PHY disk queue depth when first allocations are happening. I would need the symbols for FIO to troubleshoot further because our stack appears to be waiting

Thanks
Astolfo

 
-----Original Message-----
From: Sitsofe Wheeler <sitsofe@xxxxxxxxx> 
Sent: Sunday, October 27, 2019 1:34 PM
To: Astolfo Rueda <astolfor@xxxxxxxxxxxxx>
Cc: fio@xxxxxxxxxxxxxxx; Rebecca Cran <rebecca@xxxxxxxxxxxx>
Subject: Re: build issue

Hi,

On Sat, 19 Oct 2019 at 08:11, Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote:
>
> Hi,
>
> On Fri, 18 Oct 2019 at 23:18, Astolfo Rueda <astolfor@xxxxxxxxxxxxx> wrote:
> >
> > Hello I am trying to build FIO and I get these errors.
> > The server is windows 10, with latest Cygwin.
> >
> > What am I doing wrong?
>
> You're not doing anything wrong from what I can see - it looks like 
> sounds like some sort of compiler issue...
>
> > Thanks
> > Astolfo
> >
> >
> > /tmp/ccQfIUjv.s: Assembler messages:
> > /tmp/ccQfIUjv.s:1188: Error: invalid register for .seh_savexmm
> > make: *** [Makefile:376: filehash.o] Error 1
> > make: *** Waiting for unfinished jobs....
> > /tmp/ccZfFBQo.s: Assembler messages:
> > /tmp/ccZfFBQo.s:3812: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3814: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3816: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3818: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3820: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3822: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3824: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3826: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3828: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3830: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3832: Error: invalid register for .seh_savexmm
> > /tmp/ccZfFBQo.s:3834: Error: invalid register for .seh_savexmm
> > make: *** [Makefile:379: options.o] Error 1
>
> Hmm. This might be down to a compatibility issue between 
> x86_64-w64-mingw32-gcc and Windows when using AVX512 (and whether fio 
> defaults to compiling with such options will depend on the compilation 
> environment). If you do
>
> ./configure --extra-cflags="-fno-asynchronous-unwind-tables"
> make -j
>
> etc. are things any better?

So I've managed to find a recent Xeon server with Windows VM and I see the compile errors you describe on it too. Doing make clean ./configure --extra-cflags="-fno-asynchronous-unwind-tables"
make -j

fixes the "invalid register for .seh_savexmm" error for me. Another workaround is to disable the generation of problematic AVX
instructions:
make clean
./configure --extra-cflags="-mno-avx512f"
make -j

but the binary made might be ever so slightly slower (and you'd need incredibly fast disks and when I did a quick check with the null ioengine I actually found the non-AVX512 version of fio was faster in my VM...).

It looks like this is the "gcc/mingw-gcc fails to align the stack properly to Windows' requirements when using AVX 512 instructions"
issue:
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D65782&amp;data=02%7C01%7Castolfor%40microsoft.com%7C4e168665a8dd437ebc9908d75b1d1392%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637078052750861103&amp;sdata=mZDep3WBoQw7%2BJX7BS6Jixk105BQ2pNbuylAdlP%2B9hM%3D&amp;reserved=0
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D54412&amp;data=02%7C01%7Castolfor%40microsoft.com%7C4e168665a8dd437ebc9908d75b1d1392%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637078052750861103&amp;sdata=d1VKYkNJgDLB%2Fohlpp8KlcpKCcTtd6ergsbDL8yVflo%3D&amp;reserved=0
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F30928265%2Fmingw64-is-incapable-of-32-byte-stack-alignment-required-for-avx-on-windows-x64&amp;data=02%7C01%7Castolfor%40microsoft.com%7C4e168665a8dd437ebc9908d75b1d1392%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637078052750861103&amp;sdata=6z0fLsceHViOZ9Iac%2BJN%2B88hmvs7aDrYZCxwquem3cQ%3D&amp;reserved=0
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F43152633%2Finvalid-register-for-seh-savexmm-in-cygwin&amp;data=02%7C01%7Castolfor%40microsoft.com%7C4e168665a8dd437ebc9908d75b1d1392%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637078052750871059&amp;sdata=WkrV%2FyXZQ9f3eX5AEWk16%2FNJc2ufRFCuDvNLdGfaBSA%3D&amp;reserved=0

--
Sitsofe | https://nam06.safelinks.protection.outlook.com/?url=http:%2F%2Fsucs.org%2F~sits%2F&amp;data=02%7C01%7Castolfor%40microsoft.com%7C4e168665a8dd437ebc9908d75b1d1392%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637078052750871059&amp;sdata=LtlvGTWKTyNKXOsHsNqp5s7JmEKmML2skKp2q%2B%2BPn50%3D&amp;reserved=0




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux