Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1560 by [email protected]: app-i18n/ibus-qt-1.3.1+ with gold linker - undefined reference to 'XDisplayString'
http://code.google.com/p/ibus/issues/detail?id=1560

Please *DO NOT* ask question here! Please use
https://groups.google.com/group/ibus-user

请不要在这里提问,请使用ibus用户讨论组
https://groups.google.com/group/ibus-user

What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...): Linux
Architecture (i386, x86_64): both i386 and x86_64
IBus version: app-i18n/ibus-1.4.99.20121109
Input method name and version: app-i18n/ibus-qt-1.3.1+
Python version: dev-lang/python-2.7.3-r2
dbus version: sys-apps/dbus-1.6.8-r1
dbus-python version: dev-python/dbus-python-1.1.1-r1
gtk version (if bug is about gtk applications): x11-libs/gtk+-2.24.14, x11-libs/gtk+-3.6.2
qt version (if bug is about qt applications): x11-libs/qt-core-4.8.4

What steps will reproduce the problem?
1. git clone git://github.com/ibus/ibus-qt.git
2. set ld.gold as the default linker
3. build ibus-qt

What is the expected output? What do you see instead?

/usr/bin/x86_64-pc-linux-gnu-g++ -Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--icf=safe CMakeFiles/ibus-test.dir/ibus.o -o ibus-test -rdynamic libibus-qt.so.1.3.0 /usr/lib64/qt4/libQtCore.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtXml.so -ldbus-1 -Wl,-rpath,/var/tmp/portage/app-i18n/ibus-qt-1.3.1/work/ibus-qt-1.3.1_build/src:/usr/lib64/qt4
libibus-qt.so.1.3.0: error: undefined reference to 'XDisplayString'

Please provide any additional information below.

See https://bugs.gentoo.org/show_bug.cgi?id=439674 for more details.

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复