From owner-freebsd-current Wed Oct 9 08:33:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA02439 for current-outgoing; Wed, 9 Oct 1996 08:33:55 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA02427 for ; Wed, 9 Oct 1996 08:33:51 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.7.6/8.7.3) with ESMTP id IAA23308; Wed, 9 Oct 1996 08:33:19 -0700 (PDT) Message-Id: <199610091533.IAA23308@austin.polstra.com> To: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= cc: freebsd-current@freebsd.org Subject: Re: ldconfig problem In-reply-to: Your message of "Wed, 09 Oct 1996 23:48:10 +0900." <199610091448.XAA01502@bourbon.sfc.wide.ad.jp> Date: Wed, 09 Oct 1996 08:33:18 -0700 From: John Polstra Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Successful one: > > /usr/local/bin/kaffe: > -lkaffe_vm.0 => /usr/local/lib/libkaffe_vm.so.0.5 (0x801d000) > -lm.2 => /usr/lib/libm.so.2.0 (0x803e000) > -lc.3 => /usr/lib/libc.so.3.0 (0x8055000) > > > > Unsuccessful one: > > /usr/local/bin/kaffe: > -lkaffe_vm.0 => /usr/local/lib/libkaffe_vm.so.0.5 (0x801e000) > -lm.2 => /usr/lib/libm.so.2.0 (0x803f000) > -lc.3 => /usr/lib/libc.so.3.0 (0x8056000) Hmm, these both look OK. The shared libraries in the second case are mapped one page higher than in the first case, but that doesn't indicate a problem. Before mapping any shared libraries, the dynamic linker maps the entire "/var/run/ld.so.hints" file into memory. In the second case, that file is probably one page larger than in the first case, because it has the extra libraries from "/usr/local/lib/m3/FreeBSD2" in it. Does kaffe use dlopen(), or LD_PRELOAD, or any other unusual features of the dynamic linker? Can you examine the core file with a debugger and try to figure out what it's doing when it dies? John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth