cvs commit: src/sys/kern kern_tc.c src/sys/net rtsock.c src/sys/netipx ipx_proto.c src/sys/netnatm natm_proto.c

Robert Watson rwatson at
Sun Sep 11 14:29:18 PDT 2005

On Wed, 7 Sep 2005, David E. O'Brien wrote:

>  Modified files:
>    sys/kern             kern_tc.c
>    sys/net              rtsock.c
>    sys/netipx           ipx_proto.c
>    sys/netnatm          natm_proto.c
>  Log:
>  Forward declaring static variables as extern is invalid ISO-C.  Now that
>  GCC can properly handle forward static declarations, do this properly.

As a result of this change, it is no longer possible to build 7.x kernels 
on 6.x worlds without building all of world or tweaking kernel makefiles. 
While that's not a formally supported configuration, it makes it a lot 
easier and faster to do development from a central buildbox on a farm of 
test systems.  Given that you've MFC'd the gcc fix to RELENG_5, I assume a 
change will be queued to merge to RELENG_6, but in the mean time it's 
something of an irritating problem (up there with NOMAN -> NO_MAN).  In 
the future, could you merge the gcc fixes to the relevant branches before 
merging the dependent C changes, in order to avoid this sort of thing?

Robert N M Watson

More information about the cvs-src mailing list