This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
problem with LD_PROFILE
- From: Ray Easton <kraimie at cox dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 9 Nov 2004 09:23:37 -0600
- Subject: problem with LD_PROFILE
If I do this,
LD_PROFILE=libc.so.6 /usr/local/bin/sicstus -l profare/testcl -a spserver-production
the file /var/tmp/libc.so.6.profile is created and can be processed by sprof.
But if I do this,
LD_PROFILE=libdata.so /usr/local/bin/sicstus -l profare/testcl -a spserver-production,
there is no file /var/tmp/libdata.so.profile created.
Note that the application does successfully run.
The library image was created by invoking the linker through gcc with '-pg'. The object modules comprising this library were also built with '-pg', although I do not believe this should be necessary.
Thanks in advance for any help you can provide,
Ray