freebsd-skq/sys/dev/aic7xxx
Tom Rhodes 06d6e4fcfe This are the build infrastructure changes to allow to use the
Intel C/C++ compiler (lang/icc) to build the kernel.

The icc CPUTYPE CFLAGS use icc v7 syntax, icc v8 moans about them, but
doesn't abort. They also produce CPU specific code (new instructions
of the CPU, not only CPU specific scheduling), so if you get coredumps
with signal 4 (SIGILL, illegal instruction) you've used the wrong
CPUTYPE.

Incarnations of this patch survive gcc compiles and my make universe.
I use it on my desktop.

To use it update share/mk, add
	/usr/local/intel/compiler70/ia32/bin	(icc v7, works)
or
	/usr/local/intel_cc_80/bin		(icc v8, doesn't work)
to your PATH, make sure you have a new kernel compile directory
(e.g. MYKERNEL_icc) and run
	CFLAGS="-O2 -ip" CC=icc make depend
	CFLAGS="-O2 -ip" CC=icc make
in it.

Don't compile with -ipo, the build infrastructure uses ld directly to
link the kernel and the modules, but -ipo needs the link step to be
performed with Intel's linker.

Problems with icc v8:
 - panic: npx0 cannot be emulated on an SMP system
 - UP: first start of /bin/sh results in a FP exception

Parts of this commit contains suggestions or submissions from
Marius Strobl <marius@alchemy.franken.de>.

Reviewed by:	silence on -arch
Submitted by:	netchild
2004-03-12 21:36:12 +00:00
..
aicasm This are the build infrastructure changes to allow to use the 2004-03-12 21:36:12 +00:00
ahc_eisa.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
ahc_pci.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
ahd_pci.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx_93cx6.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx_93cx6.h Update Perforce Ids. 2002-08-31 06:45:28 +00:00
aic7xxx_inline.h ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx_osm.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx_osm.h ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx_pci.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx.c aic7xxx.c: 2004-02-04 16:40:08 +00:00
aic7xxx.h ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx.reg ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic7xxx.seq ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic79xx_inline.h aic79xx.c: 2004-02-04 16:38:38 +00:00
aic79xx_osm.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic79xx_osm.h ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic79xx_pci.c aic79xx.c: 2004-02-04 16:38:38 +00:00
aic79xx.c aic79xx.c: 2004-02-04 16:38:38 +00:00
aic79xx.h aic79xx.c: 2004-02-04 16:38:38 +00:00
aic79xx.reg aic79xx.c: 2004-02-04 16:38:38 +00:00
aic79xx.seq aic79xx.c: 2004-02-04 16:38:38 +00:00
aic7770.c ahc_eisa.c: 2003-12-17 00:02:10 +00:00
aic_osm_lib.c Move all of the recovery thread routines next 2003-12-19 18:34:30 +00:00
aic_osm_lib.h ahc_eisa.c: 2003-12-17 00:02:10 +00:00