slow emulation warning when loading libgomp.so.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
The issue happens on lucid instances running on ec2. Loading /usr/lib/
** WARNING: Currently emulating unsupported memory accesses **
** in /lib/tls glibc libraries. The emulation is **
** slow. To ensure full performance you should **
** install a 'xen-friendly' (nosegneg) version of **
** the library, or disable tls support by executing **
** the following as root: **
** mv /lib/tls /lib/tls.disabled **
To reproduce:
- launch a lucid instance from ami-a403f7cd
- apt-get install libgomp1
- load /usr/lib/
perl -MDynaLoader -e 'DynaLoader:
or run an executable that uses it, eg 'convert' from the imagemagick package.
A weird thing is that libgomp1 seems to be normally using the nosegneg version:
ldd /usr/lib/
linux-gate.so.1 => (0xb77e2000)
librt.so.1 => /lib/tls/
libpthread.so.0 => /lib/tls/
libc.so.6 => /lib/tls/
/lib/ld-linux.so.2 (0xb77e3000)
Is it a false warning? Deleting /lib/tls does not help.
Note also that on maverick (ami-1a837773) this issue does _not_ exist, and ldd output is different:
ldd /usr/lib/
linux-gate.so.1 => (0xb779f000)
librt.so.1 => /lib/librt.so.1 (0xb7780000)
libpthread.so.0 => /lib/libpthread
libc.so.6 => /lib/libc.so.6 (0xb7608000)
/lib/ld-linux.so.2 (0xb77a0000)
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libc6-xen 2.11.1-0ubuntu7.5
ProcVersionSign
Uname: Linux 2.6.32-309-ec2 i686
Architecture: i386
Date: Sun Oct 31 16:52:41 2010
Ec2AMI: ami-a403f7cd
Ec2AMIManifest: ubuntu-
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-6603f70f
Ec2Ramdisk: unavailable
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: eglibc
Changed in eglibc (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Possibly related to bug 427288 and/or bug 432718. I'm really just mentioning them here for reference, I haven't looked much deeper.