bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22758] FAIL: Run pr22393-2


From: romain.geissler at amadeus dot com
Subject: [Bug ld/22758] FAIL: Run pr22393-2
Date: Wed, 14 Feb 2018 16:01:59 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]