[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Re: Solaris compiler question...
From:       "G. Roderick Singleton" <gerry () pathtech ! org>
Date:       2001-04-28 20:32:47
[Download RAW message or body]


> From owner-ipfilter@cairo.anu.edu.au Sat Apr 28 10:23:51 2001
> X-Authentication-Warning: cairo.anu.edu.au: majordomo set sender to \
>                 owner-ipfilter@coombs.anu.edu.au using -f
> From: Darren Reed <darrenr@reed.wattle.id.au>
> Subject: Solaris compiler question...
> To: ipfilter@coombs.anu.edu.au
> Date: Sun, 29 Apr 2001 00:18:13 +1000 (EST)
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> 
> 
> I'm not sure I should be the one asking this question (;-) but does
> anyone here know if using certain cc options is "bad news" when it
> comes to compiling LKM's for Solaris 2.5.1 ?
> 
> My observation is that using the -xF command line option to cc results
> in a LKM being loaded with the symbol replacement corrupted.  That is,
> a function call to foo() becomes a function call to 0xecdf1000 or some
> such nonsense.
> 

I've been thinking about this since I saw the message and have remembered that
there is no way to use the symbolic info in the kernel or LKMs. Just kadb. Thus
lose the -xF.

> This is the same version of cc that I'm using successfully on other
> Solaris platforms, although I'm tempted to turn this off for all.
> 
> Darren
> 

True with the later versions, too.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic