[Bug bootstrap/64914] [UBSAN/bootstrap-ubsan] With -g3: libiberty/md5.c:336:7: runtime error: load of misaligned address for type 'const md5_uint32', which requires 4 byte alignment
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 10 10:16:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64914
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu May 10 10:15:42 2018
New Revision: 260112
URL: https://gcc.gnu.org/viewcvs?rev=260112&root=gcc&view=rev
Log:
Improve boostrap-ubsan config (PR bootstrap/64914).
2018-05-10 Martin Liska <mliska@suse.cz>
PR bootstrap/64914
* bootstrap-ubsan.mk: Define UBSAN_BOOTSTRAP.
2018-05-10 Martin Liska <mliska@suse.cz>
PR bootstrap/64914
* md5.c: Use strict alignment with UBSAN_BOOTSTRAP.
Modified:
trunk/config/ChangeLog
trunk/config/bootstrap-ubsan.mk
trunk/libiberty/ChangeLog
trunk/libiberty/md5.c
More information about the Gcc-bugs
mailing list