LLVM 6.0 rebuild

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

LLVM 6.0 rebuild

arch dev mailing list
On Fri, Mar 16, 2018 at 6:20 AM, Arch Website Notification
<[hidden email]> wrote:

> The todo list "LLVM 6.0" has had the following packages added to it for which you are a maintainer:
>
>
> * community/crystal (x86_64) - https://www.archlinux.org/packages/community/x86_64/crystal/
>
> Todo list information:
> Name: LLVM 6.0
> URL: https://www.archlinux.org/todo/llvm-60/
> Creator: Evangelos Foutras
> Description:
> libLLVM-5.0.so -> libLLVM-6.0.so
> libclang.so.5 -> libclang.so.6
>
> In addition to the above soname changes, our clang package no longer ships
> static libraries. Instead, those are built as individual shared libraries
> (using CMake's BUILD_SHARED_LIBS flag).
>
> ** I'll add LLVM 5 packages once it's clear they are needed for software that
> hasn't been ported to LLVM 6 yet. Feel free to ping me on IRC for this. **


Hello Evangelos

I tried to rebuilt Crystal package with LLVM and hit a compilation issue

./bin/crystal build --release --no-debug -D i_know_what_im_doing -o
.build/crystal src/compiler/crystal.cr -D without_openssl -D
without_zlib
_main.o: In function
`*Crystal::Compiler#pass_manager_builder:LLVM::PassManagerBuilder':
main_module:(.text+0x52dc08): undefined reference to `LLVMInitializeInstCombine'
collect2: error: ld returned 1 exit status


That described here
https://github.com/crystal-lang/crystal/issues/5556 and it turns out
to be a LLVM bug https://bugs.llvm.org/show_bug.cgi?id=35947.

This LLVM bug is fixed in HEAD (https://reviews.llvm.org/D44140) and
should be released in 6.0.1. Or maybe we can pull it to the Arch
package?
Reply | Threaded
Open this post in threaded view
|

Re: LLVM 6.0 rebuild

arch dev mailing list
On 16/03/18 17:29, Anatol Pomozov via arch-dev-public wrote:
> This LLVM bug is fixed in HEAD (https://reviews.llvm.org/D44140) and
> should be released in 6.0.1. Or maybe we can pull it to the Arch
> package?
It will be included in llvm-6.0.0-4 shortly.