Romain Geissler <romain.geissler at amadeus dot com> changed:

           What    |Removed                     |Added
                 CC|                            |romain.geissler at amadeus dot 

--- Comment #7 from Romain Geissler <romain.geissler at amadeus dot com> ---

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 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 ?


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

Reply via email to