[llvm-dev] ABI change in LLVM 7.0.x release

Hans Wennborg via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 5 00:37:16 PST 2018

On Tue, Dec 4, 2018 at 7:43 PM Tom Stellard <tstellar at redhat.com> wrote:
> Hi,
> Fixing http://llvm.org/PR39427 in the release_70 branch, will change
> the ABI of a clang built libLLVM-7.so so that it is no longer compatible
> with the 7.0.0 release.  libLLVM-7.so built by gcc will not be affected
> by this fix.
> Changing the ABI is something we aren't supposed to do in stable releases,
> but this fixes an ABI difference between clang and gcc built
> libLLVM-7.so that is impacting many users, including Linux distributions,
> so an ABI change for clang only seems like the least bad solution in this case.
> I am proposing that we hold this fix out of 7.0.1 and instead ship it in
> a special 7.0.2 (or maybe 7.1.0 ?) release, so that users that want to
> are still able to get all the bug-fixes without the ABI changes.
> How does this sound to everyone?

I think this sounds reasonable. The important thing is that the fix
gets shipped, and if we do e.g. both 7.0.1 and 7.0.2 (I'm not sure
what version numbers would be best to use) that should hopefully serve
everyone well.


More information about the llvm-dev mailing list