Bug 147725 - [patch] powerpc64 support for www/webkit-gtk2
Summary: [patch] powerpc64 support for www/webkit-gtk2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 16:00 UTC by Nathan Whitehorn
Modified: 2010-06-14 09:20 UTC (History)
0 users

See Also:


Attachments
webkit-gtk2.diff (419 bytes, patch)
2010-06-09 16:00 UTC, Nathan Whitehorn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Whitehorn freebsd_committer 2010-06-09 16:00:15 UTC
The powerpc64 ABI uses a table of contents structure holding a maximum of
65,000 elements per library, which GTK2-webkit overflows by default. Binutils
2.15 is incapable of rectifying this with several default optimizations
turned on, resulting in webkit failing to link on this platform.

Fix: The attached patch reduces the size of the TOC to fit within its bounds by
adding -mminimal-toc to CFLAGS on powerpc64.
Comment 1 Edwin Groothuis freebsd_committer 2010-06-09 16:00:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-06-14 09:18:33 UTC
kwm         2010-06-14 08:18:20 UTC

  FreeBSD ports repository

  Modified files:
    www/webkit-gtk2      Makefile 
  Log:
  Fix build on powerpc64.
  
  The powerpc64 ABI uses a table of contents structure holding a maximum of
  65,000 elements per library, which GTK2-webkit overflows by default. Binutils
  2.15 is incapable of rectifying this with several default optimizations turned
  on, resulting in webkit failing to link on this platform.
  
  Reduce the size of the TOC to fit within its bounds by adding -mminimal-toc
  to cflags on powerpc64.
  
  PR:             ports/147725
  Submitted by:   nwhitehorn@
  
  Revision  Changes    Path
  1.27      +4 -0      ports/www/webkit-gtk2/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Koop Mast freebsd_committer 2010-06-14 09:18:44 UTC
State Changed
From-To: open->closed

Committed thanks.