Summary: | net-libs/webkit-gtk-2.0.4 - ./DerivedSources/JavaScriptCore/LLIntAssembly.h:2548:33: error: 'Double2Ints' was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fernando (likewhoa) <email> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dschridde+gentoobugs, gnome, jeremyhu, myckel, rainer |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 378027 | ||
Attachments: |
build.log
Patch for upstream bug #112141 Patch for webkit-gtk-2.0.4.ebuild |
Description
Fernando (likewhoa)
2013-09-10 17:08:50 UTC
Created attachment 358424 [details]
build.log
needed to compress build.log to fit in attachment.
Setting the jit USE flag seems to prevent this bug. (In reply to Myckel Habets from comment #2) > Setting the jit USE flag seems to prevent this bug. You should not enable JIT on a hardened system because any process using webkit-gtk will be killed by a pax hardened kernel with an rwx mmap. Interestingly enough, this is an i686 bug. I was not able to hit it on amd64. Created attachment 367766 [details, diff] Patch for upstream bug #112141 Created attachment 367768 [details, diff]
Patch for webkit-gtk-2.0.4.ebuild
A discussion of this compile error on 32-bit arches can be found upstream at https://bugs.webkit.org/show_bug.cgi?id=112141 and there is a related chageset at http://trac.webkit.org/changeset/145551 In the attachments you will find a patch based on changeset 145551 and a patch for the ebuild. Since I am not a gentoo developer these should be scrutinized by the powers that be. The patch based on this changeset was tested on both ~x86 hardened and ~amd64 hardened and the ebuild built without errors and browsers based on webkit-gtk-2.0.4 (midori, epiphany) worked without problems when taking the acidtests at http://www.acidtests.org . Sorry for the noise, but only epiphany is currently using webkit-gtk:3 (and thus webkit-gtk-2.0.4), midori on my systems is still using webkit-gtk:2 . So the tests with midori are not relevant in this context. Should be fixed in 2.2.4 and 2.2.4-r200 confirmed that this work on both ~x86 and ~amd64 with or without the jit USE flag. |