Overview

Request 866842 accepted

- Use a stricter llvm requirement. Only relying on the llvm
soversion is still not enough. (kde#432078)

Loading...

Jan Engelhardt's avatar

Hol' up. If the SO number is not enough, then the SO number needs adjustment (or ELF symbol versions)!


Christophe Giboudeaux's avatar

@aaronpuchert


Aaron Puchert's avatar

Hmm, I can't find any relevant changes, although there have also been strange crashes in libbcc (boo#1181326).

There is a change in lldb/include/lldb/Core/ModuleList.h and lldb/include/lldb/Target/Platform.h that shouldn't have been allowed, but it shouldn't matter here, since we're not using liblldb.


Jan Engelhardt's avatar

You can use /usr/bin/abidiff x.so (or /usr/lib/debug/..../.so as applicable) to discover differences between two builds of the (supposedly) same file.


Aaron Puchert's avatar

I think the problem is that LLVM doesn't use -fvisibility=hidden, so there are a lot more visible symbols than would be considered part of the stable API. That's why I think the release manager looks at the headers in <subproject>/include only.

Unfortunately in this case he missed changes in a generated header, but we discussed this and I'm probably also going to be a bit more careful in the future.


Aaron Puchert's avatar

Nevermind, the ABI did change. Culprit is a commit that changed clang/include/clang/Basic/Attr.td, which added the line INHERITABLE_ATTR(Builtin) somewhere to the middle of /usr/include/clang/Basic/AttrList.inc, which is included in /usr/include/clang/Basic/AttrKinds.h into an enumeration.

I confirmed that libbcc is also running into ABI issues, so I'd suggest to not accept this change and let me try to revert that commit. The bug that it fixes doesn't seem severe enough to justify releasing a new sover.


Aaron Puchert's avatar

In sr#867167 is a fix that work for libbcc, perhaps you can try it for clazy.


Christophe Giboudeaux's avatar

I already checked that a clazy rebuild with llvm 11.0.1 fixed the crash.


Dominique Leuenberger's avatar

The isuse is that llvm is being fixed and the ABI will break again (revert to the previous ABI)


Aaron Puchert's avatar

The fix to llvm11 reached the latest snapshot, perhaps you can try if clazy works without rebuilding now.


Christophe Giboudeaux's avatar

the clazy package in factory has already been rebuilt after the abi change. This SR is still needed

Request History
Christophe Giboudeaux's avatar

cgiboudeaux created request

- Use a stricter llvm requirement. Only relying on the llvm
soversion is still not enough. (kde#432078)


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Dominique Leuenberger's avatar

dimstar_suse added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:105"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:105"


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:105 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:105 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:105 got accepted.

openSUSE Build Service is sponsored by