[Bug other/67446] libiberty sha1.c:324 sanitizer runtime error: load of misaligned address 0x62f00011847e for type 'const sha1_uint32', which requires 4 byte alignment

2015-09-04 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67446 Mikhail Maltsev changed: What|Removed |Added CC||miyuki at gcc dot gnu.org --- Comment

[Bug other/67446] libiberty sha1.c:324 sanitizer runtime error: load of misaligned address 0x62f00011847e for type 'const sha1_uint32', which requires 4 byte alignment

2015-09-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67446 --- Comment #3 from Andrew Pinski --- (In reply to Mikhail Maltsev from comment #2) > BTW, a similar bug reproduces during GCC bootstrap with ubsan: > > /home/jenkins/workspace/ubsan-bootstrap/src/libiberty/md5.c:336:7: runtime > error: load of

[Bug other/67446] libiberty sha1.c:324 sanitizer runtime error: load of misaligned address 0x62f00011847e for type 'const sha1_uint32', which requires 4 byte alignment

2015-09-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67446 --- Comment #1 from Andrew Pinski --- According to the source, it assumes the input to the sha1_process_block is aligned correctly. It might be a bug in ld passing an incorrect aligned block to that function.