This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: `make check' failure in 2.1.93
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: Re: `make check' failure in 2.1.93
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 01 Sep 2000 01:04:34 -0700
- References: <200008132357.e7DNvXY20167@localhost.localdomain><00081700512600.24956@enzo.bigblue.local><200008162125.OAA10152@localhost.cygnus.com><00081722172200.01158@enzo.bigblue.local><m3sns3634y.fsf@otr.mynet.cygnus.com> <39AF1CF9.BD4A7FA@fuse.net><m2snrkisls.fsf@dejima.jp.tlan> <m31yz4ocqt.fsf@otr.mynet.cygnus.com><m2og28iofq.fsf@dejima.jp.tlan> <m3snrklh2f.fsf@otr.mynet.cygnus.com><m2k8cwimfu.fsf_-_@dejima.jp.tlan>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
SL Baur <steve@turbolinux.co.jp> writes:
> and the straightforward:
> GCONV_PATH=/home/work/turbo/BUILD/libc/build-alpha-linux/iconvdata LC_ALL=C MALLOC_TRACE=/home/work/turbo/BUILD/libc/build-alpha-linux/iconvdata/tst-loading.mtrace gdb /home/work/turbo/BUILD/libc/build-alpha-linux/iconvdata/tst-loading
You should not set the environment variables for the debugger. Instead:
gdb /home/work/turbo/BUILD/libc/build-alpha-linux/iconvdata/tst-loading
(gdb) set env GCONV_PATH /home/work/turbo/BUILD/libc/build-alpha-linux/iconvdata
(gdb) set env LC_ALL C
(gdb) set evn MALLOC_TRACE /home/work/turbo/BUILD/libc/build-alpha-linux/iconvdata/tst-loading.mtrace
(gdb) r
Note that this only works if the ld.so which is picked up and the
library path is correct. Statically linking the application might
completely change the behavior.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------