Revert "Reland [ELF] Loose a condition for relocation with a symbol"
This reverts commit r366686 as it appears to be causing buildbot
failures on sanitizer-x86_64-linux-android and sanitizer-x86_64-linux.
Revert "Reland [ELF] Loose a condition for relocation with a symbol"
Description
Details
Event TimelineComment Actions @vitalybuka Do sanitizer-x86_64-linux-android and sanitizer-x86_64-linux use gold? If yes, what is its version? Comment Actions From the revert email http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190722/675580.html they use: Comment Actions It is weird. The gold bug should be fixed <= binutils 2.26 (2016). Do we know which executable crashed? Comment Actions Actually it is not fixed. Bug is related to "-O2" linker optimizations. More precisely to stringpool optimization of merge-able sections. I've located bug in the linker but I didn't have time to get into the details. Here you can find binaries https://sourceware.org/bugzilla/show_bug.cgi?id=16794. Comment Actions
If the bug is only related to gold -O2, I think we can try removing -Wl,-O2 (or probably in other form) from sanitizer-x86_64-linux-android and sanitizer-x86_64-linux Comment Actions as well as other configurations which we can't afford to continuously test |