Re: Kernel compile fails
On Sun, Mar 22, 2009 at 10:39 PM, Kent Stewart wrote: > On Sunday 22 March 2009 12:07:44 pm "Remorque" wrote: > > On Sun, Mar 22, 2009 at 9:27 PM, Kent Stewart wrote: > > > On Sunday 22 March 2009 08:43:53 am "Remorque" wrote: > > > > On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart > wrote: > > > > > On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: > > > > > > I have installed 7.1-RELEASE on a hardware with AMD processor. I > > > > > > have successfully buildworld, and now doing the "make kernel" > > > > > > thing.The kernel config file is pretty GENERIC, I only removed > the > > > > > > option to build a DEBUG kernel.I have csup-ped today. > > > > > > However, my compilation fails, viz: > > > > > > > > > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > > > > > > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow > -msoft-float > > > > > > -fno-asynchronous-unwind-tables -ffreestanding -Werror > > > > > > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > > > > > > *** Error code 1 > > > > > > > > > > > > Stop in /usr/obj/usr/src/sys/FS. > > > > > > *** Error code 1 > > > > > > > > > > > > Stop in /usr/src. > > > > > > *** Error code 1 > > > > > > > > > > > > Stop in /usr/src. > > > > > > > > > > > > > > > > > > > > > > > > I can go ahead and comment out all ath_* from the configuration, > > > > > > since > > > > > > > > > I wouldn't really need them at this juncture, but I believe it > > > > > > should not > > > > > > > > > > be > > > > > > > > > > > failing anyway. Do I just wait to csup again tomorrow and hope > this > > > > > > gets fixed? :) > > > > > > > > > > You have optimization options on the compile line that I don't have > > > > > on > > > > > > my > > > > > > > > system. From this, I would guess that you have a cflags statment > > > > > in /etc/make.conf and it is bitting you. > > > > > > > > > > Kent > > > > > > > > Hi Kent, > > > > > > > > Thank you for replying. > > > > > > > > The fact is that: > > > > > > > > 1. I have never used any optimizations ever since I started using > > > > FreeBSD 2. This is a new box, and there is no /etc/make.conf as yet > > > > > > > > The only things I have done on this box (a Dell SC1435) is to > install, > > > > > > csup > > > > > > > (src, ports) and buildworld. > > > > I was just gonna do the kernel, then start doing the other stuff > after > > > > > > the > > > > > > > system updates. > > > > > > > > Your guess is wrong:-) > > > > > > Yes, you are right. I cvsuped and rebuilt my system and it died at the > > > same spot. > > > > Looks like AH_SUPPORT_AR5416 from 20090312 of /usr/src/UPDATING helped me > > compile my kernel successfully! > > Now another problem appears: > > The AH_* stuff also fixed my problem. > > > > > fs# make installworld > > mkdir -p /tmp/install.4l9c3cd6 > > for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find > > grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh > > sysctl test true uname wc zic; do cp `which $prog` > /tmp/install.4l9c3cd6; > > done > > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 > > CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GRO > > FF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > PATH=/usr/obj/usr > > > /src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/s > >rc/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/us > > r/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.4l9c3cd6 > make > > -f Makefile.inc1 reinstall > > -- > > > > >>> Making hierarchy > > > > -- > > cd /usr/src; make -f Makefile.inc1 hierarchy > > cd /usr/src/etc;make distrib-dirs > > mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / > > mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var > > mtree -eU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr > > mtree -eU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include > > mtree -deU -f /usr/src/etc/mtree/BIND.chroot.dist -p /var/named > > mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / > > cd /; rm -f /sys; ln -s usr/src/sys sys > > cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . > > cd /usr/share/man; set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; >
Re: Kernel compile fails
On Sunday 22 March 2009 12:07:44 pm "Remorque" wrote: > On Sun, Mar 22, 2009 at 9:27 PM, Kent Stewart wrote: > > On Sunday 22 March 2009 08:43:53 am "Remorque" wrote: > > > On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart wrote: > > > > On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: > > > > > I have installed 7.1-RELEASE on a hardware with AMD processor. I > > > > > have successfully buildworld, and now doing the "make kernel" > > > > > thing.The kernel config file is pretty GENERIC, I only removed the > > > > > option to build a DEBUG kernel.I have csup-ped today. > > > > > However, my compilation fails, viz: > > > > > > > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > > > > > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > > > > > -fno-asynchronous-unwind-tables -ffreestanding -Werror > > > > > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/obj/usr/src/sys/FS. > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/src. > > > > > *** Error code 1 > > > > > > > > > > Stop in /usr/src. > > > > > > > > > > > > > > > > > > > > I can go ahead and comment out all ath_* from the configuration, > > > > since > > > > > > > I wouldn't really need them at this juncture, but I believe it > > > > > should not > > > > > > > > be > > > > > > > > > failing anyway. Do I just wait to csup again tomorrow and hope this > > > > > gets fixed? :) > > > > > > > > You have optimization options on the compile line that I don't have > > > > on > > > > my > > > > > > system. From this, I would guess that you have a cflags statment > > > > in /etc/make.conf and it is bitting you. > > > > > > > > Kent > > > > > > Hi Kent, > > > > > > Thank you for replying. > > > > > > The fact is that: > > > > > > 1. I have never used any optimizations ever since I started using > > > FreeBSD 2. This is a new box, and there is no /etc/make.conf as yet > > > > > > The only things I have done on this box (a Dell SC1435) is to install, > > > > csup > > > > > (src, ports) and buildworld. > > > I was just gonna do the kernel, then start doing the other stuff after > > > > the > > > > > system updates. > > > > > > Your guess is wrong:-) > > > > Yes, you are right. I cvsuped and rebuilt my system and it died at the > > same spot. > > Looks like AH_SUPPORT_AR5416 from 20090312 of /usr/src/UPDATING helped me > compile my kernel successfully! > Now another problem appears: The AH_* stuff also fixed my problem. > > fs# make installworld > mkdir -p /tmp/install.4l9c3cd6 > for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find > grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh > sysctl test true uname wc zic; do cp `which $prog` /tmp/install.4l9c3cd6; > done > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 > CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GRO > FF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > PATH=/usr/obj/usr > /src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/s >rc/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/us > r/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.4l9c3cd6 make > -f Makefile.inc1 reinstall > -- > > >>> Making hierarchy > > -- > cd /usr/src; make -f Makefile.inc1 hierarchy > cd /usr/src/etc;make distrib-dirs > mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / > mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var > mtree -eU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr > mtree -eU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include > mtree -deU -f /usr/src/etc/mtree/BIND.chroot.dist -p /var/named > mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / > cd /; rm -f /sys; ln -s usr/src/sys sys > cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . > cd /usr/share/man; set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; while > [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift > ; done > cd /usr/share/openssl/man; set - `grep "^[a-zA-Z]" > /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s > "$2" "$1"; shif > t; shift; done > cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . > cd /usr/share/nls
Re: Kernel compile fails
On Sun, Mar 22, 2009 at 9:27 PM, Kent Stewart wrote: > On Sunday 22 March 2009 08:43:53 am "Remorque" wrote: > > On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart wrote: > > > On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: > > > > I have installed 7.1-RELEASE on a hardware with AMD processor. I have > > > > successfully buildworld, and now doing the "make kernel" thing.The > > > > kernel config file is pretty GENERIC, I only removed the option to > > > > build a DEBUG kernel.I have csup-ped today. > > > > However, my compilation fails, viz: > > > > > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > > > > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > > > > -fno-asynchronous-unwind-tables -ffreestanding -Werror > > > > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > > > > *** Error code 1 > > > > > > > > Stop in /usr/obj/usr/src/sys/FS. > > > > *** Error code 1 > > > > > > > > Stop in /usr/src. > > > > *** Error code 1 > > > > > > > > Stop in /usr/src. > > > > > > > > > > > > > > > > I can go ahead and comment out all ath_* from the configuration, > since > > > > I wouldn't really need them at this juncture, but I believe it should > > > > not > > > > > > be > > > > > > > failing anyway. Do I just wait to csup again tomorrow and hope this > > > > gets fixed? :) > > > > > > You have optimization options on the compile line that I don't have on > my > > > system. From this, I would guess that you have a cflags statment > > > in /etc/make.conf and it is bitting you. > > > > > > Kent > > > > Hi Kent, > > > > Thank you for replying. > > > > The fact is that: > > > > 1. I have never used any optimizations ever since I started using FreeBSD > > 2. This is a new box, and there is no /etc/make.conf as yet > > > > The only things I have done on this box (a Dell SC1435) is to install, > csup > > (src, ports) and buildworld. > > I was just gonna do the kernel, then start doing the other stuff after > the > > system updates. > > > > Your guess is wrong:-) > > Yes, you are right. I cvsuped and rebuilt my system and it died at the same > spot. > Looks like AH_SUPPORT_AR5416 from 20090312 of /usr/src/UPDATING helped me compile my kernel successfully! Now another problem appears: fs# make installworld mkdir -p /tmp/install.4l9c3cd6 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.4l9c3cd6; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GRO FF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 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/us r/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.4l9c3cd6 make -f Makefile.inc1 reinstall -- >>> Making hierarchy -- cd /usr/src; make -f Makefile.inc1 hierarchy cd /usr/src/etc;make distrib-dirs mtree -eU -f /usr/src/etc/mtree/BSD.root.dist -p / mtree -eU -f /usr/src/etc/mtree/BSD.var.dist -p /var mtree -eU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr mtree -eU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /usr/src/etc/mtree/BIND.chroot.dist -p /var/named mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/man; set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift ; done cd /usr/share/openssl/man; set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shif t; shift; done cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/nls; set - `grep "^[a-zA-Z]" /usr/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift ; done -- >>> Installing everything -- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> lib (insta
Re: Kernel compile fails
On Sunday 22 March 2009 08:43:53 am "Remorque" wrote: > On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart wrote: > > On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: > > > I have installed 7.1-RELEASE on a hardware with AMD processor. I have > > > successfully buildworld, and now doing the "make kernel" thing.The > > > kernel config file is pretty GENERIC, I only removed the option to > > > build a DEBUG kernel.I have csup-ped today. > > > However, my compilation fails, viz: > > > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > > > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > > > -fno-asynchronous-unwind-tables -ffreestanding -Werror > > > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > > > *** Error code 1 > > > > > > Stop in /usr/obj/usr/src/sys/FS. > > > *** Error code 1 > > > > > > Stop in /usr/src. > > > *** Error code 1 > > > > > > Stop in /usr/src. > > > > > > > > > > > > I can go ahead and comment out all ath_* from the configuration, since > > > I wouldn't really need them at this juncture, but I believe it should > > > not > > > > be > > > > > failing anyway. Do I just wait to csup again tomorrow and hope this > > > gets fixed? :) > > > > You have optimization options on the compile line that I don't have on my > > system. From this, I would guess that you have a cflags statment > > in /etc/make.conf and it is bitting you. > > > > Kent > > Hi Kent, > > Thank you for replying. > > The fact is that: > > 1. I have never used any optimizations ever since I started using FreeBSD > 2. This is a new box, and there is no /etc/make.conf as yet > > The only things I have done on this box (a Dell SC1435) is to install, csup > (src, ports) and buildworld. > I was just gonna do the kernel, then start doing the other stuff after the > system updates. > > Your guess is wrong:-) Yes, you are right. I cvsuped and rebuilt my system and it died at the same spot. kent -- kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
"Remorque" wrote: > > > > > > If you csup'd source as you say above, you are now on 7-STABLE. > There have been some changes in the atheros driver, and I noticed your > build stopped there. > > Look at the new GENERIC conf file: > > device ath # Atheros pci/cardbus NIC's > device ath_hal # Atheros HAL (Hardware Access Layer) > options AH_SUPPORT_AR5416 # enable AR5416 tx/rx > descriptors > device ath_rate_sample # SampleRate tx rate control for ath > > If your custom configuration file comes from editing a 7.0-RELEASE > e.g. > GENERIC, it will fail. Use the newer GENERIC as a starting point, or > simply replace the atheros entries with the ones above. > > > I used the 7.1 DVD to install, not 7.0. > From my observation (having gone thro 5 `make kernel` attempts now) is > that the failure is quite random. > I am not sure what is happening actually. > If you used the standard-supfile to csup src, you are still on 7.1-RELEASE+patches and this should not happen. If you used the stable-supfile for src, then the above still stands. Anyway, if it stops at different places every time, it may indicate a hardware failure of some sort (e.g. RAM). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
On Sun, Mar 22, 2009 at 7:04 PM, Manolis Kiagias wrote: > "Remorque" wrote: > > On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart wrote: > > > > > >> On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: > >> > >>> I have installed 7.1-RELEASE on a hardware with AMD processor. I have > >>> successfully buildworld, and now doing the "make kernel" thing.The > kernel > >>> config file is pretty GENERIC, I only removed the option to build a > DEBUG > >>> kernel.I have csup-ped today. > >>> However, my compilation fails, viz: > >>> > >>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > >>> -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > >>> -fno-asynchronous-unwind-tables -ffreestanding -Werror > >>> /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > >>> *** Error code 1 > >>> > >>> Stop in /usr/obj/usr/src/sys/FS. > >>> *** Error code 1 > >>> > >>> Stop in /usr/src. > >>> *** Error code 1 > >>> > >>> Stop in /usr/src. > >>> > >>> > >>> > >>> I can go ahead and comment out all ath_* from the configuration, since > I > >>> wouldn't really need them at this juncture, but I believe it should not > >>> > >> be > >> > >>> failing anyway. Do I just wait to csup again tomorrow and hope this > gets > >>> fixed? :) > >>> > >> You have optimization options on the compile line that I don't have on > my > >> system. From this, I would guess that you have a cflags statment > >> in /etc/make.conf and it is bitting you. > >> > >> Kent > >> > > > > > > Hi Kent, > > > > Thank you for replying. > > > > The fact is that: > > > > 1. I have never used any optimizations ever since I started using FreeBSD > > 2. This is a new box, and there is no /etc/make.conf as yet > > > > The only things I have done on this box (a Dell SC1435) is to install, > csup > > (src, ports) and buildworld. > > I was just gonna do the kernel, then start doing the other stuff after > the > > system updates. > > > > Your guess is wrong:-) > > > > > > If you csup'd source as you say above, you are now on 7-STABLE. > There have been some changes in the atheros driver, and I noticed your > build stopped there. > > Look at the new GENERIC conf file: > > device ath # Atheros pci/cardbus NIC's > device ath_hal # Atheros HAL (Hardware Access Layer) > options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors > device ath_rate_sample # SampleRate tx rate control for ath > > If your custom configuration file comes from editing a 7.0-RELEASE e.g. > GENERIC, it will fail. Use the newer GENERIC as a starting point, or > simply replace the atheros entries with the ones above. I used the 7.1 DVD to install, not 7.0. >From my observation (having gone thro 5 `make kernel` attempts now) is that the failure is quite random. I am not sure what is happening actually. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
On Sun, Mar 22, 2009 at 6:57 PM, Giorgos Keramidas wrote: > On Sun, 22 Mar 2009 17:53:00 +0300, "\"Remorque\"" > wrote: > > I have installed 7.1-RELEASE on a hardware with AMD processor. I have > > successfully buildworld, and now doing the "make kernel" thing.The kernel > > config file is pretty GENERIC, I only removed the option to build a DEBUG > > kernel.I have csup-ped today. > > However, my compilation fails, viz: > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > > -fno-asynchronous-unwind-tables -ffreestanding -Werror > > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/FS. > > *** Error code 1 > > This snippet does not include *any* compiler warning or error line. Are > you building with a high -j option? No. > If yes, can you try removing the already built stuff from `/usr/obj/*' and > rebuilding without any -jXXX > option in the buildworld/buildkernel command-line? > I have removed the stuff in /usr/obj/* and now rebuilding kernel again. Let me see what happens. PS: I have never used any -j option ever, so this is pretty odd. This also happens to be the first AMD (Quad Core) box that I have ever build. If it matters, the dmesg output can be seen here - http://gw.crownkenya.com/~wash/dmesg-amd.txt -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
"Remorque" wrote: > On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart wrote: > > >> On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: >> >>> I have installed 7.1-RELEASE on a hardware with AMD processor. I have >>> successfully buildworld, and now doing the "make kernel" thing.The kernel >>> config file is pretty GENERIC, I only removed the option to build a DEBUG >>> kernel.I have csup-ped today. >>> However, my compilation fails, viz: >>> >>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone >>> -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float >>> -fno-asynchronous-unwind-tables -ffreestanding -Werror >>> /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath >>> *** Error code 1 >>> >>> Stop in /usr/obj/usr/src/sys/FS. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> >>> >>> >>> I can go ahead and comment out all ath_* from the configuration, since I >>> wouldn't really need them at this juncture, but I believe it should not >>> >> be >> >>> failing anyway. Do I just wait to csup again tomorrow and hope this gets >>> fixed? :) >>> >> You have optimization options on the compile line that I don't have on my >> system. From this, I would guess that you have a cflags statment >> in /etc/make.conf and it is bitting you. >> >> Kent >> > > > Hi Kent, > > Thank you for replying. > > The fact is that: > > 1. I have never used any optimizations ever since I started using FreeBSD > 2. This is a new box, and there is no /etc/make.conf as yet > > The only things I have done on this box (a Dell SC1435) is to install, csup > (src, ports) and buildworld. > I was just gonna do the kernel, then start doing the other stuff after the > system updates. > > Your guess is wrong:-) > > If you csup'd source as you say above, you are now on 7-STABLE. There have been some changes in the atheros driver, and I noticed your build stopped there. Look at the new GENERIC conf file: device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device ath_rate_sample # SampleRate tx rate control for ath If your custom configuration file comes from editing a 7.0-RELEASE e.g. GENERIC, it will fail. Use the newer GENERIC as a starting point, or simply replace the atheros entries with the ones above. This change is also documented in /usr/src/UPDATING ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
On Sun, 22 Mar 2009 17:53:00 +0300, "\"Remorque\"" wrote: > I have installed 7.1-RELEASE on a hardware with AMD processor. I have > successfully buildworld, and now doing the "make kernel" thing.The kernel > config file is pretty GENERIC, I only removed the option to build a DEBUG > kernel.I have csup-ped today. > However, my compilation fails, viz: > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -Werror > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/FS. > *** Error code 1 This snippet does not include *any* compiler warning or error line. Are you building with a high -j option? If yes, can you try removing the already built stuff from `/usr/obj/*' and rebuilding without any -jXXX option in the buildworld/buildkernel command-line? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
On Sun, Mar 22, 2009 at 6:46 PM, Vasadi I. Claudiu Florin < claudiu.vas...@gmail.com> wrote: > Still, the fact that there are some optimisation flags remain. That would > be the first thing I would take into consideration in this matter. > Fine. Where do you suppose they are? I am saying this is a pristine system. There is absolutely nothing foreign that I have added so far. I've not installed a single thing besides the OS.There can't be anything like optimization anywhere so far, unless it is hidden inside "make". %uname -a FreeBSD fs.ilink.co.ke 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/s ys/GENERIC amd64 % % %env USER=wash LOGNAME=wash HOME=/home/wash MAIL=/var/mail/wash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/wash/bin TERM=linux FTP_PASSIVE_MODE=YES BLOCKSIZE=K SHELL=/bin/csh SSH_CLIENT=192.168.1.100 3033 22 SSH_CONNECTION=192.168.1.100 3033 192.168.1.201 22 SSH_TTY=/dev/ttyp1 HOSTTYPE=FreeBSD VENDOR=unknown OSTYPE=FreeBSD MACHTYPE=unknown SHLVL=1 PWD=/home/wash GROUP=wheel HOST=fs.ilink.co.ke REMOTEHOST=192.168.1.100 EDITOR=vi PAGER=more %ls -al total 22 drwxr-xr-x 3 wash wheel 512 Mar 22 14:07 . drwxr-xr-x 3 root wheel 512 Mar 19 01:49 .. -rw-r--r-- 1 wash wheel 758 Mar 19 01:49 .cshrc -rw-r--r-- 1 wash wheel 258 Mar 19 01:49 .login -rw-r--r-- 1 wash wheel 167 Mar 19 01:49 .login_conf -rw--- 1 wash wheel 379 Mar 19 01:49 .mail_aliases -rw-r--r-- 1 wash wheel 339 Mar 19 01:49 .mailrc -rw-r--r-- 1 wash wheel 773 Mar 19 01:49 .profile -rw--- 1 wash wheel 284 Mar 19 01:49 .rhosts -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
Still, the fact that there are some optimisation flags remain. That would be the first thing I would take into consideration in this matter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart wrote: > On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: > > I have installed 7.1-RELEASE on a hardware with AMD processor. I have > > successfully buildworld, and now doing the "make kernel" thing.The kernel > > config file is pretty GENERIC, I only removed the option to build a DEBUG > > kernel.I have csup-ped today. > > However, my compilation fails, viz: > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > > -fno-asynchronous-unwind-tables -ffreestanding -Werror > > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/FS. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > > > > > I can go ahead and comment out all ath_* from the configuration, since I > > wouldn't really need them at this juncture, but I believe it should not > be > > failing anyway. Do I just wait to csup again tomorrow and hope this gets > > fixed? :) > > You have optimization options on the compile line that I don't have on my > system. From this, I would guess that you have a cflags statment > in /etc/make.conf and it is bitting you. > > Kent Hi Kent, Thank you for replying. The fact is that: 1. I have never used any optimizations ever since I started using FreeBSD 2. This is a new box, and there is no /etc/make.conf as yet The only things I have done on this box (a Dell SC1435) is to install, csup (src, ports) and buildworld. I was just gonna do the kernel, then start doing the other stuff after the system updates. Your guess is wrong:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Kernel compile fails
On Sunday 22 March 2009 07:53:00 am "Remorque" wrote: > I have installed 7.1-RELEASE on a hardware with AMD processor. I have > successfully buildworld, and now doing the "make kernel" thing.The kernel > config file is pretty GENERIC, I only removed the option to build a DEBUG > kernel.I have csup-ped today. > However, my compilation fails, viz: > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -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 -mcmodel=kernel -mno-red-zone > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -Werror > /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/FS. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > > I can go ahead and comment out all ath_* from the configuration, since I > wouldn't really need them at this juncture, but I believe it should not be > failing anyway. Do I just wait to csup again tomorrow and hope this gets > fixed? :) You have optimization options on the compile line that I don't have on my system. From this, I would guess that you have a cflags statment in /etc/make.conf and it is bitting you. Kent -- kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"