gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

dev-vcs/git: add -ffat-lto-objects workaround

Open CyB3RC0nN0R opened this issue 3 years ago • 2 comments

When compiling git without this workaround, cloning a remote repository results in a "bad object" error (the object in question seems to be random) most of the time.

I am experiencing this issue with the GCC versions 11.1.0-r2 and 11.2.0. I assume that it didn't exist before GCC 11, at least I didn't notice it until GentooLTO switched to GCC 11.

CyB3RC0nN0R avatar Aug 09 '21 20:08 CyB3RC0nN0R

Thanks for the workaround.

I found this recent GCC report that seems to be the same issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949

BorisCarvajal avatar Aug 20 '21 11:08 BorisCarvajal

I found this recent GCC report that seems to be the same issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949

This seems to be it. They have already fixed it, so this PR is obsolete now. I will keep it for reference until the fix is available in the GCC version used by Gentoo LTO.

CyB3RC0nN0R avatar Aug 27 '21 15:08 CyB3RC0nN0R