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