Olav Grønås Gjerde
2013-Apr-17 07:10 UTC
make buildkernel for GENERIC 9-STABLE just hangs, no error
I have a weird problem while building the GENERIC 9-STABLE kernel. After around 5 minutes of compile time, the process just hangs on same place. No error. I've tried compiling different commits from this week with the same result. The part in the buildkernel process that hangs is this: MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC /usr/local/bin/svnversion cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c ctfconvert -L VERSION -g vers.o linking kernel.debug ctfmerge -L VERSION -g -o kernel.debug ............+ alot of *.o Any suggestions?
Trond Endrestøl
2013-Apr-17 11:47 UTC
make buildkernel for GENERIC 9-STABLE just hangs, no error
On Wed, 17 Apr 2013 09:10+0200, Olav Gr?n?s Gjerde wrote:> I have a weird problem while building the GENERIC 9-STABLE kernel. After > around 5 minutes of compile time, the process just hangs on same place. No > error. I've tried compiling different commits from this week with the same > result. > > The part in the buildkernel process that hangs is this: > MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC > /usr/local/bin/svnversion > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs > -fdiagnostics-show-option -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 -fno-omit-frame-pointer -mcmodel=kernel > -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > vers.c > ctfconvert -L VERSION -g vers.o > linking kernel.debug > ctfmerge -L VERSION -g -o kernel.debug ............+ alot of *.o > > Any suggestions?No trouble compiling world, custom kernel, and GENERIC kernel, as of r249577, running on amd64 stable/9 r248696. Try resynchronizing your source tree, rm -Rf /usr/obj/*, and recompile world and kernel. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+
Andrei Brezan
2013-Apr-17 15:51 UTC
make buildkernel for GENERIC 9-STABLE just hangs, no error
On 04/17/13 09:10, Olav Gr?n?s Gjerde wrote:> I have a weird problem while building the GENERIC 9-STABLE kernel. After > around 5 minutes of compile time, the process just hangs on same place. No > error. I've tried compiling different commits from this week with the same > result. > > The part in the buildkernel process that hangs is this: > MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC > /usr/local/bin/svnversion > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs > -fdiagnostics-show-option -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 -fno-omit-frame-pointer -mcmodel=kernel > -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > vers.c > ctfconvert -L VERSION -g vers.o > linking kernel.debug > ctfmerge -L VERSION -g -o kernel.debug ............+ alot of *.o > > Any suggestions? > _______________________________________________ > freebsd-stable at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"Ctrl-T (SIGINFO) might give you a hint where it's hanging. -- Andrei
Brooks Davis
2013-Apr-17 18:16 UTC
make buildkernel for GENERIC 9-STABLE just hangs, no error
On Wed, Apr 17, 2013 at 09:10:59AM +0200, Olav Gr?n?s Gjerde wrote:> I have a weird problem while building the GENERIC 9-STABLE kernel. After > around 5 minutes of compile time, the process just hangs on same place. No > error. I've tried compiling different commits from this week with the same > result. > > The part in the buildkernel process that hangs is this: > MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC > /usr/local/bin/svnversion > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs > -fdiagnostics-show-option -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 -fno-omit-frame-pointer -mcmodel=kernel > -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > vers.c > ctfconvert -L VERSION -g vers.o > linking kernel.debug > ctfmerge -L VERSION -g -o kernel.debug ............+ alot of *.o > > Any suggestions?In the DTrace commit message thread, you mentioned that you were upgrading from an old 8-STABLE to 9 when you got the hang. Could you quantify how old that 8-STABLE was/is? If it's pre-8.3 it would be really helpful if you could upgrade to 8.3 and test that. If that works then I think a note in UPDATING would be sufficient as our historical policy has been to support upgrading to release X.Y from (X-1).<newest>. If it turns out that we need to upgrade to 8.4 we may need to consider backing this out for a bit. -- Brooks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130417/1902c672/attachment.sig>