]> ruderich.org/simon Gitweb - blhc/blhc.git/blob - NEWS
Fix false positive in C++ compiler detection
[blhc/blhc.git] / NEWS
1 NEWS
2 ====
3
4 Version 0.xx
5 ------------
6
7 - Ignore another cargo/rust false positive; reported by Yogeswaran Umasankar
8   (see Debian Bug #1037521).
9 - Permit "no compiler commands" for cargo/rust projects.
10 - Fix false positive in C++ compiler detection; reported by Rafael Laboissière
11   (Debian Bug #1069576).
12
13 Version 0.14
14 ------------
15
16 - Update moc handling for Qt6; reported by Ben Westover, patch from Ross
17   Vandegrift (Debian bug #1019521).
18 - Support -D_FORTIFY_SOURCE=3 added in glibc 2.35; reported by Christian
19   Göttsche (Debian bug #1027084).
20 - Fix false positive when using `nvcc`; reported by Andreas Beckmann (Debian
21   Bug #1033027).
22 - Fix tests in sid/testing by removing avr32 which is no longer supported
23   (Debian Bug #1050942).
24 - Accept -g3 instead of -g which enables more debug information; reported in
25   IRC OFTC/#debian-mentors.
26 - Properly ignore cargo/rust output; reported by Alexander Kjäll via email.
27 - Fix another false positives from cmake which probes for compiler flags
28   without setting CPPFLAGS; reported by Marco Mattiolo and Soren Stoutner
29   (Debian Bugs #1043522 and #1054882).
30 - Check for stack clash protection (-fstack-clash-protection); requested by
31   Emanuele Rocca (Debian Bug #1050909).
32 - Check for branch protection (amd64: -fcf-protection, arm64:
33   -mbranch-protection=standard); requested by Emanuele Rocca (Debian Bug
34   #1050912).
35
36
37 Version 0.13
38 ------------
39
40 - Also split commands on && and || (not only on ;) to detect more false
41   negatives. This could also trigger more false positives.
42 - Fix false positive when calling make; reported by Fabian Wolff (Debian Bug
43   #975650).
44 - Fix false positives from cmake which probes for compiler flags without
45   setting CPPFLAGS; reported and suggested fix by Joao Eriberto Mota Filho
46   (Debian Bug #994422).
47 - Properly handle quoted flags; reported by Olek Wojnar (see Debian Bug
48   #975650 message 45).
49 - Strip (basic) environment variables before compiler detection to reduce
50   false positives; reported by Fabian Wolff (Debian Bug #975650).
51
52
53 Version 0.12
54 ------------
55
56 - Add support to dynamically ignore lines from within the build log by
57   embedding the string "blhc: ignore-line-regexp:" (Debian Bug #725484).
58 - Fix false positive for meson build; reported by Yangfl (Debian Bug #953335).
59 - Fix false positive with embedded gcc -print-* commands; reported by Andreas
60   Beckmann (Debian Bug #964160).
61 - Detect non-verbose commands in waf builds.
62
63
64 Version 0.11
65 ------------
66
67 - Fix false positive in `dwz` lines; reported by Raphaël Hertzog (Debian Bug
68   #948009).
69
70
71 Version 0.10
72 ------------
73
74 - Sync architecture specific hardening support with dpkg 1.19.7.
75 - Fix architecture detection with recent dpkg-buildpackage versions; reported
76   by Ross Vandegrift, patch from Mathieu Parent (Debian bug #929503).
77 - Fix false positive in non-verbose check for python setuptools; reported by
78   Simon McVittie (Debian Bug #930993).
79 - Fix special handling of format CFLAGS for Ada/Fortran with build logs not
80   generated pbuilder/sbuild (pbuilder and sbuild provide build dependencies
81   but other do not); reported by Christoph Berg and Rafael Laboissière (Debian
82   bug #924387).
83 - Fix false positive in non-verbose check for cython's .pyx files; reported by
84   Picca Frédéric-Emmanuel (Debian Bug #939632).
85 - Fix false positive in libtool detection when the path to the libtool binary
86   is quoted; Yves-Alexis reported by Perez (Debian Bug #941836).
87
88
89 Version 0.09
90 ------------
91
92 - Detect restore of -D_FORTIFY_SOURCE=2 after it was overwritten by
93   -D_FORTIFY_SOURCE=0 or 1 or -U_FORTIFY_SOURCE; reported by Mike Hommey
94   (Debian bug #898332).
95 - Detect overwrite of -fstack-protector options with -fno-stack-protector
96   (same for -fstack-protector-all and -fstack-protector-strong).
97 - Don't treat hexdumps which contain "cc" as compiler lines; reported by Kurt
98   Roeckx (Debian bug #899137).
99
100
101 Version 0.08
102 ------------
103
104 - Support new dpkg versions which replaced Dpkg::Arch's debarch_to_debtriplet
105   with debarch_to_debtuple (Debian Bug #844393), reported by Johannes Schauer.
106 - Support Open MPI mpicc/mpicxx compiler wrappers to prevent false positives
107   in non-verbose-build detection, reported by Boud Roukema and Nico Schlömer
108   (Debian Bug #853265).
109 - Add better support for Fortran (c.f. Debian Bug #853265).
110 - Don't report missing PIE flags in buildd mode if GCC defaults to PIE (c.f.
111   Debian Bug 845339).
112 - Add new --debian option to handle PIE flags like buildd mode, thanks to
113   Eriberto Mota for the suggestion. This is not enabled per default to prevent
114   false negatives as the flags are missing from the build log and blhc can't
115   detect if the compiler applied PIE internally (c.f. Debian Bug 845339).
116 - Add --line-numbers command line option
117 - Sync architecture specific hardening support with dpkg 1.19.0.5.
118 - Use proper look back for non-verbose detection if DEB_BUILD_OPTIONS=parallel
119   is present. Previously it was too small causing false-positives if the
120   option was detected.
121
122
123 Version 0.07
124 ------------
125
126 - Sync architecture specific hardening support with dpkg 1.18.10.
127 - Fix false positive in "gcc > file" (Debian Bug #828789), reported by Mathieu
128   Parent.
129 - Fix another Ada false positive for format flags (Debian Bug #833939),
130   reported by Nicolas Boulenguez.
131
132
133 Version 0.06
134 ------------
135
136 - Sync architecture specific hardening support with dpkg 1.18.7.
137 - Fix false positive in "libtool: link: g++ -include test.h .." (Debian Bug
138   #784959), reported by Raphaël Hertzog.
139 - Fix false positive with `gcc -v` (Debian Bug #765756), reported by Andreas
140   Beckmann.
141 - Fix false positive in `rm` lines (Debian Bug #772853), reported by Jakub
142   Wilk.
143 - Update t/tests.t for new output of Pod::Usage in 1.65 (Debian Bug #825428),
144   reported by Niko Tyni, patch by Gregor Herrmann.
145 - Fix false positives for comment lines (Debian Bug #825671), reported by
146   Fabian Wolff.
147 - Improve non-verbose detection for parallel builds (Debian Bug #801492),
148   reported by Mattia Rizzolo, initial patch by Julien Lamy.
149
150
151 Version 0.05
152 ------------
153
154 - Fix false positive in configure output if $CC contains options (Debian bug
155   #710135), reported by Bastien Roucariès.
156 - Handle another case of Qt's `moc` (Debian bug #710780), reported by Felix
157   Geyer.
158 - Fix detection of build dependencies for buildd logs (Debian bug #719656),
159   reported by Nicolas Boulenguez.
160 - Fix buildd architecture detection. Only relevant if the chroot setup fails
161   and dpkg-buildpackage is never run; therefore a minor issue.
162 - Fix false positive when "compiling" python files (Debian bugs #714630 and
163   #753080), reported by Matthias Klose, patch by James McCoy.
164 - Don't check for hardening flags in non-verbose compiler commands spanning
165   multiple lines.
166 - Better handling of libtool commands (Debug bug #717598), reported by Stefan
167   Fritsch.
168
169 - Sync architecture specific hardening support with dpkg 1.17.13.
170 - Check for -fstack-protector-strong on supported platforms (since dpkg
171   1.17.11) (Debian bug #757885), reported by Markus Koschany.
172 - Consider lines with -O0 or -Og debug builds and disable checks for -O2
173   (Debian bug #714628), reported by Matthias Klose. Also don't check for
174   fortification in those lines as it requires optimization (Debian bug
175   #757683), also reported by Matthias Klose.
176
177
178 Version 0.04
179 ------------
180
181 - Fix many false positives, this includes compiled header files, lines with
182   only CC=gcc but no other compiler commands and `moc-qt4`/`moc-qt5` commands.
183 - Accept -Wformat=2 because it implies -Wformat.
184 - Accept --param ssp-buffer-size=4 (space instead of equals sign).
185 - Fix build dependency related checks (Ada, hardening-wrapper) for pbuilder
186   build logs.
187 - Fix architecture detection in old buildd build logs which use an additional
188   "is" in the "dpkg-buildpackage: host architecture" field.
189
190 - Updated output in buildd mode.
191 - Only return non-zero exit codes for errors in buildd mode, not for warnings.
192 - Minor performance improvements.
193 - Support for Ada files.
194
195
196 Version 0.03
197 ------------
198
199 - Fix --ignore-flag with -fPIE.
200 - Detect overwrite of -D_FORTIFY_SOURCE=2 with -D_FORTIFY_SOURCE=0 or 1 or
201   -U_FORTIFY_SOURCE.
202
203 - Add --ignore-arch-flag and --ignore-arch-line options to ignore flags and
204   lines on certain architectures only.
205 - Buildd tags "no-compiler-commands" and "invalid-cmake-used" are now
206   information ('I-') instead of warning ('W-').
207 - Ignore false positives when using moc-qt4.
208
209
210 Version 0.02
211 ------------
212
213 - Fix --version, --help.
214
215 - Remove -Wformat-security from expected CFLAGS because it's already implied
216   by -Werror=format-security (removed in dpkg-dev >= 1.16.3).
217
218
219 Version 0.01
220 ------------
221
222 - Initial release.
223
224 // vim: ft=asciidoc