This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: archer-sergiodj-stap -O2 -Wall warnings=errors
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Sergio Durigan <sdurigan at redhat dot com>, archer at sourceware dot org
- Date: Mon, 21 Mar 2011 02:09:57 -0300
- Subject: Re: archer-sergiodj-stap -O2 -Wall warnings=errors
- References: <20110320152726.GA8505@host1.jankratochvil.net>
Hi Jan,
Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> Hi Sergio,
>
> with -O2 (+some -Wall or so options possibly - what applies for Fedora builds)
> one gets:
>
> gcc-4.6.0-0.14.fc15.x86_64
> stap-probe.c: In function âstap_fetch_reg_valueâ:
> stap-probe.c:923:12: error: âaopâ may be used uninitialized in this function [-Werror=uninitialized]
> stap-probe.c:919:10: error: âretâ may be used uninitialized in this function [-Werror=uninitialized]
> stap-probe.c: In function âstap_evaluate_conditionallyâ:
> stap-probe.c:1184:3: error: âresâ may be used uninitialized in this
> function [-Werror=uninitialized]
Thanks for pointing out those errors. They were fixed today (Sunday)
afternoon, after you tried to compile my branch. I compiled it here
with -O2 -Wall and everything worked.
Thanks.