Bug#898004: llvm-toolchain-6.0: patch to solve error on undefined symbol: LLVMInitializeInstCombine

Daniel Stender debian at danielstender.com
Sat May 5 17:35:26 BST 2018


Package: llvm-toolchain-6.0
Version: 1:6.0-3
Severity: wishlist

Hi Sylvestre,

I don't know what you're plans are on bringing llvm 6.0.1 into unstable (where this has
been solved), but maybe you would like to add this patch [1] into the 6.0 package in the
meanwhile. With is we can upgrade llvmlite to 0.23.0 into unstable [2].

If you don't want to for whatever reason, please just discard this bug report.

Best,
Daniel Stender

[1] https://reviews.llvm.org/D44140

[2] https://alioth-lists.debian.net/pipermail/pkg-llvm-team/2018-May/008047.html

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
Description: Add missing header for InstructionCombining.cpp, in order to export
 LLVMInitializeInstCombine as extern "C"
Origin: https://reviews.llvm.org/rL326843
Bug: https://bugs.llvm.org/show_bug.cgi?id=35947

--- a/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -34,6 +34,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "InstCombineInternal.h"
+#include "llvm-c/Initialization.h"
 #include "llvm/ADT/APInt.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/DenseMap.h"


More information about the Pkg-llvm-team mailing list