Bug 102032

Summary: alpha kernel does not compile after mfi driver integration
Product: Base System Reporter: toni.tiveron <toni.tiveron>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description toni.tiveron@tiscalinet.it 2006-08-14 22:00:24 UTC
Kernel does not compile if update to a date after 2006.06.22.15.20.00
integrates the mfi driver updated by ps. This make impossibile to compile
the module.

This is the latest part of the build, where the compile stops.
Warning: Object directory not changed from original /usr/src/sys/modules/mfi
@ -> /usr/src/sys
machine -> /usr/src/sys/alpha/include
touch opt_mfi.h
touch opt_scsi.h
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
cc -O -pipe -mcpu=ev56 -Wall -Werror  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-
 -I. -I@ -I@/../include -I/usr/include  -mno-fp-regs -Wa,-mev56 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi -c /usr/src/sys/modules/mfi/../../dev/mfi/mfi.c
cc -O -pipe -mcpu=ev56 -Wall -Werror  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-
 -I. -I@ -I@/../include -I/usr/include  -mno-fp-regs -Wa,-mev56 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi -c
/usr/src/sys/modules/mfi/../../dev/mfi/mfi_pci.c
cc -O -pipe -mcpu=ev56 -Wall -Werror  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-
 -I. -I@ -I@/../include -I/usr/include  -mno-fp-regs -Wa,-mev56 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi -c
/usr/src/sys/modules/mfi/../../dev/mfi/mfi_disk.c
cc1: warnings being treated as errors
/usr/src/sys/modules/mfi/../../dev/mfi/mfi_disk.c: In function
`mfi_disk_attach':
/usr/src/sys/modules/mfi/../../dev/mfi/mfi_disk.c:168: warning: long long
unsigned int format, uint64_t arg (arg 3)
/usr/src/sys/modules/mfi/../../dev/mfi/mfi_disk.c:168: warning: long long
unsigned int format, uint64_t arg (arg 4)
*** Error code 1

Stop in /usr/src/sys/modules/mfi.

How-To-Repeat: Compile on any alpha w/ FreeBSD 4.x. Tried also to install a fresh machine,
cvsup'd to today. (tested on a AS800 and a PWD433au) w/ source after
2006.06.22.15.23.00
Comment 1 John Baldwin freebsd_committer freebsd_triage 2006-08-14 22:08:46 UTC
On Monday 14 August 2006 16:57, toni.tiveron@tiscalinet.it wrote:
> 
> >Number:         102032
> >Category:       alpha
> >Synopsis:       Kernel does not compile

Should be fixed.  Can you re-cvsup and verify?

-- 
John Baldwin
Comment 2 toni.tiveron 2006-08-17 09:02:23 UTC
Fixed. It just took a lot to be updated via CVS. Please add a note on 
hardware support that the mfi driver on 4-STABLE is not intended to be 
used on alpha platoform.
Toni


Naviga e telefona senza limiti con Tiscali     
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/
Comment 3 John Baldwin freebsd_committer freebsd_triage 2006-08-17 18:25:38 UTC
On Thursday 17 August 2006 04:02, toni.tiveron@tiscali.it wrote:
> Fixed. It just took a lot to be updated via CVS. Please add a note on 
> hardware support that the mfi driver on 4-STABLE is not intended to be 
> used on alpha platoform.

Actually, the release notes on 4.x are fairly stable by now.  I don't even 
think they mention mfi(4) at all for either arch.

-- 
John Baldwin
Comment 4 John Baldwin freebsd_committer freebsd_triage 2006-08-17 18:25:44 UTC
State Changed
From-To: open->closed

Fixed, thanks!