Skip to content

Instantly share code, notes, and snippets.

@Gnimuc
Created September 21, 2018 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gnimuc/f726f7f2ae8185f256723784b34756ac to your computer and use it in GitHub Desktop.
Save Gnimuc/f726f7f2ae8185f256723784b34756ac to your computer and use it in GitHub Desktop.

master

with this patch

-LLVM_@LLVM_VERSION_MAJOR@.@LLVM_VERSION_MINOR@ { global: *; };
+JLBB_LLVM_@LLVM_VERSION_MAJOR@.@LLVM_VERSION_MINOR@ { global: *; };

and disabling WebAssembly

# Also target Wasm because Javascript is the Platform Of The Future (TM)
# CMAKE_FLAGS="${CMAKE_FLAGS} -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD:STRING=\"WebAssembly\""

output:

make release
julia build_tarballs.jl
[ Info: Building for x86_64-linux-musl
[ Info: Building for x86_64-linux-gnu
==5891==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
Warning: lib/clang/6.0.1/lib/linux/libclang_rt.asan-x86_64.so cannot be dlopen()'ed

cannot open libclang.so:

julia> using Libdl

julia> clang = Libdl.dlopen_e("./libclang.so")
Ptr{Nothing} @0x0000000000000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment