[Top][All Lists]

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

[Bug binutils/26411] New: UBSAN error: elfnn-aarch64.c:7140:25:

From: mliska at suse dot cz
Subject: [Bug binutils/26411] New: UBSAN error: elfnn-aarch64.c:7140:25:
Date: Thu, 20 Aug 2020 11:56:50 +0000


            Bug ID: 26411
           Summary: UBSAN error: elfnn-aarch64.c:7140:25:
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          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-nls --disable-gdb --disable-gdbserver
--disable-sim --disable-readline --disable-libdecnumber --enable-obsolete
--target=aarch64-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: aarch64-elf
PASS: ld-aarch64/emit-relocs-266-bad
Executing on host: sh -c {./ld-new  
-L/home/mliska/Programming/binutils/ld/testsuite/ld-aarch64  -T relocs.ld
--defsym tempy=0x63001000 --defsym tempy2=0x4500000000 --defsym
tempy3=0x1234567812345  -e0 --emit-relocs -m aarch64elf -o tmpdir/dump
tmpdir/emit-relocs-267.o  2>&1}  /dev/null dump.tmp (timeout = 300)
elfnn-aarch64.c:7140:25: runtime error: shift exponent 32 is too large for
32-bit type 'int'

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]