Hi Scott and Justin, I've been having a problem building the new aic7xxx modules on -CURRENT.
The machine is: FreeBSD magma 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Mon Jun 24 22:50:04 SAST 2002 root@magma:/usr/obj/usr/src/sys/MAGMA i386 The error (make buildkernel) is: /usr/obj/usr/src/sys/MAGMA/modules/usr/src/sys/modules/aic7xxx/ahc/../aicasm/aicasm -I/usr/src/sys/modules/aic7xxx/ahc/../../../cam/scsi -I/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx -o aic7xxx_seq.h -r aic7xxx_reg.h -p aic7xxx_reg_print.c -i /usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx_osm.h /usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx.seq (null): Unable to malloc scope object *** Error code 70 Stop in /usr/src/sys/modules/aic7xxx/ahc. This only happens after a 'make buildworld'. Same error from Sunday's sources (pre-gcc3.2) and since then. This appears to be because the aicasm binary is built with the new toolchain and cannot run on my kernel/libraries. This binary is handled specially for the buildkernel target. I assume this needs the same 'build-tools' style processing as other binaries used in the build. It makes a directory /usr/obj/usr/src/sys/MAGMA/modules/usr/obj/usr/src/sys/MAGMA/modules/usr/src/sys/modules/aic7xxx/aicasm but doesn't put anything in it. Copying aicasm built for the kernel over the one built for the module appears to fix the problem. The aicasm binary built for the module is not cleaned as part of a regular 'make buildkernel'. I'll take a look at the infrastructure and see if I can come up with patches, but since this is fairly new, you guys might be able to solve it before me. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message