minaco2 / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

distcc fails to compile on solaris #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Answering the following questions is a big help:

1. What version of distcc are you using (e.g. "2.7.1")?  You can run
"distcc --version" to see.  If you got distcc from a distribution package
rather than building from source, please say which one.
distcc-3.0 (svn 549)

2. What platform are you running on (e.g. "Red Hat 8.0", "HP-UX 11.11")? 
What compilare are you using ("gcc 3.3")?  Run "uname -a" and "cc
--version" to see.
SunOS cod 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V210
gcc (GCC) 3.4.4

3. What were you trying to do (e.g. "install distcc", "build Mozilla")?
install distcc

4. What went wrong?  Did you get an error message, did it hang, did it
build a program that didn't work, did it not distribute compilation to
machines that ought to get it?
On a few files I got similar warnings (that the Makefile raised to errors
stopping the build) that look like
../distcc-3.0/src/fix_debug_info.c: In function `FindElfSection':
../distcc-3.0/src/fix_debug_info.c:67: warning: cast increases required
alignment of target type
../distcc-3.0/src/fix_debug_info.c:131: warning: cast increases required
alignment of target type
../distcc-3.0/src/fix_debug_info.c:176: warning: cast increases required
alignment of target type
../distcc-3.0/src/fix_debug_info.c:178: warning: cast increases required
alignment of target type
gmake: *** [src/fix_debug_info.o] Error 1

5. If you have an example of a compiler invocation that failed, quote it,
in full e.g.:
gcc -DHAVE_CONFIG_H -D_GNU_SOURCE
-DSYSCONFDIR="\"/home/jhanley/local/etc\""
-DPKGDATADIR="\"/home/jhanley/local/share/distcc\"" -Isrc
-I"../distcc-3.0/src" -I"../distcc-3.0/lzo"  -Werror -g -O2 -MD -W -Wall
-Wimplicit -Wuninitialized -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wmissing-declarations -D_REENTRANT -pthreads -o
src/fix_debug_info.o -c ../distcc-3.0/src/fix_debug_info.c

6. What error logging do you get?  Turn on client and server error logging.
 On the client, set these environment variables, and try to reproduce the
problem: =export DISTCC_VERBOSE=1 DISTCC_LOG=/tmp/distcc.log=.  Start the
server with the --verbose option. If the problem is intermittent, leave
logging enabled and then pull out the lines from the log file when the
problem recurs.
N/A

7. If you got an error message on stderr, quote that error exactly. Find
the lines in the log files pertaining to the compile, and include all of
them in your report, by looking at the process ID in square brackets. If
you can't work that out, quote the last few hundred lines leading up to the
failure. 
N/A

Original issue reported on code.google.com by dgtlr...@gmail.com on 9 Jul 2008 at 9:10

Attachments:

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue 8.

Thanks for the patch.  When solving issue 8, I came up with something quite 
similar.
I'll go with my patch, which has a few more comments, and uses 'const void *' 
instead
of 'void*' to avoid casting away const when there's no need for that.

Original comment by fergus.h...@gmail.com on 30 Jul 2008 at 12:38