Different build time warnings for ticket 3908

Gedare Bloom gedare at rtems.org
Sun May 3 12:37:43 UTC 2020


On Sat, May 2, 2020 at 7:18 AM Richi Dubey <richidubey at gmail.com> wrote:
>
> Hii,
>
> I know everyone is quite busy with the coming release but I'd be glad
> if someone could answer a quick question: Does the gcc version affect
> build time warnings for a bsp?
>
> Thanks.
>
> On Wed, Apr 29, 2020 at 7:56 PM Richi Dubey <richidubey at gmail.com> wrote:
> >
> > Heyy everyone,
> >
> > Please help me clear a small doubt of mine. When I was building leon3
> > to remove the warnings, I encountered the following warnings:
> > http://p.ip.fi/2-Dp. While Dr. Sherrill's warning in
> > https://ftp.rtems.org/pub/rtems/people/joel/warnings/warnings-5-20200408/warnings-all-5-20200408.txt
> > are sorted by bsps(I guess) have only the following warnings for
> > the leon3 bsp: http://p.ip.fi/SxO7.
> >
> > Why am I getting extra warnings? I have the latest rtems and the
> > pre-installed gcc on ubuntu.
> >

The "pre-installed gcc" shouldn't come into play here, because you are
using an RTEMS cross-compiler, e.g., sparc5-rtems-gcc. My best guesses
for why you will see different results:
1. Different configure command line. I see libnetworking in your
build, probably Joel has --disable-networking
2. Different toolchain version. Make sure you build the toolchain to
match, in your case maybe it is master/master of rtems.git and
rtems-source-builder.git?
3. Different RTEMS version. Perhaps Joel's report is based on a
version of rtems earlier than yours. His build indiciates a date stamp
of April 8, and you build around April 29, so there is 3 weeks
difference in your versions maybe.

-Gedare

> > Thanks,
> > Richi.
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list