You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue relates to some others I had opened in the past, for a problem that seems to be in the end some incorrect .debug_macros generation by gcc when building with gcc -ggdb3.
See the historic of this issue in different projects:
@rui314 The author of mold decided to eventually workaround this in mold, depsite gcc having some debatable/wrong behavior, in this commit: rui314/mold@8c5e4df
Would it be possible to implement a similar workaround in lld so that binaries built with gcc -ggdb3 and linked with ld.lld don't end up in a huge memory/cpu hog in gdb ?
Cheers,
Romain
The text was updated successfully, but these errors were encountered:
By the way, did someone file a bug to gcc so that gcc won't create a bad comdat section for -ggdb3? If so, please paste the bug's URL for cross reference.
Hi,
This issue relates to some others I had opened in the past, for a problem that seems to be in the end some incorrect .debug_macros generation by gcc when building with gcc -ggdb3.
See the historic of this issue in different projects:
@rui314 The author of mold decided to eventually workaround this in mold, depsite gcc having some debatable/wrong behavior, in this commit: rui314/mold@8c5e4df
Would it be possible to implement a similar workaround in lld so that binaries built with gcc -ggdb3 and linked with ld.lld don't end up in a huge memory/cpu hog in gdb ?
Cheers,
Romain
The text was updated successfully, but these errors were encountered: