pacman/scripts/libmakepkg/tidy
Eli Schwartz e176b8ec19 makepkg: squelch readelf warnings from debug stripping
readelf --debug-dump sometimes reports inscrutable warnings which don't
actually affect our extraction of source filenames. For example:

readelf: Warning: There is a hole [0xd3d - 0xd89] in .debug_loc section.

Now gcc 11 seems to have dramatically increased the number of warnings:

readelf: Warning: Corrupt offset (0x0000008e) in range entry 9
[...]
readelf: Warning: Corrupt offset (0x000010f0) in range entry 250

The resulting debuginfo created by the very same toolchain works fine,
as does the list of source filenames. But the warnings are quite
noisy... send them to /dev/null since they are not actionable in the
context of getting source files

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2021-05-19 19:05:34 +10:00
..
docs.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
emptydirs.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
libtool.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
purge.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
staticlibs.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
strip.sh.in makepkg: squelch readelf warnings from debug stripping 2021-05-19 19:05:34 +10:00
zipman.sh.in Update copyright year 2021-03-01 12:22:20 +10:00