git head (f48b4f6766fcaa193652fcbe6ea0bb29f92e45aa): (gdb) run Starting program: /home/rnpalmer/Debian/builds/stackbuild/a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". built 0 stringInput.cl:11:11: warning: SKIP is not defined, will define it to 1. Tests may crash on large fields. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff3f6d3a5 in llvm::Use::set(llvm::Value*) () from /home/rnpalmer/Debian/builds/stackbuild/beignet/build/backend/src/libgbe.so (gdb) bt full #0 0x00007ffff3f6d3a5 in llvm::Use::set(llvm::Value*) () from /home/rnpalmer/Debian/builds/stackbuild/beignet/build/backend/src/libgbe.so No symbol table info available. #1 0x00007ffff4ae8481 in llvm::BinaryOperator::BinaryOperator(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*) () from /home/rnpalmer/Debian/builds/stackbuild/beignet/build/backend/src/libgbe.so No symbol table info available. #2 0x00007ffff4ae8587 in llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*) () from /home/rnpalmer/Debian/builds/stackbuild/beignet/build/backend/src/libgbe.so No symbol table info available. #3 0x00007ffff3c8c07b in llvm::IRBuilder >::CreateInsertNUWNSWBinOp (HasNSW=false, HasNUW=false, Name=..., RHS=, LHS=, Opc=llvm::Instruction::Mul, this=) at /usr/lib/llvm-3.5/include/llvm/IR/IRBuilder.h:615 BO = #4 llvm::IRBuilder >::CreateMul (HasNSW=false, HasNUW=false, Name=..., RHS=, ---Type to continue, or q to quit--- LHS=, this=) at /usr/lib/llvm-3.5/include/llvm/IR/IRBuilder.h:682 HasNSW = false HasNUW = false RHS = LHS = this = Name = @0x7fffffffd310: {LHS = {twine = 0x0, cString = 0x0, stdString = 0x0, stringRef = 0x0, character = 0 '\000', decUI = 0, decI = 0, decUL = 0x0, decL = 0x0, decULL = 0x0, decLL = 0x0, uHex = 0x0}, RHS = {twine = 0xffffffffffffffff, cString = 0xffffffffffffffff , stdString = 0xffffffffffffffff, stringRef = 0xffffffffffffffff, character = -1 '\377', decUI = 4294967295, decI = -1, decUL = 0xffffffffffffffff, decL = 0xffffffffffffffff, decULL = 0xffffffffffffffff, decLL = 0xffffffffffffffff, uHex = 0xffffffffffffffff}, LHSKind = 1 '\001', RHSKind = 1 '\001'} #5 gbe::PrintfParser::generateOnePrintfInstruction (this=this@entry=0x8c6c90, pInfo=...) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/llvm/llvm_printf_parser.cpp:391 op0 = 0x0 ---Type to continue, or q to quit--- val = 0x0 i = data_addr = printf_inst = 0x7fffffffd340 #6 0x00007ffff3c8d82f in gbe::PrintfParser::runOnFunction (this=0x8c6c90, F=...) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/llvm/llvm_printf_parser.cpp:724 pInfo = {call = 0x8822e0, printf_fmt = 0x88cb20} __for_range = std::vector of length 24, capacity 32 = {{ call = 0x8822e0, printf_fmt = 0x88cb20}, {call = 0xaf6d60, printf_fmt = 0xc1bcf0}, {call = 0xae1450, printf_fmt = 0x88e340}, { call = 0xa3d570, printf_fmt = 0x6de6e0}, {call = 0xaebb00, printf_fmt = 0x88d010}, {call = 0x8b7490, printf_fmt = 0xa2db00}, { call = 0xaf33f0, printf_fmt = 0x88cb80}, {call = 0x675f68, printf_fmt = 0xafac60}, {call = 0xafdb60, printf_fmt = 0x96d960}, { call = 0x6de760, printf_fmt = 0x8c54b0}, {call = 0xc8fec8, printf_fmt = 0x6de510}, {call = 0xc957d0, printf_fmt = 0xc944a0}, { call = 0xae1350, printf_fmt = 0xa2e4b0}, {call = 0x674908, printf_fmt = 0xc918b0}, {call = 0x6749e8, printf_fmt = 0x88c9d0}, { call = 0xa3ca20, printf_fmt = 0xaedca0}, {call = 0xaf7900, printf_fmt = 0x88ca00}, {call = 0xa7a2c0, printf_fmt = 0x88ce50}, { call = 0x674cb0, printf_fmt = 0x88ce80}, {call = 0xafe398, ---Type to continue, or q to quit--- printf_fmt = 0x88ca60}, {call = 0x6d4418, printf_fmt = 0x88ca90}, { call = 0x6d44b0, printf_fmt = 0x972d50}, {call = 0x6ada80, printf_fmt = 0x973220}, {call = 0xaeb818, printf_fmt = 0x9731f0}} bKernel = gFun = gFun2 = hasPrintf = __PRETTY_FUNCTION__ = "virtual bool gbe::PrintfParser::runOnFunction(llvm::Function&)" infoVect = std::vector of length 24, capacity 32 = {{call = 0x8822e0, printf_fmt = 0x88cb20}, {call = 0xaf6d60, printf_fmt = 0xc1bcf0}, { call = 0xae1450, printf_fmt = 0x88e340}, {call = 0xa3d570, printf_fmt = 0x6de6e0}, {call = 0xaebb00, printf_fmt = 0x88d010}, { call = 0x8b7490, printf_fmt = 0xa2db00}, {call = 0xaf33f0, printf_fmt = 0x88cb80}, {call = 0x675f68, printf_fmt = 0xafac60}, { call = 0xafdb60, printf_fmt = 0x96d960}, {call = 0x6de760, printf_fmt = 0x8c54b0}, {call = 0xc8fec8, printf_fmt = 0x6de510}, { call = 0xc957d0, printf_fmt = 0xc944a0}, {call = 0xae1350, printf_fmt = 0xa2e4b0}, {call = 0x674908, printf_fmt = 0xc918b0}, { call = 0x6749e8, printf_fmt = 0x88c9d0}, {call = 0xa3ca20, printf_fmt = 0xaedca0}, {call = 0xaf7900, printf_fmt = 0x88ca00}, { call = 0xa7a2c0, printf_fmt = 0x88ce50}, {call = 0x674cb0, printf_fmt = 0x88ce80}, {call = 0xafe398, printf_fmt = 0x88ca60}, { ---Type to continue, or q to quit--- call = 0x6d4418, printf_fmt = 0x88ca90}, {call = 0x6d44b0, printf_fmt = 0x972d50}, {call = 0x6ada80, printf_fmt = 0x973220}, { call = 0xaeb818, printf_fmt = 0x9731f0}} #7 0x00007ffff4afded7 in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /home/rnpalmer/Debian/builds/stackbuild/beignet/build/backend/src/libgbe.so No symbol table info available. #8 0x00007ffff49119ae in (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) () from /home/rnpalmer/Debian/builds/stackbuild/beignet/build/backend/src/libgbe.so No symbol table info available. #9 0x00007ffff4afdb64 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /home/rnpalmer/Debian/builds/stackbuild/beignet/build/backend/src/libgbe.so No symbol table info available. #10 0x00007ffff3cafc2e in gbe::llvmToGen (unit=..., fileName=fileName@entry=0x0, module=module@entry=0xa44750, optLevel=optLevel@entry=1, strictMath=) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/llvm/llvm_to_gen.cpp:308 errInfo = "" ---Type to continue, or q to quit--- o = std::unique_ptr containing 0x0 Err = {SM = 0x0, Loc = {Ptr = 0x0}, Filename = "", LineNo = 0, ColumnNo = 0, Kind = llvm::SourceMgr::DK_Error, Message = "", LineContents = "", Ranges = std::vector of length 0, capacity 0, FixIts = {> = {> = {> = { = {BeginX = 0x7fffffffdd30, EndX = 0x7fffffffdd30, CapacityX = 0x7fffffffddf0}, FirstEl = {> = { buffer = "\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\300\336\377\377\377\177\000\000\060\304\251\000\000\000\000\000\060\304\251\000\000\000\000\000\270\350\022\365\377\177\000"}, }}, }, }, Storage = {InlineElts = { {> = { buffer = "`\023m\000\000\000\000\000\250\350\022\365\377\177\000\000\300\336\377\377\377\177\000\000iY\213\364\377\177\000\000\060\304\247\000\000\000\000\000\024\003\000\000\000\000\000"}, }, {> = { buffer = "\000\b\000\000\000\000\000\000PG\244\000\000\000\000\000\270\350\022\365\377\177\000\000\001", '\000' , "\374\377\377\377\377\377\377\377"}, }, {> = { buffer = "\000\000\000\000\000\000\000\000\300\336\377\377\3---Type to continue, or q to quit--- 77\177\000\000\270\350\022\365\377\177\000\000\001", '\000' , "\370\377\377\377\377\377\377\377"}, }}}}} cl_mod = M = std::unique_ptr containing 0x6c3680 DL = {LittleEndian = true, StackNaturalAlign = 0, ManglingMode = llvm::DataLayout::MM_None, LegalIntWidths = {> = {> = {> = { = {BeginX = 0x7fffffffdb38, EndX = 0x7fffffffdb38, CapacityX = 0x7fffffffdb40}, FirstEl = {> = { buffer = "\340"}, }}, }, }, Storage = {InlineElts = { {> = { buffer = "\334"}, }, {> = { buffer = "\377"}, }, {> = { buffer = "\377"}, }, {> = { buffer = "\001"}, }, {> = { buffer = ""}, }, ---Type to continue, or q to quit--- {> = { buffer = ""}, }, {> = { buffer = ""}, }}}}, Alignments = {> = {> = {> = { = { BeginX = 0x95cec0, EndX = 0x95cf68, CapacityX = 0x95cfc0}, FirstEl = {> = { buffer = "P1l\000\000\000\000"}, }}, }, }, Storage = {InlineElts = { {> = { buffer = "\240G\244\000\000\000\000"}, }, {> = { buffer = "\320\063l\000\000\000\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000"}, }, {> = { buffer = "5\021\260\364\377\177\000"}, }, {> = { buffer = "\362\063l\000\000\000\000"}, }, {> = { buffer = "\230\310\250\000\000\000\000"}, },---Type to continue, or q to quit--- {> = { buffer = "Pj\245\000\000\000\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000"}, }, {> = { buffer = "\300\033\256\000\000\000\000"}, }, {> = { buffer = "\024I\213\364\377\177\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000"}, }, {> = { buffer = "\340\334\377\377\377\177\000"}, }, {> = { buffer = "\bG\244\000\000\000\000"}, }, {> = { buffer = "\250\350\022\365\377\177\000"}, }, {> = { buffer = "\240\350\241\000\000\000\000"}, }}}}, Pointers = {> = {> = {> = { = { BeginX = 0x7fffffffdbf0, EndX = 0x7fffffffdc00, ---Type to continue, or q to quit--- CapacityX = 0x7fffffffdc70}, FirstEl = {> = { buffer = "\004\000\000\000\004\000\000\000\004\000\000\000\000\000\000"}, }}, }, }, Storage = {InlineElts = {{> = { buffer = "HG\244\000\000\000\000\000\bG\244\000\000\000\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000\000@\350\241\000\000\000\000"}, }, {> = { buffer = "\200\334\377\377\377\177\000\000\025\000\000\000\000\000\000"}, }, {> = { buffer = "PG\244\000\000\000\000\000\336U\336\367\377\177\000"}, }, {> = { buffer = "\270\334\377\377\377\177\000\000\200\334\377\377\377\177\000"}, }, {> = { buffer = "(-=\367\377\177\000\000\200}=\367\377\177\000"}, }, {> = { buffer = "\003", '\000' }, }}}}, static InvalidAlignmentElem = {AlignType = 0, TypeBitWidth = 0, ABIAlign = 0, PrefAlign = 0}, static InvalidPointerElem = { ABIAlign = 0, PrefAlign = 0, TypeByteWidth = 0, AddressSpace = 4294967295}, LayoutMap = 0x0} TargetTriple = {Data = "spir", Arch = llvm::Triple::spir, ---Type to continue, or q to quit--- SubArch = llvm::Triple::NoSubArch, Vendor = llvm::Triple::UnknownVendor, OS = llvm::Triple::UnknownOS, Environment = llvm::Triple::UnknownEnvironment, ObjectFormat = llvm::Triple::ELF} libraryInfo = 0xaf6f60 passes = iter = #11 0x00007ffff3c35651 in gbe::Program::buildFromLLVMFile ( this=this@entry=0xae7d20, fileName=fileName@entry=0x0, module=0xa44750, error="", optLevel=optLevel@entry=1) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/backend/program.cpp:124 unit = 0x6d12e0 cloned_module = 0x6d1360 #12 0x00007ffff3d2bdbf in gbe::genProgramBuildFromLLVM (program=0xae7d20, stringSize=1000, err=0xae5b50 "", errSize=0xafb270, options=) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/backend/gen_program.cpp:443 error = "" optLevel = 1 p = 0xae7d20 module = ---Type to continue, or q to quit--- #13 0x00007ffff778bbb4 in cl_program_link (context=, num_input_programs=, input_programs=, options=, errcode_ret=errcode_ret@entry=0x7fffffffdf8c) at /home/rnpalmer/Debian/builds/stackbuild/beignet/src/cl_program.c:679 p = 0xafb1e0 err = 0 i = copyed = 0 ret = 0 avialable_program = 0 #14 0x00007ffff7783741 in clLinkProgram (context=, num_devices=, device_list=, options=, num_input_programs=, input_programs=, pfn_notify=0x0, user_data=0x0, errcode_ret=0x0) at /home/rnpalmer/Debian/builds/stackbuild/beignet/src/cl_api.c:1022 err = 0 program = 0x0 #15 0x0000000000400fc1 in main (argc=1, argv=0x7fffffffe158) at opencl_test.c:36 platform = 0x7ffff79d08c0 device = 0x7ffff79d3c80 status = 0 ---Type to continue, or q to quit--- ret = 2 ctx = 0x67faa0 queue = 0x6d85d0 program = 0x6a7f40 program2 = 0x100000000 kernel = 0x4011ed <__libc_csu_init+77> buffer = 0x7ffff73df1a8 kernel_finished = 0x7ffff7de9e17 f = 0x6683d0 n = 3 test_data = "\003\a\005" kernel_source = 0x659180 "#define ffwidth 16\n#define SETUP __private size_t i __attribute__((aligned)) = 0; \\\n __private size_t j __attribute__((aligned)) = 0; \\\n\\\n __private const size_t maxf __attribute__((aligned)) = ((1 "... build_log = 0x667fd0 "stringInput.cl:11:11: warning: SKIP is not defined, will define it to 1. Tests may crash on large fields.\n" (gdb) (gdb) git head, after a few changes unsuccessfully trying to get debug symbols (everything says it was built with -g, and libllvm3.5-dbg is installed): (gdb) run Starting program: /home/rnpalmer/Debian/builds/stackbuild/a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". built 0 stringInput.cl:11:11: warning: SKIP is not defined, will define it to 1. Tests may crash on large fields. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff4b0af28 in llvm::IntegerType::get(llvm::LLVMContext&, unsigned int) () from /home/test1/lib/beignet//libgbe.so (gdb) bt full #0 0x00007ffff4b0af28 in llvm::IntegerType::get(llvm::LLVMContext&, unsigned int) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #1 0x00007ffff4a59beb in llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #2 0x00007ffff4a59e2b in llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #3 0x00007ffff4a5f9bf in llvm::ConstantInt::get(llvm::Type*, unsigned long, bool) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #4 0x00007ffff4868f8a in llvm::InstCombiner::visitMul(llvm::BinaryOperator&) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #5 0x00007ffff481f475 in llvm::InstCombiner::DoOneIteration(llvm::Function&, unsigned int) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #6 0x00007ffff481ff45 in llvm::InstCombiner::runOnFunction(llvm::Function&) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #7 0x00007ffff4afeed7 in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /home/test1/lib/beignet//libgbe.so ---Type to continue, or q to quit--- No symbol table info available. #8 0x00007ffff49129ae in (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #9 0x00007ffff4afeb64 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /home/test1/lib/beignet//libgbe.so No symbol table info available. #10 0x00007ffff3cb0c2e in gbe::llvmToGen (unit=..., fileName=fileName@entry=0x0, module=module@entry=0xc1bbc0, optLevel=optLevel@entry=1, strictMath=) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/llvm/llvm_to_gen.cpp:308 errInfo = "" o = std::unique_ptr containing 0x0 Err = {SM = 0x0, Loc = {Ptr = 0x0}, Filename = "", LineNo = 0, ColumnNo = 0, Kind = llvm::SourceMgr::DK_Error, Message = "", LineContents = "", Ranges = std::vector of length 0, capacity 0, FixIts = {> = {> = {> = { = {BeginX = 0x7fffffffe050, EndX = 0x7fffffffe050, CapacityX = 0x7fffffffe110}, FirstEl = {> = { buffer = "\000\000\000\000\000\000\000\000\001\000\000\000---Type to continue, or q to quit--- \000\000\000\000\340\341\377\377\377\177\000\000`\r\255\000\000\000\000\000`\r\255\000\000\000\000\000\270\370\022\365\377\177\000"}, }}, }, }, Storage = {InlineElts = { {> = { buffer = "\000Xi\000\000\000\000\000\250\370\022\365\377\177\000\000\340\341\377\377\377\177\000\000ii\213\364\377\177\000\000`\r\253\000\000\000\000\000\024\003\000\000\000\000\000"}, }, {> = { buffer = "\000\b\000\000\000\000\000\000\300\273\301\000\000\000\000\000\270\370\022\365\377\177\000\000\001", '\000' , "\374\377\377\377\377\377\377\377"}, }, {> = { buffer = "\000\000\000\000\000\000\000\000\340\341\377\377\377\177\000\000\270\370\022\365\377\177\000\000\001", '\000' , "\370\377\377\377\377\377\377\377"}, }}}}} cl_mod = M = std::unique_ptr containing 0x6a4540 DL = {LittleEndian = true, StackNaturalAlign = 0, ManglingMode = llvm::DataLayout::MM_None, LegalIntWidths = {> = {> = {> = { = {BeginX = 0x7fffffffde58, EndX = 0x7fffffffde58, CapacityX = 0x7fffffffde60}, ---Type to continue, or q to quit--- FirstEl = {> = { buffer = ""}, }}, }, }, Storage = {InlineElts = {{> = { buffer = "\340"}, }, {> = { buffer = "\377"}, }, {> = { buffer = "\377"}, }, {> = { buffer = "\001"}, }, {> = { buffer = ""}, }, {> = { buffer = ""}, }, {> = { buffer = ""}, }}}}, Alignments = {> = {> = {> = { = { BeginX = 0xadb340, EndX = 0xadb3e8, CapacityX = 0xadb440}, FirstEl = {> = { buffer = "\020\066\256\000\000\000\000"}, }}, }, }, Storage = {InlineElts = { ---Type to continue, or q to quit--- {> = { buffer = "\020\274\301\000\000\000\000"}, }, {> = { buffer = "`Dj\000\000\000\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000"}, }, {> = { buffer = "5!\260\364\377\177\000"}, }, {> = { buffer = "\202Dj\000\000\000\000"}, }, {> = { buffer = "\310\334\254\000\000\000\000"}, }, {> = { buffer = "\000x\241\000\000\000\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000"}, }, {> = { buffer = "\300\363\255\000\000\000\000"}, }, {> = { buffer = "\024Y\213\364\377\177\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000"}, }, {> = { ---Type to continue, or q to quit--- buffer = "\000\340\377\377\377\177\000"}, }, {> = { buffer = "x\273\301\000\000\000\000"}, }, {> = { buffer = "\250\370\022\365\377\177\000"}, }, {> = { buffer = "\000\270k\000\000\000\000"}, }}}}, Pointers = {> = {> = {> = { = { BeginX = 0x7fffffffdf10, EndX = 0x7fffffffdf20, CapacityX = 0x7fffffffdf90}, FirstEl = {> = { buffer = "\004\000\000\000\004\000\000\000\004\000\000\000\000\000\000"}, }}, }, }, Storage = {InlineElts = {{> = { buffer = "\270\273\301\000\000\000\000\000x\273\301\000\000\000\000"}, }, {> = { buffer = "\001\000\000\000\000\000\000\000\240\267k\000\000\000\000"}, }, {> = { buffer = "\240\337\377\377\377\177\000\000\025\000\000\000\000\000\000"}, }, {> = { ---Type to continue, or q to quit--- buffer = "\300\273\301\000\000\000\000\000\336U\336\367\377\177\000"}, }, {> = { buffer = "\330\337\377\377\377\177\000\000\240\337\377\377\377\177\000"}, }, {> = { buffer = "(==\367\377\177\000\000\200\215=\367\377\177\000"}, }, {> = { buffer = "\003", '\000' }, }}}}, static InvalidAlignmentElem = {AlignType = 0, TypeBitWidth = 0, ABIAlign = 0, PrefAlign = 0}, static InvalidPointerElem = { ABIAlign = 0, PrefAlign = 0, TypeByteWidth = 0, AddressSpace = 4294967295}, LayoutMap = 0x0} TargetTriple = {Data = "spir", Arch = llvm::Triple::spir, SubArch = llvm::Triple::NoSubArch, Vendor = llvm::Triple::UnknownVendor, OS = llvm::Triple::UnknownOS, Environment = llvm::Triple::UnknownEnvironment, ObjectFormat = llvm::Triple::ELF} libraryInfo = 0x6bf4a0 passes = iter = #11 0x00007ffff3c36651 in gbe::Program::buildFromLLVMFile ( this=this@entry=0x676ff0, fileName=fileName@entry=0x0, module=0xc1bbc0, error="", optLevel=optLevel@entry=1) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/backend/progr---Type to continue, or q to quit--- am.cpp:124 unit = 0xadf690 cloned_module = 0x695800 #12 0x00007ffff3d2cdbf in gbe::genProgramBuildFromLLVM (program=0x676ff0, stringSize=1000, err=0x6dd9b0 "", errSize=0x69aa18, options=) at /home/rnpalmer/Debian/builds/stackbuild/beignet/backend/src/backend/gen_program.cpp:443 error = "" optLevel = 1 p = 0x676ff0 module = #13 0x00007ffff778c0f1 in cl_program_link (context=, num_input_programs=, input_programs=, options=, errcode_ret=errcode_ret@entry=0x7fffffffe2ac) at /home/rnpalmer/Debian/builds/stackbuild/beignet/src/cl_program.c:679 p = 0x69a990 err = 0 i = copyed = 0 ret = 0 avialable_program = 0 #14 0x00007ffff7783d20 in clLinkProgram (context=, ---Type to continue, or q to quit--- num_devices=, device_list=, options=, num_input_programs=, input_programs=, pfn_notify=0x0, user_data=0x0, errcode_ret=0x0) at /home/rnpalmer/Debian/builds/stackbuild/beignet/src/cl_api.c:1022 err = 0 program = 0x0 #15 0x0000000000400fc1 in main (argc=1, argv=0x7fffffffe478) at opencl_test.c:46 platform = 0x7ffff79d1380 device = 0x7ffff79d45a0 status = 0 ret = 2 ctx = 0xa46ac0 queue = 0x6d40c0 program = 0x6b8390 program2 = 0x100000000 kernel = 0x4011ed <__libc_csu_init+77> buffer = 0x7ffff73e01a8 kernel_finished = 0x7ffff7de9e17 f = 0x6681e0 n = 3 test_data = "\003\a\005" ---Type to continue, or q to quit--- kernel_source = 0x658f90 "#define ffwidth 16\n#define SETUP __private size_t i __attribute__((aligned)) = 0; \\\n __private size_t j __attribute__((aligned)) = 0; \\\n\\\n __private const size_t maxf __attribute__((aligned)) = ((1 "... build_log = 0x667de0 "stringInput.cl:11:11: warning: SKIP is not defined, will define it to 1. Tests may crash on large fields.\n" (gdb) quit 1.1 without PrintfSlot fix: (gdb) run Starting program: /home/rnpalmer/Debian/builds/stackbuild/a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Failed to release test userptr object! (9) i915 kernel driver may not be sane! Failed to release test userptr object! (9) i915 kernel driver may not be sane! Failed to release test userptr object! (9) i915 kernel driver may not be sane! built 0 /tmp/UGeVwW.cl:11:11: warning: SKIP is not defined, will define it to 1. Tests may crash on large fields. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff24fdcc5 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 (gdb) bt full #0 0x00007ffff24fdcc5 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #1 0x00007ffff2699fb1 in llvm::BinaryOperator::BinaryOperator(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #2 0x00007ffff269a0b7 in llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #3 0x00007ffff407bc7e in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #4 0x00007ffff407d46f in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #5 0x00007ffff26b06c7 in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #6 0x00007ffff292a94e in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #7 0x00007ffff26b0354 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 ---Type to continue, or q to quit--- No symbol table info available. #8 0x00007ffff409fdc2 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #9 0x00007ffff4025551 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #10 0x00007ffff411b27f in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #11 0x00007ffff6db8097 in cl_program_link () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so No symbol table info available. #12 0x00007ffff6dafa5c in clLinkProgram () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so No symbol table info available. #13 0x0000000000400f51 in main (argc=1, argv=0x7fffffffe4a8) at opencl_test.c:36 platform = 0x7ffff6ffd000 device = 0x7ffff7000220 status = 0 ret = 2 ctx = 0xaf8290 ---Type to continue, or q to quit--- queue = 0xa64240 program = 0xb0b2e0 program2 = 0x0 kernel = 0x40117d <__libc_csu_init+77> buffer = 0x7ffff74321a8 kernel_finished = 0x7ffff79d6a37 f = 0x611290 n = 3 test_data = "\003\a\005" kernel_source = 0x602040 "#define ffwidth 16\n#define SETUP __private size_t i __attribute__((aligned)) = 0; \\\n __private size_t j __attribute__((aligned)) = 0; \\\n\\\n __private const size_t maxf __attribute__((aligned)) = ((1 "... build_log = 0x610e90 "/tmp/UGeVwW.cl:11:11: warning: SKIP is not defined, will define it to 1. Tests may crash on large fields.\n" (gdb) quit 1.1 with PrintfSlot fix: (gdb) run Starting program: /home/rnpalmer/Debian/builds/stackbuild/a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Failed to release test userptr object! (9) i915 kernel driver may not be sane! Failed to release test userptr object! (9) i915 kernel driver may not be sane! Failed to release test userptr object! (9) i915 kernel driver may not be sane! built 0 /tmp/6BNhTJ.cl:11:11: warning: SKIP is not defined, will define it to 1. Tests may crash on large fields. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff24fdcc5 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 (gdb) bt full #0 0x00007ffff24fdcc5 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #1 0x00007ffff2699fb1 in llvm::BinaryOperator::BinaryOperator(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #2 0x00007ffff269a0b7 in llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #3 0x00007ffff407caee in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #4 0x00007ffff407e2df in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #5 0x00007ffff26b06c7 in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #6 0x00007ffff292a94e in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 No symbol table info available. #7 0x00007ffff26b0354 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1 ---Type to continue, or q to quit--- No symbol table info available. #8 0x00007ffff40a0aa2 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #9 0x00007ffff4026391 in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #10 0x00007ffff411bf5f in ?? () from /usr/lib/x86_64-linux-gnu/beignet//libgbe.so No symbol table info available. #11 0x00007ffff6db8097 in cl_program_link () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so No symbol table info available. #12 0x00007ffff6dafa5c in clLinkProgram () from /usr/lib/x86_64-linux-gnu/beignet//libcl.so No symbol table info available. #13 0x0000000000400f51 in main (argc=1, argv=0x7fffffffe4a8) at opencl_test.c:36 platform = 0x7ffff6ffd000 device = 0x7ffff7000220 status = 0 ret = 2 ctx = 0xaf8290 ---Type to continue, or q to quit---q