summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update config.{guess,sub} scriptsbaserock/tiagogomes/armv8l64Tiago Gomes2015-02-032-781/+1140
|
* Merge branch 'baserock/sam/gcc-4.7' into baserock/morphbaserock/morphSam Thursfield2014-04-291-0/+12
|\ | | | | | | Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| * Work around -Werror build failure with GCC 4.7.3 on x86_32Sam Thursfield2014-04-251-0/+12
|/ | | | | | Add morphology, which will disable the -Werror flag. Issue reported upstream: https://code.google.com/p/distcc/issues/detail?id=142
* Apply patch from Jérémie Koenig <jk@jk.fr.eu.org>:fergus.henderson@gmail.com2012-04-102-3/+14
| | | | | | | | | | 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
* Fix issue 104 <http://code.google.com/p/distcc/issues/detail?id=104>:fergus.henderson@gmail.com2012-04-092-7/+13
| | | | | | | | handle header file names containing commas. git-svn-id: http://distcc.googlecode.com/svn/trunk@764 01de4be4-8c4a-0410-9132-4925637da917
* Fix for distcc issue 105 <http://code.google.com/p/distcc/issues/detail?id=105>kamal@whence.com2012-04-051-0/+4
| | | | | | | | : 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
* Fix for distcc issue 101 <http://code.google.com/p/distcc/issues/detail?id=101>:kamal@whence.com2012-04-041-6/+9
| | | | | | | | pump should always report non-zero discrepancy count git-svn-id: http://distcc.googlecode.com/svn/trunk@762 01de4be4-8c4a-0410-9132-4925637da917
* Fix for distcc issue 103 <http://code.google.com/p/distcc/issues/detail?id=103>:kamal@whence.com2012-04-042-2/+31
| | | | | | | | | | | 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
* Fix for distcc issue 102 <http://code.google.com/p/distcc/issues/detail?id=102>:kamal@whence.com2012-04-042-3/+16
| | | | | | | | | | | "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
* Fix for distcc issue 99 ↵kamal@whence.com2012-04-041-1/+2
| | | | | | <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
* Fix for distcc issue 96 <http://code.google.com/p/distcc/issues/detail?id=96>:fergus.henderson@gmail.com2012-04-041-0/+1
| | | | | | | | 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
* Fix for distcc issue 98 <http://code.google.com/p/distcc/issues/detail?id=98>:fergus.henderson@gmail.com2012-04-041-1/+4
| | | | | | | | 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
* Fix for distcc issue 100 <http://code.google.com/p/distcc/issues/detail?id=100>:fergus.henderson@gmail.com2012-04-041-1/+1
| | | | | | | | | 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
* Apply patch for issue 87 <http://code.google.com/p/distcc/issues/detail?id=87>:fergus.henderson@gmail.com2012-02-061-7/+8
| | | | | | | | Only undefine _FORTIFY_SOURCE when building with -Werror. git-svn-id: http://distcc.googlecode.com/svn/trunk@755 01de4be4-8c4a-0410-9132-4925637da917
* Fix gcc warning about variable 'ret' set but not used.fergus.henderson@gmail.com2012-02-061-2/+1
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@754 01de4be4-8c4a-0410-9132-4925637da917
* Add support for Python 2.7.fergus.henderson@gmail.com2012-02-061-1/+1
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@753 01de4be4-8c4a-0410-9132-4925637da917
* Fix a build failure on an obscure platform --fergus.henderson2012-01-251-1/+1
| | | | | | | | | | 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
* Add #include "config.h" in a couple of places,fergus.henderson2012-01-252-0/+2
| | | | | | | | | | | | | | | 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
* Apply patch from Jiri Palecek to fix issue 83fergus.henderson2011-11-011-0/+2
| | | | | | | | | <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
* Update ChangeLog again.fergus.henderson2011-10-261-0/+33
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@749 01de4be4-8c4a-0410-9132-4925637da917
* After my change to gzip the man pages before installing them,fergus.henderson2011-10-261-0/+2
| | | | | | | | | | 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
* Gzip the man pages before installing them.fergus.henderson2011-10-251-8/+17
| | | | | | | | | | | | | | 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
* Update the NEWS and ChangeLog files, and set the version number to 3.2rc1,fergus.henderson2011-10-253-5/+776
| | | | | | | | | | 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
* Regenerate the checked-in HTML for the man pages.fergus.henderson2011-10-247-164/+326
| | | | | | | | | | | | | | | | | | | | | | 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
* Apply a suggestion from Craig Silverstein: update the documentationfergus.henderson2011-10-241-1/+1
| | | | | | | | | 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
* Fix a couple of compiler warnings.fergus.henderson2011-10-212-3/+4
| | | | | | | | Reviewed by Craig Silverstein. git-svn-id: http://distcc.googlecode.com/svn/trunk@743 01de4be4-8c4a-0410-9132-4925637da917
* Apply patch from Ihor Kaharlichenko <madkinder> to fix issue 81fergus.henderson2011-06-281-2/+1
| | | | | | | | | | | | | <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
* Fix a syntax error in my last change.fergus.henderson2011-04-061-2/+2
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@741 01de4be4-8c4a-0410-9132-4925637da917
* Update Makefile.in for compatibility with autoconf >= 2.60.fergus.henderson2011-04-061-0/+1
| | | | | | | | | | | | 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
* Fix warnings about unused return values. This includes some code changesfergus.henderson2011-04-0614-47/+113
| | | | | | | | to do a better job of error checking. git-svn-id: http://distcc.googlecode.com/svn/trunk@739 01de4be4-8c4a-0410-9132-4925637da917
* Fix some issues that caused the gdb-related tests to fail:fergus.henderson2011-04-061-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Support Python 2.6.fergus.henderson2011-04-061-1/+1
| | | | | | | | Reviewed by Craig Silverstein. git-svn-id: http://distcc.googlecode.com/svn/trunk@737 01de4be4-8c4a-0410-9132-4925637da917
* Fix indentation (layout changes only, no code changes).fergus.henderson2011-04-051-10/+10
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@736 01de4be4-8c4a-0410-9132-4925637da917
* Fix for <http://code.google.com/p/distcc/issues/detail?id=61>fergus.henderson2010-11-161-2/+13
| | | | | | | | | | | | | "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
* Fix error in manual: to disable fallback, set DISTCC_FALLBACK to 0 not 1.fergus.henderson2010-11-161-1/+1
| | | | | | | | 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
* Apply patch from Ian Kumlien <Ian.Kumlien@gmail.com>,fergus.henderson2010-10-081-4/+4
| | | | | | | | | | | 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
* Apply patch from Jeremy Murphy <jeremy.william.murphy@gmail.com>,fergus.henderson2010-10-086-22/+65
| | | | | | | | | | 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
* Fix failures of the Gdb_* test cases:fergus.henderson2010-09-101-7/+19
| | | | | | | | | | | | | | | | | | | | | | 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
* Some minor stylistic improvements:fergus.henderson2010-08-191-30/+29
| | | | | | | | | | | | | 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
* Change directory back to the original server working directory after eachfergus.henderson2010-08-193-9/+23
| | | | | | | | | | | | | | 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
* Apply --sysroot patch from Simon Baldwin <simonb@google.com>:fergus.henderson2010-08-193-31/+69
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Trivial fix for slight mistake in distccd debug message.fergus.henderson2010-06-291-1/+1
| | | | | | | | Reviewed by Craig Silverstein. git-svn-id: http://distcc.googlecode.com/svn/trunk@720 01de4be4-8c4a-0410-9132-4925637da917
* Apply patch from Ryan Burns <rburns@pixar.com>:fergus.henderson2010-05-045-12/+162
| | | | | | | | | | 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
* Apply patch from Ryan Burns <rburns@pixar.com>:fergus.henderson2010-05-042-4/+23
| | | | | | | | | 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
* Apply slightly cleaned up version of patch from perezdiez@gmail.comfergus.henderson2010-03-021-2/+3
| | | | | | | | to fix failure of PreprocessAsm_Case on ARM. git-svn-id: http://distcc.googlecode.com/svn/trunk@717 01de4be4-8c4a-0410-9132-4925637da917
* Apply patch from Akim Demaille <demaille@gostai.com>:fergus.henderson2010-03-021-6/+2
| | | | | | | | | | * 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
* Apply patch from Akim Demaille <demaille@gostai.com>:fergus.henderson2010-03-022-2/+9
| | | | | | | | | | * 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
* Apply patch from madkinder: use #include rather than #import in C++ test case.fergus.henderson2010-02-181-2/+2
| | | | | | | | | | | 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
* Change the PreprocessAsm_Case so that it reports NOTRUNfergus.henderson2010-02-181-1/+3
| | | | | | | | 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
* Add support for $DISTCC_IO_TIMEOUT.zhanglei2010-02-106-11/+45
| | | | | | | Reviewed by Fergus Henderson. git-svn-id: http://distcc.googlecode.com/svn/trunk@712 01de4be4-8c4a-0410-9132-4925637da917