Re: Mozilla compilation and P4 problems?
On Fri, 2003-11-28 at 09:19, Byron Schlemmer wrote: > Hmm, I'm beginning to think that this might me a hyper threading issue. > I am running an SMP kernel with machdep.cpu_idle_hlt set to 1. Looking > at previous posts HTT maybe because of : > > From: Terry Lambert ([EMAIL PROTECTED]) > Subject: Re: Confused about HyperThreading and Performance > Date: 2003-11-13 04:37:45 PST > > "The reason you are seeing a performance drop is contention for > shared resources that the scheduler doesn't know are shared. > > SPECmark and similar benchmarks tend to get worse numbers on > every OS when SMT is enabled, due to contention." > > I'll try disabling hyper threading if it fails to compile again. Well doesn't seem to be HTT. I booted a 5.1-RELEASE stock kernel and it died again. What is worrying me is the randomness of the failures. Hardware? Odd that world and kernel built fine ... gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/uriloader/exthandler' . . . /usr/bin/perl5 -I../../config ../../config/build-list.pl ../../dist/include/exthandler/.headerlist nsCExternalHandlerService.h nsIExternalProtocolService.h nsIExternalHelperAppService.h gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/uriloader/exthandler' gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/uriloader/prefetch' Creating .deps gmake[3]: *** [../../dist/include/prefetch] Segmentation fault (core dumped) gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/uriloader/prefetch' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/uriloader' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 -- Byron signature.asc Description: This is a digitally signed message part
Re: Mozilla compilation and P4 problems?
On Fri, 2003-11-28 at 08:43, Byron Schlemmer wrote: > Hmm strange thing is I am using the defaults from > /usr/share/examples/etc/make.conf, I've even tried removing them from my > /etc/make.conf it still seems to die. Albeit in a different spot now? > > gmake[3]: Entering directory > `/usr/ports/www/mozilla/work/mozilla/netwerk/socket' > gmake[4]: Entering directory > `/usr/ports/www/mozilla/work/mozilla/netwerk/socket/base' > . > . > . > ../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o > _xpidlgen/nsISSLSocketControl nsISSLSocketControl.idl > ../../../dist/bin/xpt_link _xpidlgen/necko_socket.xpt > _xpidlgen/nsISocketProvider.xpt _xpidlgen/nsISocketProviderService.xpt > _xpidlgen/nsISOCKSSocketProvider.xpt _xpidlgen/nsISOCKSSocketInfo.xpt > _xpidlgen/nsISOCKS4SocketProvider.xpt _xpidlgen/nsISOCKS4SocketInfo.xpt > _xpidlgen/nsISSLSocketProvider.xpt > _xpidlgen/nsITransportSecurityInfo.xpt _xpidlgen/nsISSLSocketControl.xpt > ../../../config/nsinstall -R -m 644 _xpidlgen/necko_socket.xpt > ../../../dist/bin/components > gmake[4]: *** [libs] Illegal instruction (core dumped) > gmake[4]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/netwerk/socket/base' > gmake[3]: *** [libs] Error 2 > gmake[3]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/netwerk/socket' > gmake[2]: *** [libs] Error 2 > gmake[2]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/netwerk' > gmake[1]: *** [tier_9] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 > > > Joe > > Thanks for such a quick response. Any ideas now? Hmm, I'm beginning to think that this might me a hyper threading issue. I am running an SMP kernel with machdep.cpu_idle_hlt set to 1. Looking at previous posts HTT maybe because of : From: Terry Lambert ([EMAIL PROTECTED]) Subject: Re: Confused about HyperThreading and Performance Date: 2003-11-13 04:37:45 PST "The reason you are seeing a performance drop is contention for shared resources that the scheduler doesn't know are shared. SPECmark and similar benchmarks tend to get worse numbers on every OS when SMT is enabled, due to contention." I'll try disabling hyper threading if it fails to compile again. -- Byron signature.asc Description: This is a digitally signed message part
Re: Mozilla compilation and P4 problems?
On Fri, 2003-11-28 at 08:26, Joe Marcus Clarke wrote: > CPUTYPE=p4 is not supported in 5.1-RELEASE, but was compensated for by > using p3 internally. However, I bet you're still using non-standard Ah, okay. Thanks for that. > CFLAGS or CXXFLAGS. If so, switch back to using default > CFLAGS/CXXFLAGS, and the build should work for you. Hmm strange thing is I am using the defaults from /usr/share/examples/etc/make.conf, I've even tried removing them from my /etc/make.conf it still seems to die. Albeit in a different spot now? gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket/base' . . . ../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o _xpidlgen/nsISSLSocketControl nsISSLSocketControl.idl ../../../dist/bin/xpt_link _xpidlgen/necko_socket.xpt _xpidlgen/nsISocketProvider.xpt _xpidlgen/nsISocketProviderService.xpt _xpidlgen/nsISOCKSSocketProvider.xpt _xpidlgen/nsISOCKSSocketInfo.xpt _xpidlgen/nsISOCKS4SocketProvider.xpt _xpidlgen/nsISOCKS4SocketInfo.xpt _xpidlgen/nsISSLSocketProvider.xpt _xpidlgen/nsITransportSecurityInfo.xpt _xpidlgen/nsISSLSocketControl.xpt ../../../config/nsinstall -R -m 644 _xpidlgen/necko_socket.xpt ../../../dist/bin/components gmake[4]: *** [libs] Illegal instruction (core dumped) gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket/base' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 > Joe Thanks for such a quick response. Any ideas now? -- Byron signature.asc Description: This is a digitally signed message part
Re: Mozilla compilation and P4 problems?
On Fri, 2003-11-28 at 01:18, Byron Schlemmer wrote: > Hi all, > > I have a rather annoying problem here. I can't seem to build mozilla > from ports (cvsuped at 06:13GMT today). I'm not sure if this is freebsd > related but perhaps someone has had a similar problem. I'm running a P4 > 2.8GHz 800FSB and have tried CPUTYPE set to p4, i686, i386 in > /etc/make.conf none seem to make any difference. On a side note I was > able to build world and kernel with CPUTYPE=p4 although I noticed the > gcc flag seemed to be compiling with -march=pentium3? Here is a dump of > the failed compile. Any help would be most appreciated. > > hammer# pwd > /usr/ports/www/mozilla > hammer# make build > . > . > . > gmake[4]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/public' > gmake[4]: Entering directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' > Creating .deps > /usr/bin/perl5 -I../../../config ../../../config/build-list.pl > ../../../config/final-link-libs unicharutil_s > ../../../config/nsinstall -R -m 644 nsUnicharUtils.h > ../../../dist/include/unicharutil > /usr/bin/perl5 -I../../../config ../../../config/build-list.pl > ../../../dist/include/unicharutil/.headerlist nsUnicharUtils.hgmake[4]: > Leaving directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' > gmake[4]: Entering directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' > Creating .deps > gmake[4]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' > gmake[4]: Entering directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' > gmake[4]: Nothing to be done for `export'. > gmake[4]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' > gmake[3]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil' > gmake[3]: Entering directory > `/usr/ports/www/mozilla/work/mozilla/intl/uconv' > /usr/bin/perl5 ../../build/autoconf/make-makefile -t ../.. -d ../.. > util/Makefile > creating intl/uconv/util/Makefile > gmake[4]: Entering directory > `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' > gmake[4]: *** [../../../dist/idl] Segmentation fault (core dumped) > gmake[4]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' > gmake[3]: *** [export] Error 2 > gmake[3]: Leaving directory > `/usr/ports/www/mozilla/work/mozilla/intl/uconv' > gmake[2]: *** [export] Error 2 > gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl' > gmake[1]: *** [tier_9] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 > > Stop in /usr/ports/www/mozilla. > > Is this possibly a hardware problem? As it's all new hardware I'm a bit > suspicious but as I mentioned world and kernel seem to compile fine as > well as most of gnome2. Any ideas? CPUTYPE=p4 is not supported in 5.1-RELEASE, but was compensated for by using p3 internally. However, I bet you're still using non-standard CFLAGS or CXXFLAGS. If so, switch back to using default CFLAGS/CXXFLAGS, and the build should work for you. Joe > > Thanks, -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Mozilla compilation and P4 problems?
Hi all, I have a rather annoying problem here. I can't seem to build mozilla from ports (cvsuped at 06:13GMT today). I'm not sure if this is freebsd related but perhaps someone has had a similar problem. I'm running a P4 2.8GHz 800FSB and have tried CPUTYPE set to p4, i686, i386 in /etc/make.conf none seem to make any difference. On a side note I was able to build world and kernel with CPUTYPE=p4 although I noticed the gcc flag seemed to be compiling with -march=pentium3? Here is a dump of the failed compile. Any help would be most appreciated. hammer# pwd /usr/ports/www/mozilla hammer# make build . . . gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/public' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' Creating .deps /usr/bin/perl5 -I../../../config ../../../config/build-list.pl ../../../config/final-link-libs unicharutil_s ../../../config/nsinstall -R -m 644 nsUnicharUtils.h ../../../dist/include/unicharutil /usr/bin/perl5 -I../../../config ../../../config/build-list.pl ../../../dist/include/unicharutil/.headerlist nsUnicharUtils.hgmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' Creating .deps gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' gmake[4]: Nothing to be done for `export'. gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil' gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv' /usr/bin/perl5 ../../build/autoconf/make-makefile -t ../.. -d ../.. util/Makefile creating intl/uconv/util/Makefile gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' gmake[4]: *** [../../../dist/idl] Segmentation fault (core dumped) gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' gmake[3]: *** [export] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/mozilla. Is this possibly a hardware problem? As it's all new hardware I'm a bit suspicious but as I mentioned world and kernel seem to compile fine as well as most of gnome2. Any ideas? Thanks, -- Byron signature.asc Description: This is a digitally signed message part