bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#28213: [bootstrap] Error 2 with -Os with gcc (GCC) 7.1.1


From: Paul Eggert
Subject: bug#28213: [bootstrap] Error 2 with -Os with gcc (GCC) 7.1.1
Date: Tue, 29 Aug 2017 15:07:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Thanks for the bug report, which led to an entertaining and hair-raising trip through Emacs's garbage collector and let me brush up on my machine-level debugging skills. I installed the attached patches, which fix the problem for me, and I am closing the bug.

This bug report underscores that --enable-link-time-optimization is experimental and should not yet be recommended for production use with Emacs. When used, even with the attached patches I can easily get Emacs to dump core by exploiting bugs in GCC's code generator. The commit message in the last of the attached patches contains more detail about this.


Attachment: 0001-Align-stack-bottom-properly.patch
Description: Text Data

Attachment: 0002-Improve-stack-top-heuristic.patch
Description: Text Data

Attachment: 0003-Make-garbage-collection-more-conservative.patch
Description: Text Data

Attachment: 0004-Be-more-conservative-in-link-time-optimization-doc.patch
Description: Text Data


reply via email to

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