forked from distcc/distcc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
28335 lines (17153 loc) · 786 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2011-10-26 02:49 Fergus Henderson <opensource@google.com>
* Makefile.in:
After my change to gzip the man pages before installing them,
I had to make a couple more changes to get "make distcheck" to pass.
Reviewed by Craig Silverstein.
2011-10-25 01:49 Fergus Henderson <opensource@google.com>
* Makefile.in, man:
Gzip the man pages before installing them.
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.
2011-10-25 00:42 Fergus Henderson <opensource@google.com>
* ChangeLog, NEWS, configure.ac:
Update the NEWS and ChangeLog files, and set the version number to
3.2rc1,
in preparation for releasing distcc version 3.2.
Reviewed by Craig Silverstein.
2011-10-24 23:26 Fergus Henderson <opensource@google.com>
* doc/web/man/distcc_1.html, doc/web/man/distccd_1.html,
doc/web/man/distccmon_text_1.html, doc/web/man/include_server_1.html,
doc/web/man/pump_1.html, man/distcc.1, man/include_server.1:
Regenerate the checked-in HTML for the man pages.
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.
2011-10-24 00:57 Fergus Henderson <opensource@google.com>
* man/distccd.1:
Apply a suggestion from Craig Silverstein: update the documentation
for the --whitelist option to make it clear that distcc will accept
connections *only* from users on the list.
2011-10-21 01:26 Fergus Henderson <opensource@google.com>
* popt/popthelp.c, src/dotd.c:
Fix a couple of compiler warnings.
Reviewed by Craig Silverstein.
2011-06-28 20:13 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Apply patch from Ihor Kaharlichenko <madkinder> to fix issue 81
<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.
2011-04-06 14:49 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Fix a syntax error in my last change.
2011-04-06 14:36 Fergus Henderson <opensource@google.com>
* Makefile.in:
Update Makefile.in for compatibility with autoconf >= 2.60.
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.
2011-04-06 14:35 Fergus Henderson <opensource@google.com>
* src/clinet.c, src/dotd.c, src/emaillog.c, src/hosts.c, src/mon.c,
src/netutil.c, src/serve.c, src/snprintf.c, src/snprintf.h,
src/srvnet.c, src/srvrpc.c, src/stats.c, src/trace.c, src/util.c:
Fix warnings about unused return values. This includes some code
changes
to do a better job of error checking.
2011-04-06 14:11 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Fix some issues that caused the gdb-related tests to fail:
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.
2011-04-06 14:09 Fergus Henderson <opensource@google.com>
* configure.ac:
Support Python 2.6.
Reviewed by Craig Silverstein.
2011-04-05 18:57 Fergus Henderson <opensource@google.com>
* src/hosts.c:
Fix indentation (layout changes only, no code changes).
2010-11-16 19:05 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Fix for <http://code.google.com/p/distcc/issues/detail?id=61>
"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.
2010-11-16 18:51 Fergus Henderson <opensource@google.com>
* man/include_server.1:
Fix error in manual: to disable fallback, set DISTCC_FALLBACK to 0 not
1.
Resolves <http://code.google.com/p/distcc/issues/detail?id=75>.
2010-10-08 19:33 Fergus Henderson <opensource@google.com>
* src/access.c:
Apply patch from Ian Kumlien <Ian.Kumlien@gmail.com>,
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.
2010-10-08 18:29 Fergus Henderson <opensource@google.com>
* src/clirpc.c, src/compile.c, src/remote.c, src/state.c, src/state.h,
src/where.c:
Apply patch from Jeremy Murphy <jeremy.william.murphy@gmail.com>,
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".
2010-09-10 22:09 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Fix failures of the Gdb_* test cases:
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.
2010-08-19 22:51 Fergus Henderson <opensource@google.com>
* src/access.c:
Some minor stylistic improvements:
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
2010-08-19 20:07 Fergus Henderson <opensource@google.com>
* src/daemon.c, src/daemon.h, src/serve.c:
Change directory back to the original server working directory after
each
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-19 19:23 Fergus Henderson <opensource@google.com>
* include_server/compiler_defaults.py, include_server/parse_command.py,
include_server/parse_command_test.py:
Apply --sysroot patch from Simon Baldwin <simonb@google.com>:
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.
2010-06-29 15:51 Fergus Henderson <opensource@google.com>
* src/fix_debug_info.c:
Trivial fix for slight mistake in distccd debug message.
Reviewed by Craig Silverstein.
2010-05-04 20:09 Fergus Henderson <opensource@google.com>
* src/serve.c, src/stats.c, src/stats.h, src/util.c, src/util.h:
Apply patch from Ryan Burns <rburns@pixar.com>:
add 1, 3, 5 minute averages of the number of children
used on a server to the statistics collected by the
stats server.
2010-05-04 19:52 Fergus Henderson <opensource@google.com>
* man/distcc.1, src/compile.c:
Apply patch from Ryan Burns <rburns@pixar.com>:
add an environment variable DISTCC_SKIP_LOCAL_RETRY for skipping
the local retry in case of a remote compilation failure.
2010-03-02 08:24 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Apply slightly cleaned up version of patch from perezdiez@gmail.com
to fix failure of PreprocessAsm_Case on ARM.
2010-03-02 08:13 Fergus Henderson <opensource@google.com>
* src/emaillog.c:
Apply patch from Akim Demaille <demaille@gostai.com>:
* src/emaillog.c (dcc_maybe_send_email): Pacify GCC's warnings
about format strings by getting rid of a useless temporary
string.
2010-03-02 08:10 Fergus Henderson <opensource@google.com>
* ChangeLog, src/hosts.c:
Apply patch from Akim Demaille <demaille@gostai.com>:
* 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.
2010-02-18 23:40 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Apply patch from madkinder: use #include rather than #import in C++
test case.
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.)
2010-02-18 23:33 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Change the PreprocessAsm_Case so that it reports NOTRUN
rather than PASS for systems where it is not run.
2010-02-10 03:31 Lei Zhang <opensource@google.com>
* man/distcc.1, src/daemon.c, src/distcc.h, src/io.c, src/pump.c,
src/sendfile.c:
Add support for $DISTCC_IO_TIMEOUT.
Reviewed by Fergus Henderson.
2009-12-30 04:25 Fergus Henderson <opensource@google.com>
* packaging/RedHat/init.d/distcc:
Apply patch from Tal <tal.bav@gmail.com>:
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.
2009-12-01 04:46 Fergus Henderson <opensource@google.com>
* Makefile.in:
Apply patch from <avassalotti@gmail.com>:
This is a simple patch that adds the standard TAGS target for Emacs
users.
2009-08-03 23:33 Lei Zhang <opensource@google.com>
* man/distcc.1, man/pump.1, pump.in, src/compile.c:
Make max_discrepancies_before_demotion configurable via
DISTCC_MAX_DISCREPANCY environment variable.
2009-07-24 17:30 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Pass "-c" to gcc for the Dotd_Case tests.
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.
2009-07-24 16:59 Fergus Henderson <opensource@google.com>
* man/distccd.1, src/auth.h, src/auth_common.c, src/auth_distcc.c,
src/auth_distccd.c, src/daemon.c, src/dopt.c, src/dopt.h,
src/dparent.c, src/dsignal.c:
Apply patch from Ian.Baker@cern.ch:
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.
2009-07-24 16:31 Fergus Henderson <opensource@google.com>
* Makefile.in, configure.ac, src/h_getline.c[ADD], src/util.c,
src/util.h, test/testdistcc.py:
Define a GNU-compatible getline() implementation,
in case we don't have getline() available.
Reviewed by Craig Silverstein.
2009-07-24 01:32 Fergus Henderson <opensource@google.com>
* src/h_parsemask.c:
Fix compile errors for "make check" caused by distcc-v6-acl-2.patch.
2009-07-23 02:16 Fergus Henderson <opensource@google.com>
* Makefile.in, configure.ac, man/distcc.1, man/distccd.1,
src/auth.h[ADD], src/auth_common.c[ADD], src/auth_distcc.c[ADD],
src/auth_distccd.c[ADD], src/clirpc.c, src/daemon.c, src/distcc.c,
src/dopt.c, src/dopt.h, src/dparent.c, src/dsignal.c, src/exitcode.h,
src/help.c, src/hosts.c, src/hosts.h, src/lock.c, src/remote.c,
src/serve.c:
Apply patch from Ian.Baker@cern.ch:
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".
2009-07-23 02:15 Fergus Henderson <opensource@google.com>
* doc/protocol-gssapi.txt[ADD]:
Apply patch from Ian.Baker@cern.ch:
Protocol Documentation for GSSAPI extension.
2009-07-22 21:39 Fergus Henderson <opensource@google.com>
* Makefile.in:
Add Makefile target "man-html" for rebuilding the (checked-in) HTML
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.
2009-07-22 17:29 Fergus Henderson <opensource@google.com>
* src/access.c, src/access.h, src/srvnet.c, src/zeroconf-reg.c:
Apply distcc-v6-acl-2.patch from Bob Ham <rah@bash.sh>:
- 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().
2009-07-22 17:22 Fergus Henderson <opensource@google.com>
* man/include_server.1:
Improve some slightly misleading documentation.
2009-06-30 21:37 Fergus Henderson <opensource@google.com>
* gnome/distccmon-gnome.desktop:
Swedish translation, from Nille <nille.kungen@gmail.com>.
2009-04-18 00:03 Fergus Henderson <opensource@google.com>
* Makefile.in:
Apply patch from Assar <assar@permabit.com>:
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.
2009-04-14 03:10 benizi
* src/zeroconf.c:
Remove duplicate hosts from the zeroconf list.
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.
2009-04-10 20:26 Fergus Henderson <opensource@google.com>
* src/exec.c:
(1) Layout/whitespace changes; the layout of this file
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
2009-04-10 19:26 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Fix a distcc test that was failing on modern kernels:
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.
2009-04-10 17:37 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
A fix for distcc issue 44 "Failed tests on make check (gentoo
gcc-4.3.3)"
<http://code.google.com/p/distcc/issues/detail?id=44>.
We were using an invalid signature for main(), and newer versions of
gcc
are stricter about checking this.
Reviewed by Craig Silverstein.
2009-03-06 13:55 IanRichardBaker
* src/include_server_if.c:
Fixed a portability issue that causes compilation to fail on 64 bit
boxes.
2009-02-17 23:10 Fergus Henderson <opensource@google.com>
* src/dotd.c, src/emaillog.c, src/include_server_if.c, src/lsdistcc.c,
src/rslave.c, src/stringmap.c, src/timeval.c:
Ensure that all ".c" files start with "#include <config.h>".
This will hopefully fix issue 39
<http://code.google.com/p/distcc/issues/detail?id=39>.
Some header files were using #if statements that depended on macros
defined in config.h
without #including config.h first. The result was a compilation error,
because
"#if !HAVE_DECL_SNPRINTF" was evaluating to true because config.h
hadn't been included,
causing us to declare snprintf() when we shouldn't, leading to a
conflict with the
declaration in the standard header files.
(The alternative solution would have been to add "#include <config.h>"
to every header file that uses '#if'. I decided not to do that, just
for consistency with the existing code.)
2009-02-17 23:10 Fergus Henderson <opensource@google.com>
* packaging/rpm.sh:
Fix a non-portability in rpm.sh:
use "trap ... HUP" rather than "trap ... SIGHUP".
The Posix.1 standard
<http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#trap>
says:
The condition can be EXIT, 0 (equivalent to EXIT), or a signal
specified
using a symbolic name, without the SIG prefix, as listed in the tables
of signal names in the <signal.h> header [...]; for example, HUP, INT,
QUIT, TERM. Implementations may permit names with the SIG prefix or
ignore case in signal names as an extension.
Previously, the code was relying on this optional extension.
2009-01-30 17:27 Fergus Henderson <opensource@google.com>
* include_server/macro_eval.py, include_server/parse_file.py,
test/testdistcc.py:
Fix issue 35 <http://code.google.com/p/distcc/issues/detail?id=35>.
This was a bug where the include server was crashing in certain cases
(when the argument to a macro ended in a backslash) due to an escaping
problem in the use of Python's re.sub() function. The fix was to
replace all occurrences of backslash in the replacement string
with double-backslash, which re.sub() will then translate back to
a single backslash. (I also changed the code to not bother using
re.compile() since we only use the regexp once.)
Also, fix a bug where we were not allowing backslashes in filenames.
I added regression tests for both of these bugs
(and I verified that they were true regression tests).
Reviewed by Craig Silverstein.
2009-01-26 23:50 Fergus Henderson <opensource@google.com>
* pump.in:
Handle failure of "mktemp" more gracefully in the pump script.
It was printing an error message, but then it would continue
on even if mktemp had failed (it called "exit 1", but only
in a subshell). It would then go on and try to start the
include server, which would end up hanging.
The fix is to make sure that we call "exit 1" from the main
shell whenever MakeTmpFile fails.
Reviewed by Craig Silverstein.
2009-01-22 05:33 adshea
* man/distcc.1, src/hosts.c, src/zeroconf.c:
IPv6 patch for Zeroconf and and IPv6 literals in hosts file.
* Still needs configure flag masking for IPv6 literals
* Needs some fix for zeroconf hosts that have both and IPv6 and IPv4
address
2009-01-20 22:22 Fergus Henderson <opensource@google.com>
* doc/web/index.html, doc/web/man/index.html[ADD]:
- Add pointer to the INSTALL file to the main page.
- Create an index.html in doc/web/man to make the
presentation of that page prettier.
Previously it was a rather ugly directory listing
of file names like "distcc_1.html", "distccd_1.html", etc.
- Add links to the INSTALL file and README* files
from that doc/web/man/index.html page.
Reviewed by Craig Silverstein.
2009-01-09 17:46 Fergus Henderson <opensource@google.com>
* doc/web/index.html:
Fix broken link to distccWebView.
2009-01-09 08:54 akim.demaille
* src/distcc.c:
"distcc --scan-includes" dumps core.
* src/distcc.c (main): Don't dump --help on the user on command
line error, rather, return the `Try --help' message on stderr.
Check that --scan-includes is given arguments.
2009-01-05 22:48 Fergus Henderson <opensource@google.com>
* src/distcc.c:
Document the --scan-includes option in the output of "distcc --help".
2009-01-05 20:29 Fergus Henderson <opensource@google.com>
* Makefile.in, pump.in:
Avoid using "echo -n", because it's not portable.
2009-01-05 20:18 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Portability fix: the CPlusPlus_SystemIncludeDirectories_Case
was assuming that /usr/include/sys/types.h exists, but was
not checking this assumption.
2008-12-22 22:21 Fergus Henderson <opensource@google.com>
* include_server/compiler_defaults.py:
Fix a bug where the SystemIncludeDirectories_Case test
was failing on systems where /tmp was a symlink.
This failure indicated a real bug: on such systems,
distcc was not correctly handling -I<dir> where
<dir> is a subdirectory of a system include directory,
e.g. -I/usr/include/foo.
The code was calling _RealPrefix(client_root + system_dir)
but was implicitly assuming that the answer would always
start with client_root. That is, it was implicitly assuming
that client_root did not contain any symlinks.
I changed the code to use
_RealPrefixWithinClientRoot(client_root, system_dir)
so that it would find the appropriate prefix of system_dir
rather than looking at the prefixes of client_root.
2008-12-22 21:56 Fergus Henderson <opensource@google.com>
* include_server/compiler_defaults.py:
When computing the compiler's default search path by parsing the
output
from "gcc -v", ignore Apple-modified MacOS gcc's "framework"
directories.
2008-12-10 20:22 Fergus Henderson <opensource@google.com>
* INSTALL:
Clarify installation instructions; in particular, if you have python
installed, you need to also have Python.h installed before building
distcc.
Reviewer: Craig Silverstein
2008-12-03 00:54 Fergus Henderson <opensource@google.com>
* include_server/setup.py:
Avoid a spurious message 'setup.py: PYTHON_CFLAGS must be defined.'
The top-level Makefile sets CFLAGS="$(CFLAGS) $(PYTHON_CFLAGS)"
before invoking setup.py, so there's no need for it to set
PYTHON_CFLAGS.
2008-12-02 21:49 Fergus Henderson <opensource@google.com>
* ChangeLog:
Update ChangeLog with some more changes for distcc 3.1.
2008-12-02 21:44 Fergus Henderson <opensource@google.com>
* Makefile.in, NEWS, configure.ac, include_server/setup.py:
1. Fix some compilation errors arising from the use of
-Wwrite-strings when compiling the python extension module,
due to lack of const correctness in the Python 2.2
"Python.h" header file.
This problem was introduced by the fix for distcc issue 26
<http://code.google.com/p/distcc/issues/detail?id=26>.
The solution was to explicitly disable these warnings
with -Wno-write-strings.
2. Centralize the use of gcc-specific compilation options
in conditional code in configure.ac that is only executed
if we're using gcc. Previously include_server/setup.py
was hard-coding gcc-specific options, regardless of
whether we're using gcc.
3. Don't use -Wuninitialized if CFLAGS doesn't contain "-O*",
because -Wuninitialized only works if optimization is enabled.
This avoids a gcc warning (and hence an error with -Werror)
about -Wuninitialized not having any effect
when distcc is configured with "CFLAGS=-g ./configure".
4. Add a new configure option "--disable-Werror".
For the 3.0 release of distcc, some people porting distcc
resorted to patching distcc to remove the -Werror option.
-Werror is useful, so I want to keep it enabled by default,
but I'd prefer that people are able to port distcc easily,
hence the configure option.
This addresses distcc issue 20
<http://code.google.com/p/distcc/issues/detail?id=20>.
Reviewers: Craig Silverstein
2008-12-01 23:44 Fergus Henderson <opensource@google.com>
* ChangeLog, NEWS, configure.ac:
Bump version number to 3.1, and update the NEWS file and ChangeLog.
Reviewed by Craig Silverstein.
2008-10-27 22:11 Fergus Henderson <opensource@google.com>
* Makefile.in:
Apply matsuu's patch to fix issue 26 "missing CFLAGS for
include-server"
<http://code.google.com/p/distcc/issues/detail?id=26>.
2008-10-27 14:38 Fergus Henderson <opensource@google.com>
* include_server/c_extensions/distcc_pump_c_extensions_module.c:
Applied matsuu's patch for issue 27 "failed to make distcc"
<http://code.google.com/p/distcc/issues/detail?id=27>,
which was a build problem on "Gentoo, x86-64, gcc-4.1.2,
glibc-2.6.1, python-2.5.2".
2008-10-27 14:17 Fergus Henderson <opensource@google.com>
* Makefile.in:
Include the "m4" directory in the source distribution tarball,
so that users of the source distribution can (re)run "autogen.sh".
Reviewers: Craig Silverstein
2008-10-05 16:43 Fergus Henderson <opensource@google.com>
* src/arg.c:
Fix a silly mistake (missing "== 0" after strcmp() call)
that broke the parsing of "-Wp,-MMD,..." options.
This fixes <http://code.google.com/p/distcc/issues/detail?id=22>.
2008-09-27 01:57 Fergus Henderson <opensource@google.com>
* include_server/test_data/gws-main.o.cmd[DEL]:
Delete an unused test data file; it became dead after my
previous change which deleted the test that used it.
2008-09-27 01:55 Fergus Henderson <opensource@google.com>
* include_server/parse_command_test.py:
Delete an unused test case: the test was hard-coded to always pass
anyway,
so it wasn't testing anything useful.
2008-09-13 17:23 Fergus Henderson <opensource@google.com>
* doc/web/man/distcc_1.html, man/distcc.1, src/exitcode.h:
Incorporate 01_distcc_man.dpatch from debian distribution.
This patch adds documentation of all of the exit codes to the man
page.
Also add comment to exitcode.h reminding maintainers to update the man
page.
Also update the HTML versions of the man pages.
2008-09-11 18:48 Fergus Henderson <opensource@google.com>
* NEWS, include_server/include_analyzer.py, man/distcc.1, src/clirpc.c,
src/compile.c, src/compile.h, src/distcc.c, src/distcc.h,
src/include_server_if.c, src/include_server_if.h, src/util.c,
test/testdistcc.py:
Provides a simple shell API to the include server:
add a new "--scan-includes" option to distcc which shows
which headers distcc would send to the remote machine in
pump mode, without actually compiling anything.
2008-09-10 02:39 Fergus Henderson <opensource@google.com>
* pump.in:
Fix <http://code.google.com/p/distcc/issues/detail?id=19>:
the pump script was hard-coding /etc/distcc/hosts rather
than using the prefix specified to configure.
Reviewed by Craig Silverstein.
2008-09-08 17:51 Fergus Henderson <opensource@google.com>
* Makefile.in, src/hosts.c:
Report a better error message if a host specification contains ",cpp"
but not ",lzo".
Previously, setting ",cpp" without ",lzo" would quietly set the
protocol
version to -1, which the server would then quietly reject (logging as
"REJ_BAD_REQ"), and then the client would guess (poorly) at why the
server had dropped the connection.
Reviewed by Craig Silverstein.
2008-08-07 22:58 Fergus Henderson <opensource@google.com>
* doc/web/man/distcc_1.html, doc/web/man/pump_1.html:
Update the HTML versions of the man pages.
2008-08-07 22:50 Fergus Henderson <opensource@google.com>
* doc/web/index.html:
Delete a duplicate link in the side-bar.
2008-08-06 20:37 Fergus Henderson <opensource@google.com>
* ChangeLog, NEWS, configure.ac:
Change version number to "3.0", and update NEWS file and ChangeLog.
2008-08-06 15:37 Fergus Henderson <opensource@google.com>
* man/distcc.1, man/pump.1:
Some final documentation updates before 3.0.
In the distcc man page:
- remove description of a bug that's been fixed now (distcc issue 7)
- make it a little clearer that in pump mode we don't ship the header
files from the default system header directories to the server
- add a new section header "RESTRICTIONS OF PUMP MODE"
- some typographical corrections.
In the pump man page:
- add a prominent pointer to the distcc man page,
in particular to the "RESTRICTIONS OF PUMP MODE" section.
Reviewers: Craig Silverstein
## distcc 3.0rc4.
2008-08-02 19:54 Fergus Henderson <opensource@google.com>
* ChangeLog, NEWS, configure.ac:
Time for another release candidate.
2008-08-02 19:49 Fergus Henderson <opensource@google.com>
* test/testdistcc.py:
Add C++ version of the SystemIncludeDirectories test.
Also, reduce code duplication a little by adding a compileOpts()
function to
the CompilationCase class, and overriding that, rather than
compileCmd(),
in various derived classes.
2008-08-02 17:50 Fergus Henderson <opensource@google.com>
* include_server/compiler_defaults.py:
Fix a TODO in compiler_defaults.py that was responsible for a bug
that broke pump mode when one of the default system include
directories
was a subdirectory of another, as turns out to be the case for GNU
C++.
The CPlusPlus_SystemIncludeDirectories_Case, which was failing before
this
change, now passes. (TODO: re-enable it.)
Reviewers: Craig Silverstein
2008-08-02 01:30 Fergus Henderson <opensource@google.com>
* bench/benchmark.py:
Make the benchmarking script's stdout and stderr line buffered.
Reviewers: Craig Silverstein
2008-08-02 01:27 Fergus Henderson <opensource@google.com>