| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
|
|/
|
|
|
|
| |
Add morphology, which will disable the -Werror flag.
Issue reported upstream: https://code.google.com/p/distcc/issues/detail?id=142
|
|
|
|
|
|
|
|
|
|
| |
Fix for <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638258>:
Distcc fails to build on hurd-i386 because it relies on PATH_MAX being
defined.
git-svn-id: http://distcc.googlecode.com/svn/trunk@765 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
handle header file names containing commas.
git-svn-id: http://distcc.googlecode.com/svn/trunk@764 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
:
lsdistcc.c compile fails: variable 'nready' set but not used [-Werror]
git-svn-id: http://distcc.googlecode.com/svn/trunk@763 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
pump should always report non-zero discrepancy count
git-svn-id: http://distcc.googlecode.com/svn/trunk@762 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
| |
hardcoded 60 second backoff period should be tunable
Makes the backoff behavior tunable via a new env var DISTCC_BACKOFF_PERIOD.
The default backoff remains set for 60 seconds.
git-svn-id: http://distcc.googlecode.com/svn/trunk@761 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
| |
"all servers busy" dcc_lock_pause is hardcoded at 1 sec, could be tunable.
Makes the pause time tunable via a new env var DISTCC_PAUSE_TIME_MSEC.
The default remains set for 1 second.
git-svn-id: http://distcc.googlecode.com/svn/trunk@760 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=99>: include_server crash: local variable resolved referenced before assignment.
git-svn-id: http://distcc.googlecode.com/svn/trunk@759 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
build problem with -Werror due to ignoring return value from read().
git-svn-id: http://distcc.googlecode.com/svn/trunk@758 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
build problem with -Werror due to ignoring return value of 'chdir'.
git-svn-id: http://distcc.googlecode.com/svn/trunk@757 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
| |
change the pump script to use $TMPDIR in preference to /tmp if the TMPDIR
environment variable is set.
git-svn-id: http://distcc.googlecode.com/svn/trunk@756 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
Only undefine _FORTIFY_SOURCE when building with -Werror.
git-svn-id: http://distcc.googlecode.com/svn/trunk@755 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
| |
git-svn-id: http://distcc.googlecode.com/svn/trunk@754 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
| |
git-svn-id: http://distcc.googlecode.com/svn/trunk@753 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
see http://code.google.com/p/distcc/issues/detail?id=93.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@752 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to ensure that macros tested with #if/#ifdef
are defined properly before they are tested.
This is a partial application of a patch from pkts.ca
for issue 80; the other parts of that patch conflict
with a patch from Akim Demaille <demaille@gostai.com>
which was committed in revision 715
<http://code.google.com/p/distcc/source/detail?r=715>.
git-svn-id: http://distcc.googlecode.com/svn/trunk@751 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=83>:
fix bug in handling of several consecutive -Wp,... options.
git-svn-id: http://distcc.googlecode.com/svn/trunk@750 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
| |
git-svn-id: http://distcc.googlecode.com/svn/trunk@749 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
I had to make a couple more changes to get "make distcheck" to pass.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@748 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required by the Debian policy manual
<http://www.debian.org/doc/debian-policy/ch-docs.html>
and is also assumed by our packaging/RedHat/rpm.spec file
which we use for building both RPM and Debian packages.
Also some whitespaces changes; only the first of the
four segments in this patch has non-whitespace changes.
git-svn-id: http://distcc.googlecode.com/svn/trunk@747 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
in preparation for releasing distcc version 3.2.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@746 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HTML files were generated automatically using
sudo apt-get install troffcvt
make man-html
But I have also changed the man source files to ensure that
the generated output still looks nice. The changes were
mainly replacing blank lines with ".PP", but there were a
few other tweaks needed too.
Tested by viewing the output on both Chrome and Safari,
and using "man" and (equivalently) "nroff -man" and
examining the changes.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@745 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
| |
for the --whitelist option to make it clear that distcc will accept
connections *only* from users on the list.
git-svn-id: http://distcc.googlecode.com/svn/trunk@744 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@743 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=81>:
SyntaxError_Case was failing with recent versions of gcc,
due to the error message format having changed to now
include the column number.
Also remove an old "XXX" comment that no longer applies.
git-svn-id: http://distcc.googlecode.com/svn/trunk@742 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
| |
git-svn-id: http://distcc.googlecode.com/svn/trunk@741 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids the following warning
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
and ensures that our configure script supports that --datarootdir flag.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@740 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
to do a better job of error checking.
git-svn-id: http://distcc.googlecode.com/svn/trunk@739 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Recent gcc versions want us to use -Wl,--build-id
rather than --build-id.
2. We had missed one of the places where we need to be passing
that flag in.
3. With recent gcc/gdb versions, "break main; run"
will sometimes stop at the first statement inside of main
rather than on the function declaration.
So "break main; run; step" may end up inside the code to
puts() rather than in the code for main().
My fix was to use "break main; run; next" instead.
It is inderminate (varies based on whether you use "-O", for example)
whether we end up at the call to puts() or after the call to puts(),
but either way the call to puts() should be in the gdb output log.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@738 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@737 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
| |
git-svn-id: http://distcc.googlecode.com/svn/trunk@736 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"Gdb tests fail in pumped mode on Ubuntu 9.10 amd64":
pass --build-id to gcc versions that support it.
(See <http://fedoraproject.org/wiki/RolandMcGrath/BuildID>
for a description of the --build-id switch.)
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@735 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
Resolves <http://code.google.com/p/distcc/issues/detail?id=75>.
git-svn-id: http://distcc.googlecode.com/svn/trunk@734 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
| |
to fix <http://code.google.com/p/distcc/issues/detail?id=70>.
This patch fixes a compile error on Gentoo Linux due to "s6_addr"
being #defined by a system header file and thus not available for
use as a local variable name.
git-svn-id: http://distcc.googlecode.com/svn/trunk@733 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
tested and reviewed by cheepero@gmail.com, to address
<http://code.google.com/p/distcc/issues/detail?id=36>
"distcc-mon-gnome displays multiple rows for same host/slot".
git-svn-id: http://distcc.googlecode.com/svn/trunk@732 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. These tests were failing if you have anything in your ~/.gdbinit
file that causes gdb to issue an error message. The fix here is
to create an empty .gdbinit in the test directory; gdb will
read that one in preference to the one in $HOME.
2. These tests were failing due to a new spurious warning from gdb.
3. There were a bug in the code for the Gdb_Case test which previously
caused part of the test to be executed only in pump mode. When
invoking gcc to check whether preprocessing preserves the pwd info,
the command line had not been updated to reflect the fact that this
command is run in a subdirectory; as a consequence,
gcc_preprocessing_preserves_pwd was always set to false.
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@730 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use array indexing rather than pointer arithmetic;
simplify for loops;
change a parameter name to match comment describing it;
eliminate trailing whitespace.
Reviewed by Bob Ham
git-svn-id: http://distcc.googlecode.com/svn/trunk@726 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
distcc-pump compilation. This fixes a bug where distcc-pump was changing
to a directory and then deleting that directory and not changing back
to the original directory. That caused problems when you used a server
first in distcc-pump mode and then in distcc mode, and the compiler
invoked a shell script. The compilation would succeed, but the shell would
report a confusing warning ("shell-init: error retrieving current directory:
getcwd: cannot access parent directories: No such file or directory").
git-svn-id: http://distcc.googlecode.com/svn/trunk@723 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2010-08-18 Simon Baldwin <simonb@google.com>
* include_server/compiler_defaults.py (_SystemSearchdirsGCC):
Add a 'sysroot' parameter. Add --sysroot, if needed, to the gcc
invocation that identifies search directories and default paths.
Add debugging output.
(SetSystemDirsDefaults): Add 'sysroot' parameter. Add another
dictionary level to system_dirs_default for sysroot values.
Add debugging output.
* include_server/parse_command.py (ParseCommandArgs): Identify
and handle arguments of the form '--opt=value'. Pass any
--sysroot value to compiler_defaults.SetSystemDirsDefaults, use
it in compiler_defaults.system_dirs_default lookups.
(CPP_OPTIONS_APPEARING_AS_ASSIGNMENTS): New.
* include_server/parse_command_test.py (Mock_SetSystemDirsDefaults):
Add sysroot parameter, verify it on function calls.
(ParseCommandUnitTest): Add --sysroot to mock gcc invocations.
git-svn-id: http://distcc.googlecode.com/svn/trunk@722 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
Reviewed by Craig Silverstein.
git-svn-id: http://distcc.googlecode.com/svn/trunk@720 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
add 1, 3, 5 minute averages of the number of children
used on a server to the statistics collected by the
stats server.
git-svn-id: http://distcc.googlecode.com/svn/trunk@719 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
| |
add an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping
the local retry in case of a remote compilation failure.
git-svn-id: http://distcc.googlecode.com/svn/trunk@718 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
to fix failure of PreprocessAsm_Case on ARM.
git-svn-id: http://distcc.googlecode.com/svn/trunk@717 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
* src/emaillog.c (dcc_maybe_send_email): Pacify GCC's warnings
about format strings by getting rid of a useless temporary
string.
git-svn-id: http://distcc.googlecode.com/svn/trunk@716 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
* src/hosts.c (strndup): Use the standard signature (without
static), so that we don't conflict with GCC's builtin signature.
Now that it is not static, declare it, to avoid warnings.
git-svn-id: http://distcc.googlecode.com/svn/trunk@715 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a test case failure with gcc 4.4.1, which warns about use of #import.
(The use of #import was an accidental cut-and-paste error resulting from copying
the C++ test case from the Objective-C/C++ test case.)
git-svn-id: http://distcc.googlecode.com/svn/trunk@714 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
| |
rather than PASS for systems where it is not run.
git-svn-id: http://distcc.googlecode.com/svn/trunk@713 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
| |
Reviewed by Fergus Henderson.
git-svn-id: http://distcc.googlecode.com/svn/trunk@712 01de4be4-8c4a-0410-9132-4925637da917
|
|
|
|
|
|
|
|
|
|
| |
In packaging/RedHat/init.d/distcc the executable is once refereed to
using the variable EXEC, and once as with the explicit expected name.
Change it to always use the EXEC variable.
git-svn-id: http://distcc.googlecode.com/svn/trunk@711 01de4be4-8c4a-0410-9132-4925637da917
|