| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
v3.2rc1.1 was a fluke where I didn't bump the version number
|
|
|
|
|
|
| |
<http://code.google.com/p/distcc/issues/detail?id=83>:
fix bug in handling of several consecutive -Wp,... options.
|
| |
|
|
|
|
|
|
|
| |
I had to make a couple more changes to get "make distcheck" to pass.
Reviewed by Craig Silverstein.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
in preparation for releasing distcc version 3.2.
Reviewed by Craig Silverstein.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
for the --whitelist option to make it clear that distcc will accept
connections *only* from users on the list.
|
|
|
|
|
| |
Reviewed by Craig Silverstein.
|
|
|
|
|
|
|
|
|
|
| |
<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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
to do a better job of error checking.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Reviewed by Craig Silverstein.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
|
| |
Resolves <http://code.google.com/p/distcc/issues/detail?id=75>.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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").
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Reviewed by Craig Silverstein.
|
|
|
|
|
|
|
| |
add 1, 3, 5 minute averages of the number of children
used on a server to the statistics collected by the
stats server.
|
|
|
|
|
|
| |
add an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping
the local retry in case of a remote compilation failure.
|
|
|
|
|
| |
to fix failure of PreprocessAsm_Case on ARM.
|
|
|
|
|
|
|
| |
* src/emaillog.c (dcc_maybe_send_email): Pacify GCC's warnings
about format strings by getting rid of a useless temporary
string.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
rather than PASS for systems where it is not run.
|
|
|
|
| |
Reviewed by Fergus Henderson.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is a simple patch that adds the standard TAGS target for Emacs users.
|
|
|
|
| |
DISTCC_MAX_DISCREPANCY environment variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a problem where this test was failing on some systems
due to link errors when compiling C++ source files with "gcc foo.cpp".
To link C++ code, you now need to use "g++ foo.cpp" or "gcc foo.cpp -lstdc++",
even if the C++ code in question doesn't use any C++ library features.
Rather than changing the code to use "g++" or "-lstdc++", I though it was
better to avoid the link step entirely, since it is not needed for the things
this test is testing, and removing it will speed up the test.
Reviewed by Craig Silverstein.
|
|
|
|
|
|
|
|
|
|
|
| |
Optional Black/Whitelist Functionality.
This patch is used to implement optional server-side access control
through a specified black or whitelist file. This option is specified
through a command line option.
Revised by me (Fergus Henderson):
fixed spelling error, added a comment.
|
|
|
|
|
|
| |
in case we don't have getline() available.
Reviewed by Craig Silverstein.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Optional GSS-API Functionality.
This patch implements mutual authentication, out of sequence and
replay detection using the GSS-API. The changes implemented are
optional and are turned off by default.
This option is specified to the client through an environment variable
as is the name of the server principal to authenticate. Currently
the server principal can be left unspecified and a default based on
the host keytab will be used.
This option is specified to the daemon through a command line option,
with the name of the principal whose credentials the daemon should
use specified as an environment variable. A simple handshake is
exchanged between the client and server in order to prevent
unecessary delays and protocol derailments when mixing authenticating
and non-authenticating clients and servers.
Revised based on review comments.
GSS-API authentication is now implemented as a per host option.
Revised further by me (Fergus Henderson) to fix a spelling error
and to rename the per host option from ",gssapi" to ",auth".
|
|
|
|
|
| |
Protocol Documentation for GSSAPI extension.
|
|
|
|
|
|
|
|
| |
versions of the man pages. This allows you to view the changes with
"svn diff" before running "make upload-man" which commits them.
Reviewed by Craig Silverstein.
|
|
|
|
|
|
|
|
|
| |
- Implements IPv6 support for access control.
- Restrict zeroconf advertisements to IPv4 if
RFC2553 support isn't enabled.
- Modifies the non-RFC2553 code to use inet_aton()
instead of the RFC2553-specific inet_pton().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
If any of the files in the source directory are not writable, running
"make dist" will prompt you if you want to remove those files in the
temporary distribution directory (distcc-3.1).
The following tiny patch fixes that.
|
|
|
|
|
|
|
|
| |
Fixes issue 43 <http://code.google.com/p/distcc/issues/detail?id=43>.
As mentioned in issue 34 <http://code.google.com/p/distcc/issues/detail?id=34>,
hosts with both IPv4 and IPv6 addresses showed up twice if avahi is
IPv6-enabled. So, filter out duplicates using the service name.
|
|
|
|
|
|
|
|
|
|
| |
seems to have gotten mixed up when we changed from
using tabs to using spaces.
(2) Fix spacing in a log message.
Reviewers: Craig Silverstein
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ignore a spurious warning from gdb.
According to Paul Pluzhnikov, the warning is gone from current GDB,
fixed by the following patch:
2008-04-21 Pedro Alves <pedro@codesourcery.com>
* symfile.c (syms_from_objfile): Don't warn if lowest loadable
section is not a code section.
But since there are going to be some versions of gdb in the wild that
don't have that patch, we still need to work around it in the distcc
tests.
Reviewed by Craig Silverstein.
|