Bug 97075

Summary: [Qt] Link failure with bfd linker on --minimal build
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Simon Hausmann <hausmann>
Status: RESOLVED FIXED    
Severity: Blocker CC: abecsi, hausmann, ossy, vestbo
Priority: P1 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch vestbo: review+

Csaba Osztrogonác
Reported 2012-09-18 23:28:38 PDT
simple --minimal build on Debian Squeeze: ------------------------------------------ obj/release/platform/graphics/gstreamer/GStreamerVersioning.o: In function `getVideoSizeAndFormatFromCaps(_GstCaps*, WebCore::IntSize&, GstVideoFormat&, int&, int&, int&)': GStreamerVersioning.cpp:(.text._Z29getVideoSizeAndFormatFromCapsP8_GstCapsRN7WebCore7IntSizeER14GstVideoFormatRiS6_S6_+0x95): undefined reference to `gst_video_format_parse_caps' GStreamerVersioning.cpp:(.text._Z29getVideoSizeAndFormatFromCapsP8_GstCapsRN7WebCore7IntSizeER14GstVideoFormatRiS6_S6_+0xa7): undefined reference to `gst_video_parse_caps_pixel_aspect_ratio' collect2: ld returned 1 exit status make[3]: *** [../../lib/libWebCore.so.1.0.0] Error 1 $ ld -v GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303 --minimal build on Debian Squeeze with CONFIG+=buildbot: --------------------------------------------------------- /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/lib/libQtWebKit.so: undefined reference to `gst_video_parse_caps_pixel_aspect_ratio' /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/lib/libQtWebKit.so: undefined reference to `gst_video_format_parse_caps' collect2: ld returned 1 exit status make[3]: *** [../../bin/QtWebProcess] Error 1 Otherwise I tried it on Ubuntu 11.10, and got same results.
Attachments
Patch (2.72 KB, patch)
2012-09-19 04:03 PDT, Simon Hausmann
vestbo: review+
Csaba Osztrogonác
Comment 1 2012-09-18 23:29:58 PDT
Before https://trac.webkit.org/changeset/128885 gold linker was the default if ld.gold exists and -fuse-ld=gold is supported gcc option. (It is true on Debian, but false on Ubuntu)
Csaba Osztrogonác
Comment 2 2012-09-18 23:30:39 PDT
It is P1/blocker bug, because --minimal build is broken on the build.webkit.org bot because of this bug.
Simon Hausmann
Comment 3 2012-09-19 04:03:53 PDT
Simon Hausmann
Comment 4 2012-09-19 04:12:29 PDT
Note You need to log in before you can comment on or make changes to this bug.