Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396313 - net-libs/webkit-gtk: Mask jit USE flag on sparc profile
Summary: net-libs/webkit-gtk: Mask jit USE flag on sparc profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-28 14:51 UTC by Dustin Polke
Modified: 2012-01-09 04:42 UTC (History)
1 user (show)

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 Dustin Polke 2011-12-28 14:51:23 UTC
There is no JIT support for sparc, see configure output:

checking whether to enable JIT compilation... no  (CPU 'sparc' not supported)

Thus, jit USE flag does not make sense on sparc profile, even if it is turned on, JIT compilation is not enabled. It should be masked to not satisfy wrongly USE deps (I haven't checked whether there are any in the tree).
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-28 22:29:49 UTC
Sure, seems reasonable.

@prefix, webkit-gtk's jsc JIT should presumably work on any x86- or amd64-based prefix installation on freebsd, linux, or osx. Is there a clean way of unmasking webkit-gtk[jit] for all such x86- or amd64-based profiles where webkit-gtk is currently keyworded? (Of course one could add a package.use.mask file with "net-libs/webkit-gtk -jit" to every single profiles/prefix/bsd/freebsd/*/x64, profiles/prefix/bsd/freebsd/*/x86, profiles/prefix/darwin/macos/*/x86 etc. directory, but I am hoping that there is a less ugly solution.)
Comment 2 Fabian Groffen gentoo-dev 2011-12-29 08:08:09 UTC
We don't have arch separations (or any multiple inheritance, but for the linux profiles which inherit from the non-prefix ones), so I'm affraid the "ugly" way is the only way to go.
Comment 3 Fabian Groffen gentoo-dev 2011-12-30 16:23:31 UTC
there is prefix/darwin/macos/arch/x86 and prefix/sunos/solaris/arch/x86 now
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-01-09 04:42:54 UTC
(In reply to comment #3)
> there is prefix/darwin/macos/arch/x86 and prefix/sunos/solaris/arch/x86 now

Thanks, that makes things much easier!

The bug is now fixed: USE="jit" is masked for webkit-gtk in base profile, and unmasked for amd64, arm, x86, x86-fbsd, as well as the x86- and x64/amd64-based freebsd, macos, and linux prefix profiles.