Bug#852746: [Pkg-opencl-devel] Bug#852746: beignet+mesa-opencl-icd crash if installed together

2017-03-08 Thread Rebecca N. Palmer
Control: tags -1 - patch Control: tags -1 upstream Control: reassign -1 libllvm3.9 The real bug here is that libllvm is a shared library with global state, and that loading it twice from the same application (the process of checking which OpenCL driver works on the available hardware involves

Bug#852746: beignet+mesa-opencl-icd crash if installed together

2017-02-20 Thread Andreas Beckmann
Control: retitle -1 beignet+mesa-opencl-icd crash if installed together and linked dynamically against LLVM Control: severity -1 important On 2017-02-18 23:11, Rebecca N. Palmer wrote: > Statically linking to LLVM (see attached) fixes this bug, but I'm not > sure yet whether we want to do that.

Bug#852746: beignet+mesa-opencl-icd crash if installed together

2017-02-19 Thread Ivan Baldo
All OpenCL ICDs with shared LLVM are useless if they can't be used in real programs, so my opinion for whats its worth is that they link statically with LLVM until the issue is resolved in another way allowing shared LLVM (probably Stretch+1 material). Of course this is just my opinion

Bug#852746: beignet+mesa-opencl-icd crash if installed together

2017-02-18 Thread Rebecca N. Palmer
Control: tags -1 patch Statically linking to LLVM (see attached) fixes this bug, but I'm not sure yet whether we want to do that. diff --git a/debian/control b/debian/control index cb2623c..a04fa1e 100644 --- a/debian/control +++ b/debian/control @@ -26,7 +26,10 @@ Build-Depends: libxext-dev,

Bug#852746: beignet+mesa-opencl-icd crash if installed together

2017-02-12 Thread Rebecca N. Palmer
Control: forwarded -1 https://bugs.llvm.org/show_bug.cgi?id=30587 (They actually found it independently, but it's clearly the same bug.) They don't have a fix for this one; they do have fixes for https://bugs.llvm.org/show_bug.cgi?id=31571 / https://bugs.llvm.org/show_bug.cgi?id=28127 (similar

Bug#852746: beignet+mesa-opencl-icd crash if installed together

2017-01-27 Thread Rebecca N. Palmer
This bug goes away on rebuilding beignet with LLVM 3.8 (but that isn't a good solution as it can trigger #848368, and also disables some of beignet's functionality). Debug backtraces show mesa-opencl-icd being loaded first, and the crash happening when beignet-opencl-icd is loaded, suggesting

Bug#852746: [Pkg-opencl-devel] Bug#852746: beignet+mesa-opencl-icd crash if installed together

2017-01-26 Thread Rebecca N. Palmer
Control: retitle -1 beignet+mesa-opencl-icd crash if installed together The lack of hardware isn't the trigger - having beignet-opencl-icd and mesa-opencl-icd installed at the same time is. (beignet+pocl or mesa+pocl is OK.) Looks like some kind of "seeing the other ICD's copy of libllvm ins