Bug 147725

Summary: [patch] powerpc64 support for www/webkit-gtk2
Product: Ports & Packages Reporter: Nathan Whitehorn <nwhitehorn>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
webkit-gtk2.diff none

Description Nathan Whitehorn freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 2010-06-14 09:18:44 UTC
State Changed
From-To: open->closed

Committed thanks.