This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/77472] build of intel_drv.so (xf86-video-intel) takes over 13GB+ memory during lto1
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 Sep 2016 15:03:49 +0000
- Subject: [Bug ipa/77472] build of intel_drv.so (xf86-video-intel) takes over 13GB+ memory during lto1
- Auto-submitted: auto-generated
- References: <bug-77472-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77472
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #3)
> Looks like GCC is trying to satisfy the flatten attribute at link time which
> is ignored by clang?
Yes, you're right:
% grep -D skip -R -i "flatten"
sna_glyphs.i:__attribute__((flatten)) static
sna_glyphs.i:__attribute__((flatten)) static
sna_glyphs.i:__attribute__((flatten)) static
Deleting these three attributes "fixes" the issue.
Even a single flatten attribute is enough to cause problems.