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 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
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
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]"
buildkernel problem with RELENG_7
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. Thanks! ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]
Am Sun, 28 Jan 2007 19:09:02 -0800 schrieb Sam Leffler <[EMAIL PROTECTED]>: > Kris Kennaway wrote: > > On Mon, Jan 29, 2007 at 01:02:32AM +0100, Harald Schmalzbauer wrote: [...] > >> ath seems to be the problem: > > > > No, your kernel config is the problem ;) You apparently chopped out > > too much when cutting it down from GENERIC. > > > >> /FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to > >> `ieee80211_wme_acnames' > > > > "Undefined reference" almost always means "operator provided an > > incomplete kernel config file". > > man ath shows: > Sorry, my stupid ;) I missed that ath was added to generic so my 'nodevice wlan' of course can't work with new GENERIC. Sorry for the noise, -Harry ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]
Kris Kennaway wrote: > On Mon, Jan 29, 2007 at 01:02:32AM +0100, Harald Schmalzbauer wrote: >> Am Sonntag, 28. Januar 2007 23:17 schrieb Kris Kennaway: >>> On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote: Hello, I don't understand this error: ===> zlib (all) >> [...] 1 error *** Error code 2 Any hints? >>> Rerun make without -j and discover the real error which was some >>> distance back in the interleaved output from your parallel make >>> command. >> Ahh, ok, sorry, it's my first SMP system so I'm not used to this parallel >> build stuff... >> >> ath seems to be the problem: > > No, your kernel config is the problem ;) You apparently chopped out > too much when cutting it down from GENERIC. > >> /FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to >> `ieee80211_wme_acnames' > > "Undefined reference" almost always means "operator provided an > incomplete kernel config file". man ath shows: > To compile this driver into the kernel, place the following lines in your > kernel configuration file: > >device ath >device ath_hal >device ath_rate_sample >device wlan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]
On Mon, Jan 29, 2007 at 01:02:32AM +0100, Harald Schmalzbauer wrote: > Am Sonntag, 28. Januar 2007 23:17 schrieb Kris Kennaway: > > On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote: > > > Hello, > > > > > > I don't understand this error: > > > ===> zlib (all) > [...] > > > 1 error > > > *** Error code 2 > > > > > > Any hints? > > > > Rerun make without -j and discover the real error which was some > > distance back in the interleaved output from your parallel make > > command. > > Ahh, ok, sorry, it's my first SMP system so I'm not used to this parallel > build stuff... > > ath seems to be the problem: No, your kernel config is the problem ;) You apparently chopped out too much when cutting it down from GENERIC. > /FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to > `ieee80211_wme_acnames' "Undefined reference" almost always means "operator provided an incomplete kernel config file". Kris pgpwC97IBmhiv.pgp Description: PGP signature
ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]
Am Sonntag, 28. Januar 2007 23:17 schrieb Kris Kennaway: > On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote: > > Hello, > > > > I don't understand this error: > > ===> zlib (all) [...] > > 1 error > > *** Error code 2 > > > > Any hints? > > Rerun make without -j and discover the real error which was some > distance back in the interleaved output from your parallel make > command. Ahh, ok, sorry, it's my first SMP system so I'm not used to this parallel build stuff... ath seems to be the problem: MAKE=/FlashBSD/obj/i686/FlashBSD/src/make.i386/make sh /FlashBSD/src/sys/conf/newvers.sh CUV-LV cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/FlashBSD/src/sys -I/FlashBSD/src/sys/contrib/altq -I/FlashBSD/src/sys/contrib/ipfilter -I/FlashBSD/src/sys/contrib/pf -I/FlashBSD/src/sys/dev/ath -I/FlashBSD/src/sys/contrib/ngatm -I/FlashBSD/src/sys/dev/twa -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 -ffreestanding -Werror vers.c linking kernel.debug sample.o(.text+0x1a3a): In function `ath_rate_newstate': /FlashBSD/src/sys/dev/ath/ath_rate/sample/sample.c:803: undefined reference to `ieee80211_iterate_nodes' if_ath.o(.text+0x53c): In function `ath_attach': /FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to `ieee80211_wme_acnames' if_ath.o(.text+0xb92):/FlashBSD/src/sys/dev/ath/if_ath.c:599: undefined reference to `ieee80211_ifattach' if_ath.o(.text+0xc3e):/FlashBSD/src/sys/dev/ath/if_ath.c:617: undefined reference to `ieee80211_media_status' if_ath.o(.text+0xc4e):/FlashBSD/src/sys/dev/ath/if_ath.c:617: undefined reference to `ieee80211_media_init' if_ath.o(.text+0xc72):/FlashBSD/src/sys/dev/ath/if_ath.c:627: undefined reference to `ieee80211_announce' if_ath.o(.text+0xcf7): In function `ath_detach': /FlashBSD/src/sys/dev/ath/if_ath.c:664: undefined reference to `ieee80211_ifdetach' if_ath.o(.text+0x11af): In function `ath_bmiss_proc': /FlashBSD/src/sys/dev/ath/if_ath.c:877: undefined reference to `ieee80211_beacon_miss' if_ath.o(.text+0x1239): In function `ath_mapchan': /FlashBSD/src/sys/dev/ath/if_ath.c:903: undefined reference to `ieee80211_chan2mode' if_ath.o(.text+0x1fef): In function `ath_start': /FlashBSD/src/sys/dev/ath/if_ath.c:1205: undefined reference to `ieee80211_find_txnode' if_ath.o(.text+0x2025):/FlashBSD/src/sys/dev/ath/if_ath.c:1218: undefined reference to `ieee80211_pwrsave' if_ath.o(.text+0x2042):/FlashBSD/src/sys/dev/ath/if_ath.c:1222: undefined reference to `ieee80211_classify' if_ath.o(.text+0x2092):/FlashBSD/src/sys/dev/ath/if_ath.c:1234: undefined reference to `ieee80211_encap' if_ath.o(.text+0x21d1):/FlashBSD/src/sys/dev/ath/if_ath.c:1280: undefined reference to `ieee80211_free_node' if_ath.o(.text+0x220e): In function `ath_media_change': /FlashBSD/src/sys/dev/ath/if_ath.c:1296: undefined reference to `ieee80211_media_change' if_ath.o(.text+0x3016): In function `ath_beacon_alloc': /FlashBSD/src/sys/dev/ath/if_ath.c:1987: undefined reference to `ieee80211_beacon_alloc' if_ath.o(.text+0x336e): In function `ath_beacon_proc': /FlashBSD/src/sys/dev/ath/if_ath.c:2155: undefined reference to `ieee80211_beacon_update' if_ath.o(.text+0x374f): In function `ath_beacon_free': /FlashBSD/src/sys/dev/ath/if_ath.c:2289: undefined reference to `ieee80211_free_node' if_ath.o(.text+0x3ef2): In function `ath_descdma_cleanup': /FlashBSD/src/sys/dev/ath/if_ath.c:2624: undefined reference to `ieee80211_free_node' if_ath.o(.text+0x412b): In function `ath_node_alloc': /FlashBSD/src/sys/dev/ath/if_ath.c:2680: undefined reference to `M_80211_NODE' if_ath.o(.text+0x44bc): In function `ath_recv_mgmt': /FlashBSD/src/sys/dev/ath/if_ath.c:2858: undefined reference to `ieee80211_ibss_merge' if_ath.o(.text+0x48ea): In function `ath_rx_proc': /FlashBSD/src/sys/dev/ath/if_ath.c:3036: undefined reference to `ieee80211_notify_michael_failure' if_ath.o(.text+0x4a87):/FlashBSD/src/sys/dev/ath/if_ath.c:3100: undefined reference to `ieee80211_dump_pkt' if_ath.o(.text+0x4ac7):/FlashBSD/src/sys/dev/ath/if_ath.c:3112: undefined reference to `ieee80211_find_rxnode_withkey' if_ath.o(.text+0x4b82):/FlashBSD/src/sys/dev/ath/if_ath.c:3125: undefined reference to `ieee80211_input' if_ath.o(.text+0x4b8d):/FlashBSD/src/sys/dev/ath/if_ath.c:3126: undefined reference to `ieee80211_free_node' if_ath.o(.text+0x4fb4): In function `ath_txq_update': /FlashBSD/src/sys/dev/ath/if_ath.c:3286: undefined reference to `ieee80211_wme_acnames' if_ath.o(.text+0x57c0): In function `ath_tx_start': /FlashBSD/src/sys/dev/ath/if_ath.c:3598: undefined reference to `ieee80211_crypto_encap' if_ath.o(.text+0x5814):/FlashBSD/src/sys/dev/ath/
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]"
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
buildkernel problem
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. Tejas Kokje Graduate Research Assistant Information Sciences Institute University of Southern California ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"