Re: buildkernel problem with RELENG_7
On 12/04/2008, Juraj Lutter [EMAIL PROTECTED] wrote: Dear folks, there seems to be some problem in SCSI/CAM code in RELENG_7: -- stage 3.2: building everything -- cd /usr/obj/usr/src/sys/real; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=pentium3 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make KERNEL=kernel all -DNO_MODULES_OBJ cc -c -Os -pipe -fno-strict-aliasing -march=pentium3 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-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-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/scsi/scsi_ses.c cc1: warnings being treated as errors /usr/src/sys/cam/scsi/scsi_ses.c: In function 'ses_get_encstat': /usr/src/sys/cam/scsi/scsi_ses.c:989: warning: 'ComStat.comstatus' may be used uninitialized in this function *** Error code 1 Am I doing something wrong or something went wrong? /usr/src and /usr/obj were created from scratch. Are you using modified CFLAGS in make.conf ? I see -Os in your build and I could reproduce it with -Os. It's FAQ that -Os flag is not recommended. Try with default optimization flags, please. wbr, pluknet ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildkernel problem with RELENG_7
pluknet wrote: Are you using modified CFLAGS in make.conf ? I see -Os in your build and I could reproduce it with -Os. It's FAQ that -Os flag is not recommended. Try with default optimization flags, please. Just for the record, with default CFLAGS I am getting kind of: -997 bytes available *** Error 1 somwehere in sys/boot/i386/boot2/ (line 64 of Makefile) otis ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildkernel problem with RELENG_7
pluknet wrote: Are you using modified CFLAGS in make.conf ? I see -Os in your build and I could reproduce it with -Os. It's FAQ that -Os flag is not recommended. Try with default optimization flags, please. With empty src.conf it works, but anyway, it used to work even with -Os before. On the other hand, aren't those uninitialized variables potentionally a bug? otis ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildkernel problem with RELENG_7
On Fri, Apr 11, 2008 at 11:27:48PM +0200, Juraj Lutter wrote: On the other hand, aren't those uninitialized variables potentionally a bug? Potentially, yes, but not guaranteed. The existing -STABLE tree emits a very large number of warnings. I'm a strong advocate of using -Werror (treat warnings as errors), and I've always wondered why the -STABLE tree didn't default to this behaviour. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildkernel problem
Tejas Kokje wrote: Hi, Hello, I am trying to do buildkernel with my own configuration file (MYKERNEL_CONFIG). I am getting the following error. I am not sure what is wrong. Any help will be appreciated . #make buildkernel KERNCONF=MYKERNEL_CONFIG [...] Warning: device cz is unknown ^^^ You should check your MYKERNEL_CONFIG and look for the line : device cz This device doesn't exist. Maybe it's a typo, but I don't know a device with a similar name. You should comment it out or remove it, then start the buildkernel again. Hope this help :) Regards, Jean-Sébastien Pédron signature.asc Description: OpenPGP digital signature
Re: buildkernel problem
Tejas Kokje wrote: Hi, I am trying to do buildkernel with my own configuration file (MYKERNEL_CONFIG). I am getting the following error. I am not sure what is wrong. Any help will be appreciated . # uname -sr FreeBSD 4.9-RELEASE-p11 #make buildkernel KERNCONF=MYKERNEL_CONFIG -- Kernel build for MYKERNEL_CONFIG started on Mon Nov 22 12:25:36 PST 2004 -- === MYKERNEL_CONFIG mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/MYKERNEL_CONFIG /usr/src/sys/i386/conf/MYKERNEL_CONFIG Don't forget to do a ``make depend'' Warning: device cz is unknown *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. no cz.c in your build path (/usr/src/sys/dev/). Is there a cyclades Z series card in the system? If you need the driver you can get it from their website. jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]