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

            Bug ID: 32731
           Summary: ub sanitizer: load of value 190 into type '_Bool' in
                    ldlang.c
           Product: binutils
           Version: 2.45 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: pheeck at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: tic4x-coff, mcore-pe

If you configure binutils (the latest git version) with

configure --build=x86_64-linux --disable-gdb --disable-gdbserver
--disable-werror --target=tic4x-coff CFLAGS="-g -O2
-fsanitize=address,undefined -Wno-error"CXXLAGS="-g -O2
-fsanitize=address,undefined -Wno-error"LDFLAGS="-ldl"

so with the tic4x-coff target and with sanitizers and you run the testsuite for
ld, adress/ub sanitizer tells you this for the testcase "--remap-inputs-file":

ld/ldlang.c:5269:8: runtime error: load of value 190, which is not a valid
value for type '_Bool'

The same thing happens for target mcore-pe.  In that case the error is at two
places:

ld/ldlang.c:5269:8: runtime error: load of value 190, which is not a valid
value for type '_Bool'
ld/ldlang.c:5275:8: runtime error: load of value 190, which is not a valid
value for type '_Bool'

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

Reply via email to