Bug 70051

Summary: underlinking in swfdec-test: needs to explicitly link to libgmodule
Product: swfdec Reporter: Alexandre Rostovtsev <tetromino>
Component: libraryAssignee: swfdec ml <swfdec>
Status: NEW --- QA Contact: swfdec ml <swfdec>
Severity: normal    
Priority: medium CC: gnome
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: proposed patch

Description Alexandre Rostovtsev 2013-10-02 19:59:51 UTC
(As reported downstream at https://bugs.gentoo.org/show_bug.cgi?id=486808)

When building swfdec tests with ld.gold and with --disable-gstreamer, the build fails because swfdec-test does not explicitly link to libgmodule:

swfdec_test-swfdec_test_test.o:swfdec_test_test.c:function swfdec_test_test_unload_plugin.part.0: error: undefined reference to 'g_module_close'
swfdec_test-swfdec_test_test.o:swfdec_test_test.c:function swfdec_test_do_reset: error: undefined reference to 'g_module_build_path'
swfdec_test-swfdec_test_test.o:swfdec_test_test.c:function swfdec_test_do_reset: error: undefined reference to 'g_module_open'
swfdec_test-swfdec_test_test.o:swfdec_test_test.c:function swfdec_test_do_reset: error: undefined reference to 'g_module_symbol'
swfdec_test-swfdec_test_test.o:swfdec_test_test.c:function swfdec_test_do_reset: error: undefined reference to 'g_module_close'
collect2: error: ld returned 1 exit status
Comment 1 Alexandre Rostovtsev 2013-10-02 20:00:44 UTC
Created attachment 87001 [details] [review]
proposed patch

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.