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.
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
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"
State Changed From-To: open->closed Committed thanks.