Bug 70051 - underlinking in swfdec-test: needs to explicitly link to libgmodule
Summary: underlinking in swfdec-test: needs to explicitly link to libgmodule
Status: NEW
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 19:59 UTC by Alexandre Rostovtsev
Modified: 2013-10-02 20:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
proposed patch (1.92 KB, patch)
2013-10-02 20:00 UTC, Alexandre Rostovtsev
Details | Splinter Review

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.