Date: Wed, 15 Jul 2009 08:20:06 GMT From: Manolis Kiagias <sonic2000gr@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/136777: Building new Kernel with PF and PAE support failed on FreeBSD 7.2-RELEASE-p2 Message-ID: <200907150820.n6F8K6Hd020751@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/136777; it has been noted by GNATS. From: Manolis Kiagias <sonic2000gr@gmail.com> To: Cristopher Atienza <cfatienza@gmail.com> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/136777: Building new Kernel with PF and PAE support failed on FreeBSD 7.2-RELEASE-p2 Date: Wed, 15 Jul 2009 10:46:37 +0300 Cristopher Atienza wrote: >> Number: 136777 >> Category: kern >> Synopsis: Building new Kernel with PF and PAE support failed on FreeBSD 7.2-RELEASE-p2 >> Confidential: no >> Severity: critical >> Priority: high >> Responsible: freebsd-bugs >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Wed Jul 15 06:50:01 UTC 2009 >> Closed-Date: >> Last-Modified: >> Originator: Cristopher Atienza >> Release: FreeBSD 7.2-RELEASE-p2 >> Organization: >> > DirectWithHotels Ltd > >> Environment: >> > FreeBSD cfatechz.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > >> Description: >> > Building new Kernel with PF and PAE support failed on FreeBSD 7.2-RELEASE-p2 > > 1. Added the following line entries on /usr/src/sys/i386/conf/CUSTOM file > > ident CUSTOM > > device pf > device pflog > device pfsync > > options ALTQ > options ALTQ_CBQ # Class Bases Queuing (CBQ) > options ALTQ_RED # Random Early Detection (RED) > options ALTQ_RIO # RED In/Out > options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) > options ALTQ_PRIQ # Priority Queuing (PRIQ) > options ALTQ_NOPCC # Required for SMP build > > options PAE # Physical Address Extensions Kernel > .. > > 2. Starting building new kernel with PF support and PAE. > > cfatechz.com /usr/src # make buildkernel KERNCONF=CUSTOM > > ... > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_low.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_low_pisa.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_pass.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_sa.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_ses.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/rijndael/rijndael-alg-fst.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/rijndael/rijndael-api-fst.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/rijndael/rijndael-api.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/sha1.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/sha2/sha2.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_cam.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_debug.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_disk.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_pci.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/advansys/adv_eisa.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/advansys/adv_pci.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/advansys/advansys.c > cc1: warnings being treated as errors > /usr/src/sys/dev/advansys/advansys.c: In function 'adv_action': > /usr/src/sys/dev/advansys/advansys.c:259: warning: cast from pointer to integer of d ifferent size > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/CUSTOM. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > cfatechz.com /usr/src # > .... > > >> How-To-Repeat: >> > Building new Kernel with PF and PAE support failed on FreeBSD 7.2-RELEASE-p2 > > 1. Added the following line entries on /usr/src/sys/i386/conf/CUSTOM file > > ident CUSTOM > > device pf > device pflog > device pfsync > > options ALTQ > options ALTQ_CBQ # Class Bases Queuing (CBQ) > options ALTQ_RED # Random Early Detection (RED) > options ALTQ_RIO # RED In/Out > options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) > options ALTQ_PRIQ # Priority Queuing (PRIQ) > options ALTQ_NOPCC # Required for SMP build > > options PAE # Physical Address Extensions Kernel > .. > > 2. Starting building new kernel with PF support and PAE. > > cfatechz.com /usr/src # make buildkernel KERNCONF=CUSTOM > > ... > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_low.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_low_pisa.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_pass.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_sa.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_ses.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/rijndael/rijndael-alg-fst.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/rijndael/rijndael-api-fst.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/rijndael/rijndael-api.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/sha1.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/crypto/sha2/sha2.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_cam.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_debug.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_disk.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/aac/aac_pci.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/advansys/adv_eisa.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/advansys/adv_pci.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointe r-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-al ign-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse 2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/advansys/advansys.c > cc1: warnings being treated as errors > /usr/src/sys/dev/advansys/advansys.c: In function 'adv_action': > /usr/src/sys/dev/advansys/advansys.c:259: warning: cast from pointer to integer of d ifferent size > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/CUSTOM. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > cfatechz.com /usr/src # > .... > > It seems that your build failed in the advansys driver. This should not normally be in a PAE kernel. Did you start your CUSTOM kernel with /usr/src/sys/i386/conf/PAE as the base? There are a number of drivers in GENERIC that are not allowed to exist in PAE. Advansys is one of them (there is a 'nodevice adv' in /usr/src/sys/i386/conf/PAE).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907150820.n6F8K6Hd020751>