Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 19:13:51 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Peter Wemm <peter@wemm.org>
Cc:        Petri Helenius <pete@he.iki.fi>
Subject:   Re: kld support
Message-ID:  <20040212031351.GA97767@dhcp01.pn.xcllnt.net>
In-Reply-To: <200402111239.50639.peter@wemm.org>
References:  <4029EF67.9020703@he.iki.fi> <200402111239.50639.peter@wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 11, 2004 at 12:39:50PM -0800, Peter Wemm wrote:
> 
> So, I thought..  since I can do something about the in-kernel linker, 
> perhaps I can add PIC mode support?  The problem with that though is 
> that gcc says "-fPIC mode not implemented in kernel mode" and errors 
> out.

After looking at the gcc source code, it appears to me that the
conflict is created by using -mcmodel as well as -fpic, right?

If so, is there any harm in building the modules in the small model
(for whatever that implies)? I think they'll still be 64-bit, right?

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



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