Debian Patches

Status for abi-compliance-checker/2.3-2

Patch Description Author Forwarded Bugs Origin Last update
bug798481.patch make the generated .abi.tar.gz files reproducible
===================================================================
Chris Lamb <lamby@debian.org> not-needed debian
typos.patch Fix typos reported by lintian
===================================================================
Mathieu Malaterre <malat@debian.org> no
oom-exec-helper.patch Run packing commands in a subprocess On low-memory VMs (such as autopkgtest runners at scale), a-c-c can OOM when
trying to launch a subprocess towards the end of the run due to the main
process's memory usage being >= 50% of available system memory. Since
freeing memory for no-longer-needed variables is non-trivial in perl, just
address this by creating a subprocess for handling any system() calls late
in the process.

===================================================================
Steve Langasek <steve.langasek@ubuntu.com> no
fpic-for-arm64.patch require -fPIC on arm64 in addition to x86_64 and arm With gcc-8, a-c-c now fails to build its test cases with a relocation error
on arm64. Add arm64 to the list of archs where we require -fPIC.

===================================================================
Steve Langasek <steve.langasek@ubuntu.com> no
0659b3b0a23e3535f41c6fd8dee5255ad8e29f7e.patch [PATCH] add statx to list of ignored functions
statx (like stat, wait, flock, sysinfo) is both the name of a function:

/usr/include/bits/statx-generic.h:int statx (int __dirfd, const char *__restrict __path, int __flags,
/usr/include/bits/statx-generic.h: unsigned int __mask, struct statx *__restrict __buf)

and a struct:

/usr/include/linux/stat.h:struct statx {
...
/usr/include/linux/stat.h:};

Typically `statx` always denotes the function and `struct statx` denotes the struct.

When usage of the struct is encountered in C++ code, abi-compliance-checker generates this line in dump1.h:

statx* tmp_add_class_66;

which fails to compile:

/tmp/qktDQcucCm/dump1.h:103:3: error: 'statx' does not name a type
statx* tmp_add_class_66;
^~~~~

Ideally abi-compliance-checker should instead generate this in dump1.h:

struct statx* tmp_add_class_66;

but determining when the `struct` qualifier should/shouldn't be used seems non-trivial, so lets take the same approach as we do for other similarly overloaded names.
Kier Davis <me@kierdavis.com> no 2021-09-13
consistent-C-flags.patch use consistent flags to GCC when doing two passes When using the -cxx-incompatible option, a-c-c runs gcc in two passes,
a preprocessor pass and a compilation pass, with a step in between to try
to fix up C code to be C++-compatible. However, a-c-c passes -U__cplusplus
during the compilation pass but *not* to the preprocessor pass, which can
result in the detection of C code to fail. Pass the preprocessor instruction
to the preprocessor pass where it belongs!

===================================================================
Steve Langasek <steve.langasek@ubuntu.com> no 2023-02-03

All known versions for source package 'abi-compliance-checker'

Links