Can't compile kernel with -O0

Joerg Sonnenberger joerg at britannica.bec.de
Sun Jul 18 23:44:12 PDT 2004


On Mon, Jul 19, 2004 at 07:31:20AM +0200, Simon 'corecode' Schubert wrote:
> hey,
> 
> I just tried to compile the kernel with -O0 and get these error  
> messages on linking:
> 
> kern_sig.o: In function `iscaught':
> /home/corecode/pf4df/sys/compile/SWEATSHORTS/../../kern/kern_sig.c: 
> 1033: undefined reference to `__cursig'
> 
> (not the only one, but I don't have more at the moment)
> 
> seems like this comes from extern __inline __cursig() not being defined  
> at all then.

I don't think support -O0 is worse the effort. But the usage of
"extern inline" should perhaps be changed to "static inline", which
is IIRC the C99 version of the GNU extension.

Joerg

> 
> cheers
>   simon
> 
> -- 
> /"\
> \ /
>  \     ASCII Ribbon Campaign
> / \  Against HTML Mail and News





More information about the Bugs mailing list