Bug 42070 - [GTK] [Stable] >=webkit-1.2.1 does not compile on ppc64
Summary: [GTK] [Stable] >=webkit-1.2.1 does not compile on ppc64
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh PowerPC Linux
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-07-12 05:19 PDT by Pacho Ramos
Modified: 2014-04-08 18:37 PDT (History)
2 users (show)

See Also:

build.log.tar.xz (26.71 KB, application/octet-stream)
2010-07-12 05:19 PDT, Pacho Ramos
no flags Details
build log for 1.3.9 (21.54 KB, application/x-xz)
2011-01-06 03:02 PST, Kacper Kowalik
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos 2010-07-12 05:19:22 PDT
Created attachment 61210 [details]

Due the following TOC error:

  CXXLD  TestNetscapePlugin/libtestnetscapeplugin.la
  CXXLD  libJavaScriptCore.la
  CXXLD  Programs/jsc
  CCLD   Programs/minidom
  CXXLD  libwebkit-1.0.la
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/../../../../powerpc64-unknown-linux-gnu/bin/ld: WebCore/svg/.libs/libwebkit_1_0_la-SVGAnimateMotionElement.o(.text+0x1394): sibling call optimization to `WebCore::RenderObject::markContainingBlocksForLayout(bool, WebCore::RenderObject*)' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `WebCore::RenderObject::markContainingBlocksForLayout(bool, WebCore::RenderObject*)' extern
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/../../../../powerpc64-unknown-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libwebkit-1.0.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.2.1/work/webkit-1.2.1'
make: *** [all] Error 2

This is upstreamed from:

Comment 1 Kacper Kowalik 2011-01-06 03:02:52 PST
Created attachment 78103 [details]
build log for 1.3.9

Same failure with more recent webkit
Comment 2 Pacho Ramos 2011-01-08 05:20:06 PST
For now, -mminimal-toc needs to be passed as CFLAGS to workaround this
Comment 3 Martin Robinson 2014-04-08 18:37:07 PDT
The GTK+ port of WebKit1 has been removed.