<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [OpenCL] const int in argument list crashes build"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100067#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [OpenCL] const int in argument list crashes build"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100067">bug 100067</a>
from <span class="vcard"><a class="email" href="mailto:mastner@hotmail.com" title="Mig <mastner@hotmail.com>"> <span class="fn">Mig</span></a>
</span></b>
<pre>Backtrace:
(gdb) run
Starting program:
/home/miguel/Dokumente/OpenCLExamples/myGEMM-master/extra/minimal
<span class="quote">>>> Initializing OpenCL...</span >
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffef7f8700 (LWP 3383)]
[New Thread 0x7fffeedf2700 (LWP 3384)]
[New Thread 0x7fffee5f1700 (LWP 3385)]
[New Thread 0x7fffeddf0700 (LWP 3386)]
[New Thread 0x7fffed5ef700 (LWP 3387)]
% Device: AMD TONGA (DRM 3.9.0 / 4.10.4-1-ARCH, LLVM 3.9.1), 2046.3 MiB memory,
max allocation 1432.4 MiB, driver 17.0.1
Thread 1 "minimal" received signal SIGSEGV, Segmentation fault.
0x00007ffff2b9eb18 in llvm::SIInstrInfo::getInstSizeInBytes(llvm::MachineInstr
const&) const () from /usr/lib/libLLVM-3.9.so
(gdb) bt
#0 0x00007ffff2b9eb18 in
llvm::SIInstrInfo::getInstSizeInBytes(llvm::MachineInstr const&) const () from
/usr/lib/libLLVM-3.9.so
#1 0x00007ffff2b33551 in
llvm::AMDGPUAsmPrinter::getSIProgramInfo(llvm::AMDGPUAsmPrinter::SIProgramInfo&,
llvm::MachineFunction const&) const ()
from /usr/lib/libLLVM-3.9.so
#2 0x00007ffff2b365ba in
llvm::AMDGPUAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) () from
/usr/lib/libLLVM-3.9.so
#3 0x00007ffff1e2d1d1 in
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) () from
/usr/lib/libLLVM-3.9.so
#4 0x00007ffff1cc57c2 in llvm::FPPassManager::runOnFunction(llvm::Function&)
() from /usr/lib/libLLVM-3.9.so
#5 0x00007ffff1cc5b4b in llvm::FPPassManager::runOnModule(llvm::Module&) ()
from /usr/lib/libLLVM-3.9.so
#6 0x00007ffff1cc5e74 in llvm::legacy::PassManagerImpl::run(llvm::Module&) ()
from /usr/lib/libLLVM-3.9.so
#7 0x00007ffff4cc6743 in ?? () from /usr/lib/libMesaOpenCL.so.1
#8 0x00007ffff4cc6d60 in ?? () from /usr/lib/libMesaOpenCL.so.1
#9 0x00007ffff4cc311e in ?? () from /usr/lib/libMesaOpenCL.so.1
#10 0x00007ffff4cb4af9 in ?? () from /usr/lib/libMesaOpenCL.so.1
#11 0x00007ffff4c929cc in ?? () from /usr/lib/libMesaOpenCL.so.1
#12 0x00007ffff7bc650b in clBuildProgram () from /usr/lib/libOpenCL.so.1
#13 0x0000000000401190 in main (argc=1, argv=0x7fffffffe618) at minimal.cpp:113
(gdb)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>