Date: Sat, 12 Apr 2008 00:40:12 +0400 From: pluknet <pluknet@gmail.com> To: "Juraj Lutter" <wilbuy@gmail.com> Cc: stable@freebsd.org Subject: Re: buildkernel problem with RELENG_7 Message-ID: <a31046fc0804111340n10c8abf9y51c4ffcea37f574c@mail.gmail.com> In-Reply-To: <47FFC509.5050502@gmail.com> References: <47FFC509.5050502@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/04/2008, Juraj Lutter <wilbuy@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0804111340n10c8abf9y51c4ffcea37f574c>