After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726435 - gnome-shell fails to link with libgnome-bluetooth-applet when using ld.gold
gnome-shell fails to link with libgnome-bluetooth-applet when using ld.gold
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: building
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-15 21:48 UTC by Alexandre Rostovtsev
Modified: 2015-02-27 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.17 KB, patch)
2014-03-15 21:57 UTC, Alexandre Rostovtsev
none Details | Review

Description Alexandre Rostovtsev 2014-03-15 21:48:49 UTC
During the 3.9 cycle, commit 21a85832, which introduced the gnome-shell/gnome-shell-wayland split, removed $(BLUETOOTH_SOURCES) from libgnome_shell_la_LIBADD in Makefile.am

As a result, the _shell_link_to_bluetooth() hack in gnome-shell-plugin.c no longer works for ld.gold: libgnome-shell no longer explicitly links to libgnome-bluetooth-applet, the main gnome-shell binary asks to link to libgnome-bluetooth-applet but ld.gold ignores this (since the main binary doesn't directly use bluetooth anywhere), and we end up with /usr/bin/gnome-shell which can't load bluetooth, resulting in bizarre runtime failures, for example a blank screen when logging in via gdm: https://bugs.gentoo.org/show_bug.cgi?id=503952

This certainly affects versions from 3.9.91 to 3.10.4. I did not test 3.11.
Comment 1 Alexandre Rostovtsev 2014-03-15 21:57:05 UTC
Created attachment 272041 [details] [review]
proposed patch
Comment 2 Pacho Ramos 2014-12-24 17:22:25 UTC
any updates on this? Thanks
Comment 3 Gilles Dartiguelongue 2014-12-29 08:14:13 UTC
Patch does still apply to 3.14.
Comment 4 Bastien Nocera 2015-01-05 23:28:17 UTC
(In reply to comment #3)
> Patch does still apply to 3.14.

I don't see how it would help against 3.14 when gnome-shell doesn't need to link against gnome-bluetooth-applet.
Comment 5 Florian Müllner 2015-02-27 17:33:42 UTC
Closing as obsolete as of comment #4