Re: [PATCH] linux-user/syscall: Silence warning from the undefined behavior sanitizer

2021-02-11 Thread Thomas Huth
On 12/02/2021 01.35, Laurent Vivier wrote: Le 11/02/2021 à 22:28, Laurent Vivier a écrit : Le 11/02/2021 à 14:29, Thomas Huth a écrit : When compiling QEMU with -fsanitize=undefined, there is a warning when running "make check-tcg": TESTlinux-test on m68k ../linux-user/syscall.c:10499:3

Re: [PATCH] linux-user/syscall: Silence warning from the undefined behavior sanitizer

2021-02-11 Thread Thomas Huth
On 11/02/2021 22.28, Laurent Vivier wrote: Le 11/02/2021 à 14:29, Thomas Huth a écrit : When compiling QEMU with -fsanitize=undefined, there is a warning when running "make check-tcg": TESTlinux-test on m68k ../linux-user/syscall.c:10499:34: runtime error: member access within misalign

Re: [PATCH] linux-user/syscall: Silence warning from the undefined behavior sanitizer

2021-02-11 Thread Laurent Vivier
Le 11/02/2021 à 22:28, Laurent Vivier a écrit : > Le 11/02/2021 à 14:29, Thomas Huth a écrit : >> When compiling QEMU with -fsanitize=undefined, there is a warning when >> running "make check-tcg": >> >> TESTlinux-test on m68k >> ../linux-user/syscall.c:10499:34: runtime error: member access

Re: [PATCH] linux-user/syscall: Silence warning from the undefined behavior sanitizer

2021-02-11 Thread Laurent Vivier
Le 11/02/2021 à 14:29, Thomas Huth a écrit : > When compiling QEMU with -fsanitize=undefined, there is a warning when > running "make check-tcg": > > TESTlinux-test on m68k > ../linux-user/syscall.c:10499:34: runtime error: member access within > misaligned address 0x8006df3c for type '

[PATCH] linux-user/syscall: Silence warning from the undefined behavior sanitizer

2021-02-11 Thread Thomas Huth
When compiling QEMU with -fsanitize=undefined, there is a warning when running "make check-tcg": TESTlinux-test on m68k ../linux-user/syscall.c:10499:34: runtime error: member access within misaligned address 0x8006df3c for type 'struct linux_dirent64', which requires 8 byte alignment