bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26429] New: UBSAN error: bfd/elf32-arm.c:15432:46:


From: mliska at suse dot cz
Subject: [Bug binutils/26429] New: UBSAN error: bfd/elf32-arm.c:15432:46:
Date: Thu, 20 Aug 2020 12:13:40 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26429

            Bug ID: 26429
           Summary: UBSAN error: bfd/elf32-arm.c:15432:46:
           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: ---

UBSAN error: bfd/elf32-arm.c:15432:46: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:15432:46: runtime error: load
of misaligned address 0x621000014d94 for type 'bfd_signed_vma', which requires
8 byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:16768: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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:16768:26: runtime error:
store to misaligned address 0x621000014de4 for type 'bfd_vma', which requires 8
byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:16769:15: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:16769:15: runtime error: load
of misaligned address 0x621000014dac for type 'struct arm_local_iplt_info *',
which requires 8 byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:16842:8: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:16842:8: runtime error: load
of misaligned address 0x621000014d74 for type 'bfd_signed_vma', which requires
8 byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:16900:17: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:16900:17: runtime error:
store to misaligned address 0x621000014d74 for type 'bfd_signed_vma', which
requires 8 byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:16846:19: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:16846:19: runtime error:
store to misaligned address 0x621000014d94 for type 'bfd_signed_vma', which
requires 8 byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:16867:16: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:16867:16: runtime error:
store to misaligned address 0x621000014d94 for type 'bfd_signed_vma', which
requires 8 byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:3668:14: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:3668:14: runtime error: load
of misaligned address 0x621000014dcc for type 'struct arm_local_iplt_info *',
which requires 8 byte alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:11571:4: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:11571:4: runtime error: load
of misaligned address 0x621000014d94 for type 'bfd_vma', which requires 8 byte
alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:11574:8: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:11574:8: runtime error: load
of misaligned address 0x621000014d94 for type 'bfd_vma', which requires 8 byte
alignment

--------------------------------------------------------------------------------
UBSAN error: bfd/elf32-arm.c:11617:36: 
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-linuxeabi CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-linuxeabi
PASS: target2-abs
Executing on host: sh -c {/dev/shm/_xy33ilw/ld/ld-new   -o
tmpdir/arm-target2-got-rel -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -static
--target2=got-rel -T arm.ld tmpdir/arm-target2.o  2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf32-arm.c:11617:36: runtime error: load
of misaligned address 0x621000014d94 for type 'bfd_vma', which requires 8 byte
alignment

-- 
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]