Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 561872

Summary: dev-qt/qt-creator built with sys-devel/clang - LLVM Error: Cannot Select intrinsic %llvm.x86.sse41.pblendvb
Product: Gentoo Linux Reporter: jacob.neitling
Component: Current packagesAssignee: Davide Pesavento <pesa>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jacob.neitling, qt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge.txt
cpu info
emerge clang
emerge info clang
emerge info llvm
emerge info qtcreator
emerge llvm
emerge qtcreator
emerge -1 ignore default-opts -pvq llvm

Description jacob.neitling 2015-09-29 23:10:10 UTC
in trying to launch QT creator I recieve LLVM Error: Cannot Select intrinsic %llvm.x86.sse41.pblendvb
Comment 1 jacob.neitling 2015-09-29 23:12:32 UTC
Created attachment 413312 [details]
emerge.txt
Comment 2 jacob.neitling 2015-09-29 23:35:13 UTC
Created attachment 413314 [details]
cpu info
Comment 3 jacob.neitling 2015-09-29 23:35:41 UTC
Created attachment 413316 [details]
emerge clang
Comment 4 jacob.neitling 2015-09-29 23:36:05 UTC
Created attachment 413318 [details]
emerge info clang
Comment 5 jacob.neitling 2015-09-29 23:36:28 UTC
Created attachment 413320 [details]
emerge info llvm
Comment 6 jacob.neitling 2015-09-29 23:36:53 UTC
Created attachment 413322 [details]
emerge info qtcreator
Comment 7 jacob.neitling 2015-09-29 23:37:18 UTC
Created attachment 413324 [details]
emerge llvm
Comment 8 jacob.neitling 2015-09-29 23:37:37 UTC
Created attachment 413326 [details]
emerge qtcreator
Comment 9 jacob.neitling 2015-09-29 23:59:30 UTC
Created attachment 413328 [details]
emerge -1 ignore default-opts -pvq llvm
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2015-10-09 11:13:30 UTC
Does the error prevent QtCreator from starting?
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2015-10-11 13:33:57 UTC
According to https://bugs.archlinux.org/task/41886 and other similar reports, it could be a mesa issue.

You can also try to build without clang (USE=-clang) to check if the problem comes from qt-creator's clang engine or from mesa's llvm backend.
Comment 12 jacob.neitling 2015-10-12 20:01:27 UTC
(In reply to Davide Pesavento from comment #10)
> Does the error prevent QtCreator from starting?

Yes in the GUI i only see a breif flash of it attempting to launch then fail. in command line it just fails. giving me the error stated above
Comment 13 jacob.neitling 2015-10-12 20:02:09 UTC
(In reply to Davide Pesavento from comment #11)
> According to https://bugs.archlinux.org/task/41886 and other similar
> reports, it could be a mesa issue.
> 
> You can also try to build without clang (USE=-clang) to check if the problem
> comes from qt-creator's clang engine or from mesa's llvm backend.

I believe I did remove the --clang and it still failed.
Comment 14 Davide Pesavento (RETIRED) gentoo-dev 2015-10-12 22:36:49 UTC
Try to run qt-creator from the command line with the `-noload all` option. This will temporarily disable all plugins. Some plugins use opengl, and I suspect one of them is causing the crash in mesa/llvm.
Comment 15 Davide Pesavento (RETIRED) gentoo-dev 2015-12-19 14:32:58 UTC
(In reply to Davide Pesavento from comment #14)
> Try to run qt-creator from the command line with the `-noload all` option.
> This will temporarily disable all plugins. Some plugins use opengl, and I
> suspect one of them is causing the crash in mesa/llvm.

so?