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

Bug 265579

Summary: strict aliasing patch for net-libs/webkit-gtk
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: [OLD] GCC PortingAssignee: Markus Ullmann (RETIRED) <jokey>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://trac.webkit.org/changeset/42262/trunk/JavaScriptCore/wtf/dtoa.cpp
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: webkit-gtk-0_p40220-gcc44-aliasing.patch
webkit-gtk-0_p42162-gcc44-aliasing.patch

Description Ryan Hill (RETIRED) gentoo-dev 2009-04-09 21:11:29 UTC
There's a strict-aliasing problem with dtoa.cpp used in many web browsers and javascript stuff.  This patch backported from upstream rev 42262 prevents text from being rendered gigantic in webkit when built with GCC 4.4.  This only needs to be applied if you don't think you'll be bumping to a later revision any time soon (before 4.4 is released) since it's been applied in the gcc-porting overlay.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-04-09 21:16:08 UTC
Created attachment 187824 [details]
webkit-gtk-0_p40220-gcc44-aliasing.patch
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-04-09 21:17:06 UTC
Created attachment 187828 [details, diff]
webkit-gtk-0_p42162-gcc44-aliasing.patch
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-07 22:13:08 UTC
+  07 May 2009; Peter Alfredsen <loki_val@gentoo.org>
+  webkit-gtk-0_p40220.ebuild, webkit-gtk-0_p42162.ebuild,
+  +files/webkit-gtk-0_p40220-gcc44-aliasing.patch,
+  +files/webkit-gtk-0_p42162-gcc44-aliasing.patch:
+  Fix strict aliasing bug with gcc-4.4, bug 265579. Those letters really are
+  huge. dirtyepic++ for backporting.
+