summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Check that the system popt is linkableHEADmastermandyke@gmail.com2014-07-291-1/+3
| | | | | | Fixes issue 31 git-svn-id: http://distcc.googlecode.com/svn/trunk@796 01de4be4-8c4a-0410-9132-4925637da917
* lzo: Update to 2.08mandyke@gmail.com2014-07-297-2212/+8445
| | | | | | Fixes issue 142 git-svn-id: http://distcc.googlecode.com/svn/trunk@795 01de4be4-8c4a-0410-9132-4925637da917
* Add missing dist_files (excluding doc/web)mandyke@gmail.com2014-07-281-0/+7
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@794 01de4be4-8c4a-0410-9132-4925637da917
* Ignore the common linux-gate.so warning in Gdb_Casemandyke@gmail.com2014-07-281-0/+1
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@793 01de4be4-8c4a-0410-9132-4925637da917
* Really ignore userconf in Gdb_Casemandyke@gmail.com2014-07-281-9/+2
| | | | | | | An empty .gdbinit in the current directory is not effective at avoiding ~/.gdbinit. Use the option -nh instead. git-svn-id: http://distcc.googlecode.com/svn/trunk@792 01de4be4-8c4a-0410-9132-4925637da917
* Fix cut-and-paste error in previous change.fergus.henderson@gmail.com2014-04-021-1/+1
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@791 01de4be4-8c4a-0410-9132-4925637da917
* Apply patch for issue 139fergus.henderson@gmail.com2014-04-022-10/+18
| | | | | | | | | | <http://code.google.com/p/distcc/issues/detail?id=139>: add configure option --without-libiberty, to allow building distcc without GPL3 license encumbrance. git-svn-id: http://distcc.googlecode.com/svn/trunk@790 01de4be4-8c4a-0410-9132-4925637da917
* Fix logic with --disable-rfc2553mandyke@gmail.com2014-03-031-2/+5
| | | | | | | | | Passing the above option to configure should not cause ENABLE_RFC2553 to be defined. Fixes issue 68 git-svn-id: http://distcc.googlecode.com/svn/trunk@789 01de4be4-8c4a-0410-9132-4925637da917
* Libiberty has moved in Debianmandyke@gmail.com2014-03-031-1/+4
| | | | | | | | | Libiberty development files are now included in libiberty-dev, rather than binutils-dev. * INSTALL (QUICK SUMMARY): Update accordingly. git-svn-id: http://distcc.googlecode.com/svn/trunk@788 01de4be4-8c4a-0410-9132-4925637da917
* Identify location of libiberty.hmandyke@gmail.com2014-03-032-0/+12
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@787 01de4be4-8c4a-0410-9132-4925637da917
* Fix a bug where the BadLogFile_Case test was depending on gcc returningfergus.henderson@gmail.com2014-02-271-2/+2
| | | | | | | | | | | | | | an exit status of 1 for compilation of a non-existing file. This was causing problems with gcc 4.6.3 (and probably other gcc versions) which was returning exit status 4 in that case. I changed the test to instead use an existing file and to expect exit status 0; we don't actually fail the compilation if a bad log file is specified, instead we just log an error message about the bad log file on stderr. git-svn-id: http://distcc.googlecode.com/svn/trunk@786 01de4be4-8c4a-0410-9132-4925637da917
* Don't assume that gcc returns exit status 1 for invalid options,fergus.henderson@gmail.com2014-02-271-2/+5
| | | | | | | | | | since gcc 4.6.3 (and perhaps earlier) returns exit status 4. Instead, just verify that the exit status from distcc is non-zero and matches what gcc returned. git-svn-id: http://distcc.googlecode.com/svn/trunk@785 01de4be4-8c4a-0410-9132-4925637da917
* Handle '--coverage' like '-fprofile-arcs' and '-ftest-coverage':fergus.henderson@gmail.com2014-02-271-1/+2
| | | | | | | | fall back to compiling locally. git-svn-id: http://distcc.googlecode.com/svn/trunk@784 01de4be4-8c4a-0410-9132-4925637da917
* Apply patch from Rafael Ávila de Espíndola <rafael.espindola@gmail.com>:fergus.henderson@gmail.com2014-02-273-11/+19
| | | | | | | | | | | | | | | | 1. Add support for -isysroot and -arch. 2. Fix a really nasty corner case: - CompressFiles::Compress uses os.makedirs to create a directory (foo) for one compilation unit - Another compilation unit does the equivalent of '#include "foo/../bar.h"' - The compilation unit uses no other file in foo - We conclude that we don't have to create a dummy foo/forcing_technique_271828 git-svn-id: http://distcc.googlecode.com/svn/trunk@783 01de4be4-8c4a-0410-9132-4925637da917
* GNU/Hurd also provides sendfile(2)mandyke@gmail.com2013-05-271-1/+1
| | | | | | | * src/sendfile.c (sys_sendfile): Expose this function on GNU/Hurd, which provides the same interface as Linux. git-svn-id: http://distcc.googlecode.com/svn/trunk@782 01de4be4-8c4a-0410-9132-4925637da917
* Improve reliability of testsmandyke@gmail.com2013-05-272-54/+27
| | | | | | | | | | | | | | | | | | | | * test/testdistcc.py: Remove stale and duplicate TODO items. (_Touch): New function, acts like touch(1). (Compile_c_Case): makeFile is not sufficient to reliably update modification time on all systems (e.g. GNU/Hurd), so replace it with calls to _Touch. (Gdb_Case): Use _Touch. (SyntaxError_Case): Look for pattern anywhere in the output using re.search as warnings and other noise can be present. * test/comfychair.py: Also set LC_ALL, which has a higher priority, and make it so LANG and LC_ALL are set after saving the environment. Clean up some stray import statements. git-svn-id: http://distcc.googlecode.com/svn/trunk@781 01de4be4-8c4a-0410-9132-4925637da917
* Add Copyright notice to some files.mandyke@gmail.com2013-05-102-4/+10
| | | | | | Fixes issue 128 git-svn-id: http://distcc.googlecode.com/svn/trunk@780 01de4be4-8c4a-0410-9132-4925637da917
* Avoid potential dereference of uninitialized pointer.mandyke@gmail.com2013-05-101-1/+3
| | | | | | Fixes issue 28 git-svn-id: http://distcc.googlecode.com/svn/trunk@779 01de4be4-8c4a-0410-9132-4925637da917
* zeroconf.h is also "Copyright (C) 2007 Lennart Poettering". See also: r526.mandyke@gmail.com2013-05-081-0/+2
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@778 01de4be4-8c4a-0410-9132-4925637da917
* Swap rpm/deb glob patterns in Makefile.inmandyke@gmail.com2013-05-081-2/+2
| | | | | | Fixes issue 117 git-svn-id: http://distcc.googlecode.com/svn/trunk@777 01de4be4-8c4a-0410-9132-4925637da917
* include_server: Add missing "-x" to getoptmandyke@gmail.com2013-05-081-1/+1
| | | | | | Fixes issue 113 git-svn-id: http://distcc.googlecode.com/svn/trunk@776 01de4be4-8c4a-0410-9132-4925637da917
* Work-around for multiarch portability of SystemIncludeDirectories_Casemandyke@gmail.com2013-05-081-1/+5
| | | | | | Fixes issue 127 git-svn-id: http://distcc.googlecode.com/svn/trunk@775 01de4be4-8c4a-0410-9132-4925637da917
* Support @FILE arguments correctly. Requires GNU libiberty.mandyke@gmail.com2013-05-083-1/+10
| | | | | | Fixes issue 85 git-svn-id: http://distcc.googlecode.com/svn/trunk@774 01de4be4-8c4a-0410-9132-4925637da917
* Apply fix for distcc issue 114 ↵fergus.henderson@gmail.com2012-07-111-0/+1
| | | | | | | | | | | <http://code.google.com/p/distcc/issues/detail?id=114> sent by Ying Chen <companycy@gmail.com>: ensure that lsdistcc.1.gz gets included in the RPM package. git-svn-id: http://distcc.googlecode.com/svn/trunk@773 01de4be4-8c4a-0410-9132-4925637da917
* Apply Ktonibud's patch for distcc issue 74fergus.henderson@gmail.com2012-05-161-10/+17
| | | | | | | | | | | <http://code.google.com/p/distcc/issues/detail?id=74>: Return the host from backoff state, if local compilation returned the same result as remote one. git-svn-id: http://distcc.googlecode.com/svn/trunk@772 01de4be4-8c4a-0410-9132-4925637da917
* Regenerate the automatically-generate HTML files for the man pagesfergus.henderson@gmail.com2012-05-093-0/+245
| | | | | | | | | (using "make man-html"). Add HTML version of lsdistcc man page to index.html. git-svn-id: http://distcc.googlecode.com/svn/trunk@771 01de4be4-8c4a-0410-9132-4925637da917
* Reference the pump(1) man page from the lsdistcc(1) man page.fergus.henderson@gmail.com2012-05-091-0/+5
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@770 01de4be4-8c4a-0410-9132-4925637da917
* Add man page for lsdistcc.fergus.henderson@gmail.com2012-05-092-2/+159
| | | | git-svn-id: http://distcc.googlecode.com/svn/trunk@769 01de4be4-8c4a-0410-9132-4925637da917
* Fix for distcc issue 109 <http://code.google.com/p/distcc/issues/detail?id=109>:fergus.henderson@gmail.com2012-05-031-1/+1
| | | | | | | | | | | Apply a patch from Debian that was forwarded upstream by mandyke. The patch fixes a potential security problem in pump wrapper (pump.in). If PYTHONPATH were originally unset or empty, the current working directory would be added to PYTHONPATH, which is a security risk. git-svn-id: http://distcc.googlecode.com/svn/trunk@768 01de4be4-8c4a-0410-9132-4925637da917
* Fix issue 108 <http://code.google.com/p/distcc/issues/detail?id=108>:kamal@whence.com2012-04-204-2/+22
| | | | | | | | | | | | | | | | | | include_server --no_force_dirs inhibits forcing_technique The "forcing_technique" trick which handles the (rare) case of files included as e.g. <foo/../file.h> causes a performance degradation: The forcing files accumulate over the life of the include_server, making distcc send more and more (useless) files as the build progresses. While the forcing files are zero-length, the transmission filenames themselves introduce a significant overhead for builds with many files and directories. This patch implements the include_server arg --no_force_dirs, which if set switches off the "forcing_technique" scheme. git-svn-id: http://distcc.googlecode.com/svn/trunk@767 01de4be4-8c4a-0410-9132-4925637da917
* Generalize dcc_{r,x}_argv routineskamal@whence.com2012-04-208-19/+29
| | | | | | | | | Generalize the dcc_{r,x}_argv routines so they can be used to transfer arbitrary array-of-strings tokens (useful for protocol hacking experiments; no functional change). git-svn-id: http://distcc.googlecode.com/svn/trunk@766 01de4be4-8c4a-0410-9132-4925637da917
* 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