Bug#999474: llvm-13: segmentation fault (and corrupted stack) while compiling some OpenCL kernel with pocl on i386

Andreas Beckmann anbe at debian.org
Thu Nov 11 17:19:02 GMT 2021


On 11/11/2021 16.31, Sylvestre Ledru wrote:
> It seems to be an upstream issue, isn't it?
> 
> If so, please report it upstream.

How do I make a useful bug report upstream if the compiler is used as a 
library (that was probably not clearly mentioned in my initial report) 
and I have no clue what code it is going to compile or what options are 
used to do so.
Can I somehow make llvm dump its state s.t. I can try to reproduce the 
error by invoking the compiler on the command line?
Is there some way to trace all calls into the compiler library to be 
able to replay (and maybe reduce) them to reproduce the error condition?

For the actual test case I only know that clBuildProgram() (from 
libOpenCL.so.1) does not return. That calls into (dlopened) libpocl.so.2 
and that calls into the llvm compiler library.

Andreas



More information about the Pkg-llvm-team mailing list