Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 09:43:47 +0100
From:      Kai Wang <kaiw27@gmail.com>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        Ed Maste <emaste@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r292120 - in head/contrib/elftoolchain: addr2line common elfcopy libelf readelf
Message-ID:  <CAMf2Fe7AK5K99nrUE4Rx7Zp6PKD%2Bg-LAqZzJLRJO1GdgEqS7yQ@mail.gmail.com>
In-Reply-To: <CAJ-VmomX%2BSYUwMpWkTiXMqAhQE%2BthmaMse7KnTFXWqc4JpXmPA@mail.gmail.com>
References:  <201512112028.tBBKSRtn092966@repo.freebsd.org> <CAJ-VmomX%2BSYUwMpWkTiXMqAhQE%2BthmaMse7KnTFXWqc4JpXmPA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2015-12-13 7:04 GMT+01:00 Adrian Chadd <adrian.chadd@gmail.com>:

> Hm!
>
> cc1: warnings being treated as errors
>
> /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf/../../contrib/elftoolchain/readelf/readelf.c:
> In function 'dump_dwarf':
>
> /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf/../../contrib/elftoolchain/readelf/readelf.c:7479:
> warning: 'b' may be used uninitialized in this function
>
> /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf/../../contrib/elftoolchain/readelf/readelf.c:7479:
> note: 'b' was declared here
>
> /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf/../../contrib/elftoolchain/readelf/readelf.c:4758:
> warning: 'pe' may be used uninitialized in this function
>
> /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf/../../contrib/elftoolchain/readelf/readelf.c:4758:
> note: 'pe' was declared here
>
> .. these both seem like legit.
>
>
Hi,

Sorry about the breakage. Should be fixed by r292158.
Somehow clang didn't catch this. Had to use gcc to see this warning.

Thanks,
Kai



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMf2Fe7AK5K99nrUE4Rx7Zp6PKD%2Bg-LAqZzJLRJO1GdgEqS7yQ>