Commit 79a6903
Describe a known build issue in README.md
When we build opencl-clang on Ubuntu 16.04 Xenial with pre-built LLVM and
pre-built SPIR-V library using GNU ld linker (binutils 2.26.1) we can see
segmentaion fault at linking. This is probably a bug in the linker.
The crash appears because '--gc-sections' linker option is added by
add_link_opts function in AddLLVM.cmake. Cmake doesn't use this option if
LLVM_NO_DEAD_STRIP is ON1 parent 9703e87 commit 79a6903
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
0 commit comments