[Bug gas/29152] UBSAN error: /home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/config/tc-s390.c:625:12:

2022-05-16 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=29152

Martin Liska  changed:

   What|Removed |Added

 CC||iii at linux dot ibm.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/29152] New: UBSAN error: /home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/config/tc-s390.c:625:12:

2022-05-16 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=29152

Bug ID: 29152
   Summary: UBSAN error:
/home/marxin/buildworker/zen2-cross-binutils-sanitizer
s/build/gas/config/tc-s390.c:625:12:
   Product: binutils
   Version: 2.37
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: mliska at suse dot cz
  Target Milestone: ---

The following fails when I build binutils with:

configure --build=x86_64-linux --disable-gdb --disable-gdbserver
--enable-obsolete --target=s390-linux CFLAGS="-g -O2
-fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2
-fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: s390-linux
FAIL: s390x opcode
Executing on host: sh -c {../as-new  -march=z900
/home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/testsuite/gas/s390/zarch-z900-err.s
2>&1}  /dev/null dump.out (timeout = 300)
/home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/config/tc-s390.c:625:12:
runtime error: left shift of negative value -2147483649

FAIL: s390x opcode
Executing on host: sh -c {../as-new  -march=z900
/home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/testsuite/gas/s390/zarch-z900-err.s
2>&1}  /dev/null dump.out (timeout = 300)
/home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/config/tc-s390.c:626:12:
runtime error: left shift of negative value -2147483648

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/29152] UBSAN error: /home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/config/tc-s390.c:625:12:

2022-05-16 Thread iii at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29152

Ilya Leoshkevich  changed:

   What|Removed |Added

 CC||krebbel at linux dot ibm.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/29152] UBSAN error: /home/marxin/buildworker/zen2-cross-binutils-sanitizers/build/gas/config/tc-s390.c:625:12:

2022-05-16 Thread iii at linux dot ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=29152

--- Comment #1 from Ilya Leoshkevich  ---
I could reproduce this (with ASAN_OPTIONS=detect_leaks=0 make check-gas
RUNTESTFLAGS=--debug) and will try to fix it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.