dbus programs will not use nosegneg libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
eglibc (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: dbus
After bug 427288 was fixed by providing libc6-xen in the ec2 images, there is still a warning written to the console, which mentions dbus-uuidgen. It turns out that in all the ~1000 installed programs in /usr/bin, /usr/sbin, /bin, /sbin, only 3 will not use the nosegneg libraries. All are from source package dbus:
/bin/
/usr/
/usr/
Below is some debug info showing the problem.
I believe this is due to the use of rpath in linking of these three programs.
$ dmesg | grep ' \*\*'
[ 1.436904] *******
[ 1.436908] *******
[ 1.436912] ** WARNING: Currently emulating unsupported memory accesses **
[ 1.436916] ** in /lib/tls glibc libraries. The emulation is **
[ 1.436920] ** slow. To ensure full performance you should **
[ 1.436924] ** install a 'xen-friendly' (nosegneg) version of **
[ 1.436927] ** the library, or disable tls support by executing **
[ 1.436931] ** the following as root: **
[ 1.436935] ** mv /lib/tls /lib/tls.disabled **
[ 1.436939] ** Offending process: dbus-uuidgen (pid=1114) **
[ 1.436943] *******
[ 1.436947] *******
$ for x in /bin/* /usr/bin/* /sbin/* /usr/sbin/*; do ldd $x 2>/dev/null |
grep -q "tls/i686/cmov" && echo ${x} && ldd ${x}; done
/bin/dbus-uuidgen
linux-gate.so.1 => (0xb7fd1000)
libdbus-1.so.3 => //lib/libdbus-
libc.so.6 => //lib/tls/
libpthread.so.0 => //lib/tls/
librt.so.1 => //lib/tls/
/lib/ld-linux.so.2 (0xb7fd2000)
/usr/bin/
..
/usr/bin/dbus-send
..
Related branches
affects: | glibc (Ubuntu) → eglibc (Ubuntu) |
Confirmed with ami-fa658593 canonical- alphas- us/karmic- i386-alpha6. manifest. xml