DragonFly BSD
DragonFly kernel List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: buildkernel with gcc3


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Feb 2004 11:44:42 -0800 (PST)

:>     I just compiled and installed a gcc3-based UP kernel.  It booted
:>     just fine!
:
:Well, the warnings is there since some bad things happened under
:FreeBSD e.g. wrt IP checksums. But good to know. The repo work
:should be finished now, LINT compiles too.
:
:Joerg

    I'm looking at the IP checksum code now.  There are two problems.
    First, it is making the assumption that the the memory loads
    in the __asm instructions do not mess with the carry bit, and, Second,
    it is using a union to transpose characters with words which is probably
    an illegal use of aliasing.

    I may just rewrite the whole damn thing in assembly.  That's what it
    almost is anyway.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]