All of lore.kernel.org
 help / color / mirror / Atom feed
* Build issue.
@ 2011-07-01 14:37 Jonathan Cameron
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Cameron @ 2011-07-01 14:37 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

No time to look into this now, but linux next today is giving:

  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      drivers/media/video/omap/omap_vout.o
drivers/media/video/omap/omap_vout.c: In function 'omap_vout_probe':
drivers/media/video/omap/omap_vout.c:2549:15: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2550:12: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2551:8: error: 'OMAP_DSS_UPDATE_MANUAL' undeclared (first use in this function)
drivers/media/video/omap/omap_vout.c:2551:8: note: each undeclared identifier is reported only once for each function it appears in
drivers/media/video/omap/omap_vout.c:2553:15: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2554:12: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2555:8: error: 'OMAP_DSS_UPDATE_AUTO' undeclared (first use in this function)
make[4]: *** [drivers/media/video/omap/omap_vout.o] Error 1
make[3]: *** [drivers/media/video/omap] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

Have I missed a relevant patch?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Build issue
@ 2012-02-01  2:13 Guillaume Zajac
  2012-02-01  3:11 ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Guillaume Zajac @ 2012-02-01  2:13 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

Hi Vinicius,

Patch 38c6525 - btio: Add support for getting the Encryption Key Size 
via btio (Vinicius Costa Gomes 6 days ago)

breaks oFono build.

make --no-print-directory all-am
CC plugins/bluetooth.o
CC btio/btio.o
btio/btio.c: In function ‘get_key_size’:
btio/btio.c:522: error: ‘struct bt_security’ has no member named ‘key_size’
make[1]: *** [btio/btio.o] Error 1
make: *** [all] Error 2

Do you know how to fix this?
Thanks a lot.

Kind regards,
Guillaume

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Build issue
  2012-02-01  2:13 Build issue Guillaume Zajac
@ 2012-02-01  3:11 ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2012-02-01  3:11 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

Hi Guillaume,

> Patch 38c6525 - btio: Add support for getting the Encryption Key Size 
> via btio (Vinicius Costa Gomes 6 days ago)
> 
> breaks oFono build.
> 
> make --no-print-directory all-am
> CC plugins/bluetooth.o
> CC btio/btio.o
> btio/btio.c: In function ‘get_key_size’:
> btio/btio.c:522: error: ‘struct bt_security’ has no member named ‘key_size’
> make[1]: *** [btio/btio.o] Error 1
> make: *** [all] Error 2
> 
> Do you know how to fix this?
> Thanks a lot.

install a recent set of Bluetooth headers and this will be fine.

Regards

Marcel



^ permalink raw reply	[flat|nested] 8+ messages in thread

* build issue
@ 2019-10-17 20:34 Astolfo Rueda
  2019-10-18  3:21 ` Rebecca Cran
  2019-10-19  7:11 ` Sitsofe Wheeler
  0 siblings, 2 replies; 8+ messages in thread
From: Astolfo Rueda @ 2019-10-17 20:34 UTC (permalink / raw)
  To: fio@vger.kernel.org

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?

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


full output
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ make clean && make -j
Running configure ...
FIO_VERSION = fio-3.16
Forcing some known good options on Windows
Operating system              CYGWIN_NT-10.0
CPU                           x86_64
Big endian                    no
Target Windows version        7
Compiler                      x86_64-w64-mingw32-gcc
Cross compile                 no

Static build                  yes
Wordsize                      32
zlib                          yes
Linux AIO support             no
Linux AIO over io_uring       no
POSIX AIO support             no
POSIX AIO support needs -lrt  no
POSIX AIO fsync               no
POSIX pshared support         no
Solaris AIO support           no
__sync_fetch_and_add          yes
__sync_synchronize            yes
__sync_val_compare_and_swap   yes
libverbs                      no
rdmacm                        no
asprintf()                    yes
vasprintf()                   yes
Linux fallocate               no
POSIX fadvise                 no
POSIX fallocate               no
sched_setaffinity(3 arg)      no
sched_setaffinity(2 arg)      no
clock_gettime                 yes
CLOCK_MONOTONIC               yes
CLOCK_MONOTONIC_RAW           no
CLOCK_MONOTONIC_PRECISE       no
clockid_t                     yes
gettimeofday                  yes
fdatasync                     yes
sync_file_range               no
EXT4 move extent              no
Linux splice(2)               no
GUASI                         no
libnuma                       no
strsep                        no
strcasestr                    no
strlcat                       no
getopt_long_only()            yes
inet_aton                     no
socklen_t                     yes
__thread                      yes
RUSAGE_THREAD                 yes
SCHED_IDLE                    yes
TCP_NODELAY                   yes
Net engine window_size        no
TCP_MAXSEG                    no
RLIMIT_MEMLOCK                no
pwritev/preadv                no
pwritev2/preadv2              no
IPv6 helpers                  yes
http engine                   no
Rados engine                  no
Rados Block Device engine     no
setvbuf                       yes
Gluster API engine            no
s390_z196_facilities          no
HDFS engine                   no
MTD                           no
libpmem                       no
libpmemblk                    no
PMDK pmemblk engine           no
PMDK dev-dax engine           no
PMDK libpmem engine           no
DDN's Infinite Memory Engine  no
iscsi engine                  no
NBD engine                    no
lex/yacc for arithmetic       no
getmntent                     no
getmntinfo                    no
Static Assert                 yes
bool                          yes
strndup                       no
Valgrind headers              no
Zoned block device support    no
march_armv8_a_crc_crypto      no
cuda                          no
mkdir(a, b)                   no
Build march=native            yes
CUnit                         no
__kernel_rwf_t                no
-Wimplicit-fallthrough        yes
MADV_HUGEPAGE                 no
gettid                        no
TCMalloc support              no
    CC crc/crc16.o
    CC crc/crc32.o
    CC crc/crc32c-arm64.o
    CC crc/crc32c-intel.o
    CC crc/crc32c.o
    CC crc/crc64.o
    CC crc/crc7.o
    CC crc/fnv.o
    CC crc/md5.o
    CC crc/murmur3.o
    CC crc/sha1.o
    CC crc/sha256.o
    CC crc/sha3.o
    CC crc/xxhash.o
    CC crc/sha512.o
    CC crc/test.o
    CC lib/axmap.o
    CC lib/bloom.o
    CC lib/flist_sort.o
    CC lib/gauss.o
    CC lib/ieee754.o
    CC lib/memalign.o
    CC lib/getrusage.o
    CC lib/hweight.o
    CC lib/lfsr.o
    CC lib/memcpy.o
    CC lib/mountcheck.o
    CC lib/num2str.o
    CC lib/output_buffer.o
    CC lib/pattern.o
    CC lib/prio_tree.o
    CC lib/rand.o
    CC lib/strntol.o
    CC lib/rbtree.o
    CC lib/zipf.o
    CC gettime.o
    CC ioengines.o
    CC init.o
    CC log.o
    CC stat.o
    CC time.o
    CC filesetup.o
    CC verify.o
    CC eta.o
    CC parse.o
    CC io_u.o
    CC memory.o
    CC fio_sem.o
    CC rwlock.o
    CC pshared.o
    CC options.o
    CC filehash.o
    CC debug.o
    CC smalloc.o
    CC profile.o
    CC engines/cpu.o
    CC engines/mmap.o
    CC engines/sync.o
    CC engines/null.o
    CC engines/net.o
    CC engines/ftruncate.o
    CC engines/filecreate.o
    CC server.o
    CC client.o
    CC iolog.o
    CC backend.o
    CC libfio.o
    CC flow.o
    CC cconv.o
    CC gettime-thread.o
    CC helpers.o
    CC json.o
    CC idletime.o
    CC td_error.o
    CC profiles/tiobench.o
    CC profiles/act.o
    CC io_u_queue.o
    CC filelock.o
    CC workqueue.o
    CC rate-submit.o
    CC helper_thread.o
    CC steadystate.o
    CC optgroup.o
    CC zone-dist.o
    CC engines/windowsaio.o
    CC oslib/asprintf.o
    CC oslib/strsep.o
    CC oslib/strcasestr.o
    CC oslib/strlcat.o
    CC fio.o
    CC oslib/strndup.o
    CC os/windows/posix.o
    CC oslib/inet_aton.o
/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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build issue
  2019-10-17 20:34 build issue Astolfo Rueda
@ 2019-10-18  3:21 ` Rebecca Cran
  2019-10-19  7:11 ` Sitsofe Wheeler
  1 sibling, 0 replies; 8+ messages in thread
From: Rebecca Cran @ 2019-10-18  3:21 UTC (permalink / raw)
  To: Astolfo Rueda, fio@vger.kernel.org

On 10/17/2019 2:34 PM, Astolfo Rueda wrote:
>      CC oslib/inet_aton.o
> /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


I just built the latest git master on my Windows 10 machine without any 
problems, and the configure output looked the same too.

Can you check which commit you're building please (e.g. with "git show").

Also, could you post the output with "make V=1" to show the command line 
it's running?


Thanks.
Rebecca



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build issue
  2019-10-17 20:34 build issue Astolfo Rueda
  2019-10-18  3:21 ` Rebecca Cran
@ 2019-10-19  7:11 ` Sitsofe Wheeler
  2019-10-27 20:34   ` Sitsofe Wheeler
  1 sibling, 1 reply; 8+ messages in thread
From: Sitsofe Wheeler @ 2019-10-19  7:11 UTC (permalink / raw)
  To: Astolfo Rueda; +Cc: fio@vger.kernel.org

Hi,

On Fri, 18 Oct 2019 at 23:18, Astolfo Rueda <astolfor@microsoft.com> 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?

-- 
Sitsofe | http://sucs.org/~sits/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: build issue
  2019-10-19  7:11 ` Sitsofe Wheeler
@ 2019-10-27 20:34   ` Sitsofe Wheeler
  2019-10-28 14:22     ` Astolfo Rueda
  0 siblings, 1 reply; 8+ messages in thread
From: Sitsofe Wheeler @ 2019-10-27 20:34 UTC (permalink / raw)
  To: Astolfo Rueda; +Cc: fio@vger.kernel.org, Rebecca Cran

Hi,

On Sat, 19 Oct 2019 at 08:11, Sitsofe Wheeler <sitsofe@gmail.com> wrote:
>
> Hi,
>
> On Fri, 18 Oct 2019 at 23:18, Astolfo Rueda <astolfor@microsoft.com> 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://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
https://stackoverflow.com/questions/30928265/mingw64-is-incapable-of-32-byte-stack-alignment-required-for-avx-on-windows-x64
https://stackoverflow.com/questions/43152633/invalid-register-for-seh-savexmm-in-cygwin

-- 
Sitsofe | http://sucs.org/~sits/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: build issue
  2019-10-27 20:34   ` Sitsofe Wheeler
@ 2019-10-28 14:22     ` Astolfo Rueda
  0 siblings, 0 replies; 8+ messages in thread
From: Astolfo Rueda @ 2019-10-28 14:22 UTC (permalink / raw)
  To: Sitsofe Wheeler; +Cc: fio@vger.kernel.org, Rebecca Cran

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@gmail.com> 
Sent: Sunday, October 27, 2019 1:34 PM
To: Astolfo Rueda <astolfor@microsoft.com>
Cc: fio@vger.kernel.org; Rebecca Cran <rebecca@bluestop.org>
Subject: Re: build issue

Hi,

On Sat, 19 Oct 2019 at 08:11, Sitsofe Wheeler <sitsofe@gmail.com> wrote:
>
> Hi,
>
> On Fri, 18 Oct 2019 at 23:18, Astolfo Rueda <astolfor@microsoft.com> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-28 14:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01  2:13 Build issue Guillaume Zajac
2012-02-01  3:11 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2019-10-17 20:34 build issue Astolfo Rueda
2019-10-18  3:21 ` Rebecca Cran
2019-10-19  7:11 ` Sitsofe Wheeler
2019-10-27 20:34   ` Sitsofe Wheeler
2019-10-28 14:22     ` Astolfo Rueda
2011-07-01 14:37 Build issue Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.