Hello Wolf.

2014-03-21 12:01 GMT+01:00 Wolf Ramovsky <[email protected]>:

> Also
> in srv/net/dhcp/transport.c, line 182 and srv/net/dnssrv/dns_msg.c,
> line 535, in debug build, GCC says that variables "size" or "q_size",
> respectively, is possibly uninitialized.
> I haven't explored for the rest possible uninitialized variable errors
> and just removed -Werror option in debug build mode, so fixing
> mentioned files could be not enough.
>
What version of GCC are you using? It seems to me you are not using the one
built by our toolchain script. Unfortunately, GCC ability to spot
problematic places changes from version to version.

Btw, can you file a bug report for this, please? Thanks. Preferably with
better name than $subject ;-).


P.S. I don't understand, how anybody able to build HelenOS. It's
> impossible in both debug and non-debug modes.
>
The truth is that we do not test non-debug builds that often. We definitely
should.

On the other hand, I have no problem building HelenOS for all architectures
by using the provided toolchain.

Cheers,
- Vojta




>
> 2014-03-21 14:32 GMT+04:00, Vojtech Horky <[email protected]>:
> > Hello Wolf.
> >
> > 2014-03-21 6:21 GMT+01:00 Wolf Ramovsky <[email protected]>:
> >
> >> In kernel/generic/src/mm/frame.c, lines 903 - 911:
> >> Variable avail, declared in line 904, exists only in debug build, but
> >> used
> >> in non-debug code, line 911
> >>
> > Good catch. Fixed in mainline 2092. Thanks.
> >
> > Cheers,
> > - Vojta
> >
> >
> >>
> >> _______________________________________________
> >> HelenOS-devel mailing list
> >> [email protected]
> >> http://lists.modry.cz/listinfo/helenos-devel
> >>
> >>
> >
>
> _______________________________________________
> HelenOS-devel mailing list
> [email protected]
> http://lists.modry.cz/listinfo/helenos-devel
>
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to