https://sourceware.org/bugzilla/show_bug.cgi?id=22758
Romain Geissler <romain.geissler at amadeus dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |romain.geissler at amadeus dot com --- Comment #7 from Romain Geissler <romain.geissler at amadeus dot com> --- Hi, Long story short, I was trying to build clang in PGO+LTO bootstrap mode the last few days, and the bootstrap fails with a segfault at the moment clang is ran on the profiling data set. I hunted down the issue to the fact that in some LLVM libraries, "atexit" function is inlined and included in the loaded shared libraries, but placed in a section that ld.so mapped in a RW segment rather than a RE segment, and both segment are not correctly aligned to the boundary of a 2MB page like it should. When applying this patch, the bootstrap of clang works. Given that this might potentially happen arbitrarily to any user of binutils 2.30 and it is not so easy to understand that section placement is wrong here, would you please backport this to the 2.30 branch ? Thanks, Romain -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils