Tested the ubuntu-proposed repo packages on an MTL system, with stock
kernel and no other repos configured.

Installed compute-stack packages and reproduced error

$ ocloc -device mtl -spirv_input -file ./a.spv
Compilation from IR - skipping loading of FCL
[0]: 
/lib/x86_64-linux-gnu/libocloc.so(_ZN16SafetyGuardLinux9sigActionEiP9siginfo_tPv+0x39)
 [0x7b6a966eddd9]
[1]: /lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x7b6a96245320]
[2]: /lib/x86_64-linux-gnu/libigc.so.1(+0x67e021) [0x7b6a9367e021]
[3]: /lib/x86_64-linux-gnu/libigc.so.1(+0x67ea00) [0x7b6a9367ea00]
[4]: /lib/x86_64-linux-gnu/libigc.so.1(+0x67ee6a) [0x7b6a9367ee6a]
[5]: 
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x980)
 [0x7b6a8d1ef680]
[6]: /lib/x86_64-linux-gnu/libigc.so.1(+0x3469b2) [0x7b6a933469b2]
[7]: /lib/x86_64-linux-gnu/libigc.so.1(+0x347146) [0x7b6a93347146]
[8]: /lib/x86_64-linux-gnu/libigc.so.1(+0x30d84b) [0x7b6a9330d84b]
[9]: /lib/x86_64-linux-gnu/libigc.so.1(+0x445465) [0x7b6a93445465]
[10]: /lib/x86_64-linux-gnu/libigc.so.1(+0x30f8f3) [0x7b6a9330f8f3]
[11]: /lib/x86_64-linux-gnu/libigc.so.1(+0x419ecc) [0x7b6a93419ecc]
[12]: /lib/x86_64-linux-gnu/libigc.so.1(+0x41b45c) [0x7b6a9341b45c]
[13]: 
/lib/x86_64-linux-gnu/libocloc.so(_ZN3NEO15OfflineCompiler15buildSourceCodeEv+0x750)
 [0x7b6a966ac940]
[14]: /lib/x86_64-linux-gnu/libocloc.so(_ZN3NEO15OfflineCompiler5buildEv+0x45) 
[0x7b6a966b05c5]
[15]: 
/lib/x86_64-linux-gnu/libocloc.so(_ZN16SafetyGuardLinux4callIiN3NEO15OfflineCompilerEMS2_FivEEET_PT0_T1_S5_+0x55)
 [0x7b6a966edef5]
[16]: 
/lib/x86_64-linux-gnu/libocloc.so(_Z20buildWithSafetyGuardPN3NEO15OfflineCompilerE+0xd0)
 [0x7b6a966edbf0]
[17]: 
/lib/x86_64-linux-gnu/libocloc.so(_ZN5Ocloc8Commands7compileEP14OclocArgHelperRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS9_EE+0x128)
 [0x7b6a966a2958]
[18]: /lib/x86_64-linux-gnu/libocloc.so(oclocInvoke+0x3ac) [0x7b6a9668d7bc]
[19]: ocloc(main+0x27) [0x60b834a8c787]
[20]: /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7b6a9622a1ca]
[21]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7b6a9622a28b]
[22]: ocloc(_start+0x25) [0x60b834a8c7b5]
Segmentation fault (core dumped


upgraded the igc pkgs from ubuntu-propsed and re-ran test command

$ ocloc -device mtl -spirv_input -file ./a.spv
Compilation from IR - skipping loading of FCL
Build succeeded

Issue is fixed!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085370

Title:
  Important build flag left out of IGC build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-graphics-compiler/+bug/2085370/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to