lvc / abi-compliance-checker

A tool for checking backward API/ABI compatibility of a C/C++ library
https://lvc.github.io/abi-compliance-checker/
GNU Lesser General Public License v2.1
625 stars 78 forks source link

Warning about incompatible GCC version with GCC 4.8.4 #34

Closed v-lopez closed 8 years ago

v-lopez commented 8 years ago

I am execuing abi-compliance-checker from a Ubuntu 14.04 64b machine with GCC 4.8.4, but I get a warning about GCC 4.8.

I've looked at the source code, and afaik it should only affect versions between 4.8.0 and 4.8.2. The problem is that after the warning it sets EMERGENCY_MODE_48 to 1 and changes the behaviour of ACC.

Is it intended that version 4.8.4 is executed with EMERGENCY_MODE_48 enabled?

aponomarenko commented 8 years ago

Hello,

Thank you for reporting the issue.

The EMERGENCY_MODE_48 should not be set for gcc 4.8.4. Seems that this is a bug in the ACC.

Could you please post output of:

gcc -dumpmachine
aponomarenko commented 8 years ago

And also please post output of:

gcc -dumpversion
v-lopez commented 8 years ago

gcc -dumpmachine

x86_64-linux-gnu

gcc -dumpversion

4.8

gcc --version

gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

lvc commented 8 years ago

Fixed in the latest version. Please check.

Thank you.