[Bug 1139584] New: LLVM8: inconsistent configuration exposed between cmake and llvm-config
http://bugzilla.opensuse.org/show_bug.cgi?id=1139584 Bug ID: 1139584 Summary: LLVM8: inconsistent configuration exposed between cmake and llvm-config Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- This issue surfaced while I tried upgrading meson to version 0.51.0 - where a new LLVM test suite has been added The test validates that it makes no difference by what means one would interact with llvm, i.e be it by querying llvm-config or using cmake. Sadly, only openSUSE. said test fails with: [ 621s] meson.build:41:4: ERROR: Assert failed: RTTI information for cmake and config tools disagree And indeed, when inspecting the internas, one gets:
llvm-config --has-rtti YES
grep RTTI /usr/lib64/cmake/llvm/LLVMConfig.cmake set(LLVM_ENABLE_RTTI OFF)
So in this case it would actually make a difference to the consumer if they were to use cmake or llvm-config to detect what capabilities our LLVM8 provides. Certainly that is not meant to be like this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139584 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |aaronpuchert@alice-dsl.net |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139584 http://bugzilla.opensuse.org/show_bug.cgi?id=1139584#c1 Aaron Puchert <aaronpuchert@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #1 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- You're right, something's amiss. We aren't using the documented flag LLVM_ENABLE_RTTI (https://llvm.org/docs/CMake.html), but the internal LLVM_REQUIRES_RTTI. I'll see if we can use the official flag instead. This probably also applies to llvm6 and llvm7. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139584 http://bugzilla.opensuse.org/show_bug.cgi?id=1139584#c2 --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> --- That's indeed the same I was finding while looking more into it. I had already done a branch of llvm8 with the change to get the meson test suite progress - and this worked. So I created request id 712348 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139584 http://bugzilla.opensuse.org/show_bug.cgi?id=1139584#c3 --- Comment #3 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- Changes are on the way to Factory in https://build.opensuse.org/request/show/712392. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139584 http://bugzilla.opensuse.org/show_bug.cgi?id=1139584#c4 Aaron Puchert <aaronpuchert@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #4 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- Change got accepted, contained in snapshot 20190701. I would refrain from backporting to older versions of llvm for now, please reopen if you need that. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1139584 http://bugzilla.opensuse.org/show_bug.cgi?id=1139584#c10 --- Comment #10 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1139584) was mentioned in https://build.opensuse.org/request/show/932377 Backports:SLE-15-SP3 / llvm12 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com