PATCH: PR bootstrap/53472: contrib/compare-debug should strip out .comment section

H.J. Lu hjl.tools@gmail.com
Thu May 24 16:53:00 GMT 2012


On Thu, May 24, 2012 at 7:43 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, May 24, 2012 at 7:35 AM, Paolo Bonzini <bonzini@gnu.org> wrote:
>> Il 24/05/2012 16:01, H.J. Lu ha scritto:
>>> configure checks if contrib/compare-debug actually works for comparing a
>>> debug and non-debug .o file before enabling bootstrap-debug.  But some
>>> compilers encode some command line options (among them -g) into a special
>>> .comment section.  This patch removes .comment section before comparing
>>> debug and non-debug files.  OK for trunk?
>>
>> Ok.
>
> Hi Richard,
>
> Before I check it in,  can you verify it enables bootstrap-debug on SuSE?
>

It doesn't work since the comment section name may be
.comment.SUSE.OPTs


-- 
H.J.



More information about the Gcc-patches mailing list