[K42-discussion] GCC4 toolchain progress

Donour Sizemore donour at cs.unm.edu
Tue Oct 3 10:12:57 EST 2006


Just a quick update on getting k42 to compile with a generic, crosstool 
gcc 4 -- the month long project that has been going on for a year.

I have few bugs that are holding up compilation at the moment:

1) The assembly code at line 783 of 
os/kernel/mem/arch/powerpc/InvertedPageTable.C

I sent an email about it on 7/25/06 to the list. I couldn't find the 
problem, so I put the bug on backburner. It's probably time I revisit it.

2) The MACROS used in os/servers/nfs/nfs_xdr.c

Two macros from nfs.h are not evaluating properly and I've been unable 
to figure out why. Specifically:

IXDR_PUT_U_LONG
IXDR_GET_U_LONG

complain that the results are not legal lvalues. I don't know how rpcgen 
creates nfs_xdr.c . If someone has some insight here, I'd appreciate it.

3) Resolve the cxa_atexit symbol problem


--

I have bandaid solutions to each of these, but not real fixes. However, 
with these in place I have k42 _compiling_ with gcc 4. I'll starting 
fixing the missing symbols shortly.

donour



More information about the K42-discussion mailing list