Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2005 10:01:21 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Wilko Bulte <wb@freebie.xs4all.nl>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: processor type.
Message-ID:  <20050116090120.GB57255@cicely12.cicely.de>
In-Reply-To: <20050115174943.GB24024@freebie.xs4all.nl>
References:  <16866.32790.398095.651691@canoe.dclg.ca> <20050114202618.GA17050@freebie.xs4all.nl> <20050114210716.GA17430@freebie.xs4all.nl> <200501141632.37649.jhb@FreeBSD.org> <20050114224523.GA17854@freebie.xs4all.nl> <20050115084052.GA22832@freebie.xs4all.nl> <20050115090604.GI43380@cicely12.cicely.de> <20050115094833.GA23111@freebie.xs4all.nl> <20050115174943.GB24024@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 15, 2005 at 06:49:43PM +0100, Wilko Bulte wrote:
> On Sat, Jan 15, 2005 at 10:48:33AM +0100, Wilko Bulte wrote..
> > On Sat, Jan 15, 2005 at 10:06:05AM +0100, Bernd Walter wrote..
> > > On Sat, Jan 15, 2005 at 09:40:53AM +0100, Wilko Bulte wrote:
> > > > On Fri, Jan 14, 2005 at 11:45:23PM +0100, Wilko Bulte wrote..
> > > > > NO_CPU_COPTFLAGS=true   # Don't add -march=<cpu> to COPTFLAGS automatically
> > > > > 
> > > > > fixes it on RELENG_4
> > > > 
> > > > Well, the elapsed wall clock time for a buildworld running an ev5 world
> > > > versus running an ev6 world is only roughly 2 or 3 minutes in favor of a ev6
> > > > world on a elapsed time of roughly 75 minutes. This is on a DS10 600MHz 
> > > > 
> > > > Not too interesting in my book
> > > 
> > > I wonder if the build environment was compiled using those flags too or
> > > just the resulting binaries.
> > 
> > To clarify:  my tests were 'make buildworlds'.  The first number was while
> > building running a EV5 optimised world to do so, the second used the EV6
> > world.
> > 
> > I have not tried to build an EV5 buildworld using the EV6 world
> > (so in other words an empty /etc/make.conf).  The machine is currently
> > churning on RC3 for re@ so I cannot go try it.
> 
> More numbers, this time for a buildrelease of 4.11-RC
> 
> while running an 'ev5 world'    32086.29 real     23579.73 user      3221.72 sys
> while running an 'ev6 world'    30268.58 real     22634.77 user      3285.35 sys

What I mean is that the buildtools are build without CPUTYPE, so that
you can buildworld for a ev6 system on a ev5 machine.
You are likely not using special ev6 binaries very long.

This is part from an i386 buildworld:
cc -O2 -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/var/d6/obj/var/d7/builder/c30-2005-01-16/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/var/d7/builder/c30-2005-01-16/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/var/d7/builder/c30-2005-01-16/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/var/d7/builder/c30-2005-01-16/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -DGENERATOR_FILE  -I/usr/obj/var/d7/builder/c30-2005-01-16/src/i386/legacy/usr/include -c /var/d7/builder/c30-2005-01-16/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattr.c

I have CPUTYPE?=i586 in /etc/make.conf, since the currently build
compiler is part of the buildchain it was not used here.
And that's the compiler that will have to do the real work later.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050116090120.GB57255>