Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 09:36:01 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Dorin H <bj93542@yahoo.com>
Cc:        current@freebsd.org
Subject:   Re: 5.2-CURRENT: ldd /boot/kernel/kernel  generates signal 6 (ABRT) ?
Message-ID:  <20031217092821.V14934@carver.gumbysoft.com>
In-Reply-To: <20031216205222.96444.qmail@web12602.mail.yahoo.com>
References:  <20031216205222.96444.qmail@web12602.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Dec 2003, Dorin H wrote:

> Hi there,
>
> Is it bug or feature ?
>
> %ldd /boot/kernel/acpi.ko
> /boot/kernel/acpi.ko:
> %ldd /boot/kernel/kernel
> /boot/kernel/kernel:
> /boot/kernel/kernel: signal 6

I think it s a peculiarity of how ldd works.  It appears to execve() the
binary in order to get ld.so to look at it, but since the kernel binary
specifies it own loader (for the in-kernel linker) it bails.

The kernel isn't dynamically linked to any libraries (how would it load
them!?!) so this wouldn't return anything anyway.

In case you haven't figured it out, the kernel is what provides the
operating system services. Your BIOS, via loader(8), loads and runs it.
Without it there is no FreeBSD :)

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031217092821.V14934>