https://sourceware.org/bugzilla/show_bug.cgi?id=26425
--- Comment #1 from Martin Liska <mliska at suse dot cz> --- UBSAN error: gas/config/tc-arm.c:15627:37: The following fails when I build binutils with: configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver --disable-sim --disable-readline --disable-libdecnumber --enable-obsolete --target=arm-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl" Target: arm-elf PASS: gas/arm/armv7e-m+fpv5-sp-d16 Executing on host: sh -c {../as-new -march=armv8.2-a+fp16 -mwarn-restrict-it -o tmpdir/armv8-2-fp16-scalar-bad.o /home/mliska/Programming/binutils/gas/testsuite/gas/arm/armv8-2-fp16-scalar-bad.s 2>&1} /dev/null dump.tmp (timeout = 300) /home/mliska/Programming/binutils/gas/config/tc-arm.c:15627:37: runtime error: left shift of 14 by 28 places cannot be represented in type 'int' -------------------------------------------------------------------------------- UBSAN error: gas/config/tc-arm.c:15593:35: The following fails when I build binutils with: configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver --disable-sim --disable-readline --disable-libdecnumber --enable-obsolete --target=arm-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl" Target: arm-elf PASS: gas/arm/armv7e-m+fpv5-sp-d16 Executing on host: sh -c {../as-new -march=armv8.2-a+fp16 -mwarn-restrict-it -o tmpdir/armv8-2-fp16-scalar-bad.o /home/mliska/Programming/binutils/gas/testsuite/gas/arm/armv8-2-fp16-scalar-bad.s 2>&1} /dev/null dump.tmp (timeout = 300) /home/mliska/Programming/binutils/gas/config/tc-arm.c:15593:35: runtime error: left shift of 10 by 28 places cannot be represented in type 'int' -------------------------------------------------------------------------------- UBSAN error: gas/config/tc-arm.c:16841:45: The following fails when I build binutils with: configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver --disable-sim --disable-readline --disable-libdecnumber --enable-obsolete --target=arm-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl" Target: arm-elf FAIL: ARM v8.2 FP16 support on scalar Executing on host: sh -c {../as-new -march=armv8.2-a+fp16 -o tmpdir/armv8-2-fp16-simd.o /home/mliska/Programming/binutils/gas/testsuite/gas/arm/armv8-2-fp16-simd.s 2>&1} /dev/null dump.tmp (timeout = 300) /home/mliska/Programming/binutils/gas/config/tc-arm.c:16841:45: runtime error: left shift of 15 by 28 places cannot be represented in type 'int' -------------------------------------------------------------------------------- UBSAN error: gas/config/tc-arm.c:2238:27: The following fails when I build binutils with: configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver --disable-sim --disable-readline --disable-libdecnumber --enable-obsolete --target=arm-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl" Target: arm-elf FAIL: Double precision instructions for 'armv8.1-m.main' Executing on host: sh -c {../as-new -march=armv8.1-m.main+fp -o tmpdir/vfp1xD_t2.o /home/mliska/Programming/binutils/gas/testsuite/gas/arm/vfp1xD_t2.s 2>&1} /dev/null dump.tmp (timeout = 300) /home/mliska/Programming/binutils/gas/config/tc-arm.c:2238:27: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' -------------------------------------------------------------------------------- UBSAN error: gas/config/tc-arm.c:2250:23: The following fails when I build binutils with: configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver --disable-sim --disable-readline --disable-libdecnumber --enable-obsolete --target=arm-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl" Target: arm-elf FAIL: Double precision instructions for 'armv8.1-m.main' Executing on host: sh -c {../as-new -march=armv8.1-m.main+fp -o tmpdir/vfp1xD_t2.o /home/mliska/Programming/binutils/gas/testsuite/gas/arm/vfp1xD_t2.s 2>&1} /dev/null dump.tmp (timeout = 300) /home/mliska/Programming/binutils/gas/config/tc-arm.c:2250:23: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' -------------------------------------------------------------------------------- UBSAN error: gas/config/tc-arm.c:15178:26: The following fails when I build binutils with: configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver --disable-sim --disable-readline --disable-libdecnumber --enable-obsolete --target=arm-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl" Target: arm-elf PASS: MVE vmull instructions Executing on host: sh -c {../as-new -march=armv8.1-m.main+mve.fp -o tmpdir/mve-vmvn-bad.o /home/mliska/Programming/binutils/gas/testsuite/gas/arm/mve-vmvn-bad.s 2>&1} /dev/null dump.tmp (timeout = 300) /home/mliska/Programming/binutils/gas/config/tc-arm.c:15178:26: runtime error: index 76 out of bounds for type 'neon_shape_class [76]' -- You are receiving this mail because: You are on the CC list for the bug.