Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590058 - dev-qt: unmask USE=jit on x32 profiles
Summary: dev-qt: unmask USE=jit on x32 profiles
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2016-07-30 08:27 UTC by Dainius Masiliūnas
Modified: 2016-11-22 20:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dainius Masiliūnas 2016-07-30 08:27:15 UTC
At the moment, the jit USE flag is masked in the x32 profile for dev-qt/qtwebkit, dev-qt/qtscript and dev-qt/qtdeclarative, citing that it does not work. That is true for qtwebkit, however, it's not true for qtscript and qtdeclarative, as I compiled them on my x32 machine without issues.

Conversely, USE=jit does not work in spidermonkey (tested 17 and earlier), so that could be masked instead. Also, dev-lang/luajit does not work on x32 either, as per bug #498784.
Comment 1 Davide Pesavento gentoo-dev 2016-07-31 05:55:47 UTC
are you talking about qt4 or qt5?
Comment 2 Davide Pesavento gentoo-dev 2016-07-31 05:58:03 UTC
(In reply to Dainius Masiliūnas from comment #0)
> Conversely, USE=jit does not work in spidermonkey (tested 17 and earlier),
> so that could be masked instead. Also, dev-lang/luajit does not work on x32
> either, as per bug #498784.

You should file separate bugs for these two packages.
Comment 3 Dainius Masiliūnas 2016-07-31 08:27:11 UTC
(In reply to Davide Pesavento from comment #1)
> are you talking about qt4 or qt5?

I tested both, with the exception of qtwebkit:5 (testing that right now). Everything built correctly aside from qtwebkit:4 so far.

(In reply to Davide Pesavento from comment #2)
> You should file separate bugs for these two packages.

For masking, or in general? There's already bug #498784, for one.
Comment 4 Dainius Masiliūnas 2016-07-31 13:25:45 UTC
Just finished building qtwebkit:5, and it succeeded fine. So the only one that is still failing is in fact qtwebkit:4.
Comment 5 Davide Pesavento gentoo-dev 2016-08-12 06:48:18 UTC
Ok, they build fine. Do they also run without crashing?
Comment 6 Dainius Masiliūnas 2016-08-12 07:49:32 UTC
Well, I'm running lxqt, and it hasn't crashed once; I'm not sure how much it makes use of qtscript or qtdeclarative, though. I don't have a testcase for the qt4 versions yet. I can test qt5webkit on QupZilla, haven't tried yet.
Comment 7 Dainius Masiliūnas 2016-08-17 09:37:12 UTC
I couldn't test it on QupZilla, since it very mysteriously crashed with SIGBUS when the qt5 version is used (but it's not related to jit, it does that even without jit anywhere). So instead I tried Otter, and it works perfectly well (in fact, it's incredibly smooth and responsive).

So yes, qtwebkit:5 and qtscript:5 +jit works fine. I don't know good testcases for the qt4 versions of them, or for qtdeclarative.
Comment 8 Davide Pesavento gentoo-dev 2016-08-19 00:43:50 UTC
Hold on, now I remember why the flag is masked... Those packages may even build and run on x32, but the JIT engine is *not* actually enabled there, even with USE="jit"! At least last time I checked there was some rather heavy #ifdef magic that enabled the JIT engine only on those CPU+OS combinations that were known to work, and x32 was not among them. The situation *may* have changed in Qt5 (it's possible that x32 JIT support was introduced later), but I doubt anything was done for Qt4.

So, unless you can confirm that things have changed and the JIT engine is now enabled by the internal build logic, I'm not going to unmask the flag.
Comment 9 Davide Pesavento gentoo-dev 2016-09-11 13:45:57 UTC
I checked qtdeclarative, 5.8 branch, and the JIT is not available on x32. qtscript is deprecated and qtwebkit development has stopped, so I don't expect any support there either.
Closing.