ROCm / ROCm-OpenCL-Driver

ROCm OpenCL Compiler Tool Driver
MIT License
24 stars 9 forks source link

[in-process] Using statically linked lld leads to segmentation fault #19

Closed emankov closed 7 years ago

emankov commented 7 years ago

Using function lld::elf::link() leads to segmentation fault on second call. First call finishes correctly and tests are passed.

emankov commented 7 years ago

Fixed by rL314108:

[ELF][fix] Using statically linked lld leads to segmentation fault on linking ELF

[Synopsys] Using function elf::link(...) leads to segmentation fault on its second call. First call finishes correctly. [Solution] Clear the rest of globals.

Reviewed by: George Rimar and Rui Ueyama