Summary: | sys-devel/distcc-3.0-r3 - strip -Werror | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | [OLD] Core system | Assignee: | MATSUU Takuto (RETIRED) <matsuu> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ed, manuel.lauss |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://code.google.com/p/distcc/issues/detail?id=28 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
distcc-3.0-werror.diff
uninitialized.patch |
Description
Ryan Hill (RETIRED)
2008-10-29 02:14:30 UTC
Created attachment 170182 [details, diff]
distcc-3.0-werror.diff
I reported to upstream. http://code.google.com/p/distcc/issues/detail?id=28 http://distcc.googlecode.com/issues/attachment?aid=6181885209652935876&name=src-where-uninitialized.patch Could you test the patch? I'll commit it to portage tree. Created attachment 170434 [details, diff]
uninitialized.patch
Or, you could fix the bug.
Fixed in distcc-3.0-r4 -Werror is still problematic on at least MIPS and SH-4 (gcc-4.3.2): sh4-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/etc\"" -DPKGDATADIR="\"/usr/share/distcc\"" -Isrc -I"./src" -I"./lzo" -Werror -Os -m4 -ml -fomit-frame-pointer -ffast-math --param max-aliased-vops=10000 -MD -W -Wall -Wimplicit -Wuninitialized -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wmissing-declarations -pthread -o src/srvnet.o -c src/srvnet.c cc1: warnings being treated as errors src/srvnet.c: In function 'dcc_check_client': src/srvnet.c:264: error: cast increases required alignment of target type src/srvnet.c:269: error: cast increases required alignment of target type make: *** [src/srvnet.o] Error 1 () ok. removed -Werror in distcc-3.0-r4. |