Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2003 22:54:04 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        hackers@freebsd.org
Subject:   Re: Possible issue with in-kernel ELF loader. 
Message-ID:  <20030721055404.6EEB72A7EA@canning.wemm.org>
In-Reply-To: <200307180511.h6I5B5HV004858@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote:
>    I got an odd bug report for DragonFly today.  Apparently the module loader
>    was broken, the kernel complained about not being able to find
>    'globaldata'.
> 
>    It turns out that the kernel's internal ELF loader is misinterpreting
>    an ABS symbol (i.e. set with .SET in assembly) whos value is 0 as being
>    'not found', and once that is fixed it was also confusing the absolute
>    symbol with a COMMON symbol.

Thanks for the pointer.  FWIW, We use -fno-common on 5.x to avoid common
symbols even existing in the first place.  There were a few missing
externs that this turned up.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



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