[Webkit-unassigned] [Bug 28422] New: Linking fails with "relocation R_X86_64_PC32 against symbol `cti_vm_throw'"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 00:27:36 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28422

           Summary: Linking fails with "relocation R_X86_64_PC32 against
                    symbol `cti_vm_throw'"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: amd at store20.com


When building with --enable-debug, linking libwebkit-1.0.la fails with
relocation error:

plaes at sol ~/code/WebKit $ make
make  all-am
make[1]: Entering directory `/home/plaes/code/WebKit'
/bin/mkdir -p ./.deps/DerivedSources
  CXXLD  libwebkit-1.0.la
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o): relocation
R_X86_64_PC32 against symbol `cti_vm_throw' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-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 `/home/plaes/code/WebKit'
make: *** [all] Error 2

plaes at sol ~/code/WebKit $ make V=1
make  all-am
make[1]: Entering directory `/home/plaes/code/WebKit'
/bin/mkdir -p ./.deps/DerivedSources
./doltlibtool  --tag=CXX   --mode=link g++ -Wall -W -Wcast-align
-Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k
-Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-parameter -Wno-parentheses -fno-exceptions 
-fvisibility-inlines-hidden -fno-rtti -fno-strict-aliasing 
-I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
-I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   
-pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include   -I/usr/include/libxml2   -I/usr/include/libxml2
   -I/usr/include   -ggdb -g -O0 -version-info 10:1:8
-Wl,--version-script,./autotools/symbols.filter   -o libwebkit-1.0.la -rpath
/home/plaes/opt/lib
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ChromeClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ContextMenuClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-DragClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-EditorClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-FrameLoaderClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-InspectorClientGtk.lo
WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-PasteboardHelperGtk.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitapplicationcache.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitdownload.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkiterror.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitnetworkrequest.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitprivate.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitsoupauthdialog.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitversion.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebbackforwardlist.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebframe.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebhistoryitem.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebinspector.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebnavigationaction.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebpolicydecision.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebsettings.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebview.lo
WebKit/gtk/webkit/libwebkit_1_0_la-webkitwebwindowfeatures.lo
DerivedSources/libwebkit_1_0_la-webkitenumtypes.lo
DerivedSources/libwebkit_1_0_la-webkitmarshal.lo -lpthread libJavaScriptCore.la
libWebCore.la libWebCoreJS.la  -lcairo    -Wl,--export-dynamic -lenchant
-lgmodule-2.0 -lglib-2.0   -lcairo -lfontconfig -lfreetype   -lgailutil
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lglib-2.0    -pthread -lgobject-2.0 -lgthread-2.0 -lrt
-lglib-2.0   -pthread -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0  
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lglib-2.0    -ljpeg -lsoup-2.4 -lgio-2.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0   -lxml2   -lxslt -lz -lm -lxml2   -lpangoft2-1.0
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
-lpng12   -lsqlite3   -lpthread -lm   -L/usr/lib64 -licui18n -licuuc -licudata 
-lpthread -lm    -lXt -lX11 -lSM -lICE   
libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/crtbeginS.o 
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-ChromeClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-ContextMenuClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-DragClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-EditorClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-FrameLoaderClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-InspectorClientGtk.o
WebKit/gtk/WebCoreSupport/.libs/libwebkit_1_0_la-PasteboardHelperGtk.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitapplicationcache.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitdownload.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkiterror.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitnetworkrequest.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitprivate.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitsoupauthdialog.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitversion.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebbackforwardlist.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebframe.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebhistoryitem.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebinspector.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebnavigationaction.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebpolicydecision.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebsettings.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebview.o
WebKit/gtk/webkit/.libs/libwebkit_1_0_la-webkitwebwindowfeatures.o
DerivedSources/.libs/libwebkit_1_0_la-webkitenumtypes.o
DerivedSources/.libs/libwebkit_1_0_la-webkitmarshal.o  -Wl,--whole-archive
./.libs/libJavaScriptCore.a ./.libs/libWebCore.a ./.libs/libWebCoreJS.a
-Wl,--no-whole-archive  -L/usr/lib64 /usr/lib64/libenchant.so
/usr/lib64/libgailutil.so /usr/lib64/libXinerama.so /usr/lib64/libXrandr.so
/usr/lib64/libXcursor.so /usr/lib64/libXcomposite.so /usr/lib64/libXdamage.so
/usr/lib64/libXfixes.so /usr/lib64/libgstvideo-0.10.so
/usr/lib64/libgstbase-0.10.so /usr/lib64/libgstreamer-0.10.so
/usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so
/usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so
/usr/lib64/libpangocairo-1.0.so /usr/lib64/libcairo.so
/usr/lib64/libpixman-1.so /usr/lib64/libglitz-glx.so /usr/lib64/libGL.so
/usr/lib64/libXmu.so /usr/lib64/libXext.so /usr/lib64/libXi.so
/usr/lib64/libglitz.so /usr/lib64/libxcb-render-util.so
/usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libjpeg.so
/usr/lib64/libsoup-2.4.so /usr/lib64/libgthread-2.0.so -lrt
/usr/lib64/libgnutls.so /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so
/usr/lib64/libgpg-error.so /usr/lib64/libgio-2.0.so -lresolv
/usr/lib64/libxslt.so /usr/lib64/libxml2.so /usr/lib64/libpangoft2-1.0.so
/usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so
/usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so
/usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libpng12.so
-lz /usr/lib64/libsqlite3.so -licui18n -licuuc -licudata -lpthread
/usr/lib64/libXt.so /usr/lib64/libX11.so /usr/lib64/libxcb.so
/usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/libSM.so -luuid
/usr/lib64/libICE.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/crtn.o  -pthread
-pthread -Wl,--version-script -Wl,./autotools/symbols.filter
-Wl,--export-dynamic -pthread -pthread   -pthread -Wl,-soname
-Wl,libwebkit-1.0.so.2 -o .libs/libwebkit-1.0.so.2.8.1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o): relocation
R_X86_64_PC32 against symbol `cti_vm_throw' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-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 `/home/plaes/code/WebKit'
make: *** [all] Error 2
plaes at sol ~/code/WebKit $

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list