My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 26: missing CFLAGS for include-server
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Oct 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by matsuu, Oct 26, 2008
1. What version of distcc are you using (e.g. "2.7.1")?
svn revision 618

2. What platform are you running on (e.g. "Red Hat 8.0", "HP-UX 11.11")?
Gentoo, x86-64, gcc-4.1.2, glibc-2.6.1, python-2.5.2

3. What were you trying to do (e.g. "install distcc", "build Mozilla")?
$ svn co distcc; ./autogen.sh; ./configure; make

4. What went wrong?
(snip)
building 'include_server.distcc_pump_c_extensions' extension
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR=/usr/local/etc
-DPKGDATADIR=/usr/local/share/distcc -Isrc -I./src -I./lzo -fPIC
-D_GNU_SOURCE=1 -Isrc -I./src -I./lzo -I/usr/include/python2.5 -c
-D_GNU_SOURCE=1 -Isrc -I./src -I./lzo -I/usr/include/python2.5 -c
/tmp/distcc-read-only/src/clirpc.c -o
./_include_server/tmp/distcc-read-only/src/clirpc.o -W -Wall -Wimplicit
-Wuninitialized -Wshadow -Wpointer-arith -Wcast-align -Waggregate-return
-Wstrict-prototypes -Wnested-externs -Werror -Wp,-U_FORTIFY_SOURCE
cc1: warnings being treated as errors
cc1: warning: -Wuninitialized is not supported without -O
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
make: *** [include-server] Error 1

attached a patch to fix.
include-server-cflags.patch
841 bytes Download
Comment 1 by fergus.henderson, Oct 27, 2008
Looks good to me.  Applied.  
Fixed in svn revision 622.


Status: Fixed
Sign in to add a comment

Hosted by Google Code