This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/77472] build of intel_drv.so (xf86-video-intel) takes over 13GB+ memory during lto1


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]