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

            Bug ID: 33721
           Summary: load/store of misaligned address
           Product: binutils
           Version: 2.46 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libsframe
          Assignee: indu.bhagat at oracle dot com
          Reporter: amodra at gmail dot com
  Target Milestone: ---

Seen on building and testing s390x-linux-gnu binutils target with "-g -O2
-fsanitize=address,undefined -D_FORTIFY_SOURCE=0"

libsframe/sframe.c:319:7: runtime error: load of misaligned address
0x7c9c54de09cb for type 'uint16_t', 
which requires 2 byte alignment
0x7c9c54de09cb: note: pointer points here
 b8  e0 03 00 00 00 03 00 00  06 07 00 d0 b8 00 0a 07  15 d0 b8 00 c4 03 00 00 
ca 07 15 d0 b8 00 fc
              ^ 
libsframe/sframe.c:319:7: runtime error: store to misaligned address
0x7c9c54de09cb for type 'uint16_t',
 which requires 2 byte alignment
0x7c9c54de09cb: note: pointer points here
 b8  e0 03 00 00 00 03 00 00  06 07 00 d0 b8 00 0a 07  15 d0 b8 00 c4 03 00 00 
ca 07 15 d0 b8 00 fc
              ^ 

Unexpected linker warning or error
FAIL: PR ld/33401 (Step 1: Create relocatable object and check R_*_NONE)

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

Reply via email to