Closed mgierlings closed 1 year ago
I'm not sure what if anything we should do about these. It seems like it is just notifying us that ABI is changing? Presumably due to this bug mentioned in https://gcc.gnu.org/gcc-7/changes.html
On ARM targets (arm--*), a bug introduced in GCC 5 that affects conformance to the procedure call standard (AAPCS) has been fixed. The bug affects some C++ code where class objects are passed by value to functions and could result in incorrect or inconsistent code being generated. This is an ABI change. If the option -Wpsabi is enabled (on by default) the compiler will emit a diagnostic note for code that might be affected.
Probably we can not do super much about this. However this is something to keep in mind. If someone compiles an application with gcc >= 7.1 against a version of botan that has been compiled with gcc < 7.1 things will blow up (the other way around as well).
I assume that most Linux distributions will compile everything with the same compiler version, however user ppa's could become a problem, as well as binary packages not maintained by the distribution. I'm posting this mainly for 2 reasons:
Closing as not actionable, but we can always point someone at this discussion if the issue arises
When compiling botan with gcc 6.3 on ARM the compiler outputs quite some warnings about imminent ABI breakage. Here an example (there are more of these warnings)