warning /lib/tls library emulation slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On my amazon ec2 machine running 10.04 LTS I find this warning.
[ 37.895954] *******
[ 37.895957] *******
[ 37.895960] ** WARNING: Currently emulating unsupported memory accesses **
[ 37.895963] ** in /lib/tls glibc libraries. The emulation is **
[ 37.895965] ** slow. To ensure full performance you should **
[ 37.895967] ** install a 'xen-friendly' (nosegneg) version of **
[ 37.895970] ** the library, or disable tls support by executing **
[ 37.895972] ** the following as root: **
[ 37.895974] ** mv /lib/tls /lib/tls.disabled **
[ 37.895977] ** Offending process: convert (pid=871) **
[ 37.895979] *******
[ 37.895982] *******
[ 37.895984]
When search for similar issues it seems this problem is solved in earlier versions of ubuntu, but this seems to indicate the opposite.
From what I read the content of this file should be of some importance
/etc/ld.
And in my machine it contains
# This directive teaches ldconfig to search in nosegneg subdirectories
# and cache the DSOs there with extra bit 1 set in their hwcap match
# fields. In Xen guest kernels, the vDSO tells the dynamic linker to
# search in nosegneg subdirectories and to match this extra hwcap bit
# in the ld.so.cache file.
hwcap 1 nosegneg
ldd /usr/bin/convert gives me
libc.so.6 => /lib/tls/
libXt.so.6 => /usr/lib/libXt.so.6 (0xb7232000)
libz.so.1 => /lib/libz.so.1 (0xb720b000)
libdl.so.2 => /lib/tls/
libSM.so.6 => /usr/lib/libSM.so.6 (0xb71db000)
libICE.so.6 => /usr/lib/
libX11.so.6 => /usr/lib/
libm.so.6 => /lib/tls/
libxcb.so.1 => /usr/lib/
librt.so.1 => /lib/tls/
libXau.so.6 => /usr/lib/
Status changed to 'Confirmed' because the bug affects multiple users.