kld support

Marcel Moolenaar marcel at xcllnt.net
Wed Feb 11 19:13:52 PST 2004

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 at xcllnt.net

More information about the freebsd-amd64 mailing list