Sorry for the last (unreadable) mail. Same text, second try:
When reverting the tree back to the working snapshot time ( with cvs -q up -PAd -D "2010-07-07 18:25:12 MDT" ) the resulting kernel doesn't work. The only difference to the snapshot kernel is the compiler. In the mentioned time window i386 moved to gcc4: B CVSROOT:B B B /cvs B Module name:B B B src B Changes by:B B B kette...@cvs.openbsd.orgb B B 2010/07/08 14:25:40 B Modified files: B B B B B share/mkB B B B B B : bsd.own.mk B B B B B lib/libcB B B B B B : shlib_version B Log message: B Switch hppa, i386 and powerpc to gcc4.B Bump libc major to handle ABI corner B cases fixed in gcc4. The kernel stops working at "em_init_eeprom_params+0x16:B movl 0x4(%eax),%edx" so maybe a similar fix like below needs to be done in a second place as well... B CVSROOT:B B B /cvs B Module name:B B B src B Changes by:B B B kette...@cvs.openbsd.orgb B B 2010/07/09 12:44:10 B Modified files: B B B B B sys/arch/i386/include: profile.h B Log message: B We need to preserve %eax, %ecx and %edx since GCC 4.x might use these B registers in the prologue to realign the stack. B ok marco@, deraadt@, guenther@ ... but that's just guessing. Regards, Holger ;-se