Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to devel-gcc grimoire by Florian Franzmann (3e53b3605c6c8510c44147499b278a9cf2a15ac5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to devel-gcc grimoire by Florian Franzmann (3e53b3605c6c8510c44147499b278a9cf2a15ac5)
  • Date: Fri, 02 Apr 2010 14:22:01 -0700

Quoting Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>:

On Fri, 02 Apr 2010 13:58:33 -0700
Eric Sandall <eric AT sandall.us> wrote:

Quoting Florian Franzmann <scm AT sourcemage.org>:

> GIT changes to devel-gcc grimoire by Florian Franzmann
> <siflfran AT hawo.stw.uni-erlangen.de>:
>
> ChangeLog | 8 ++++++
> gnu/FUNCTIONS | 72
> ++++++++++++++++++++++++++++------------------------------
> 2 files changed, 43 insertions(+), 37 deletions(-)
>
> New commits:
> commit 3e53b3605c6c8510c44147499b278a9cf2a15ac5
> Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
> Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
>
> gnu/FUNCTIONS: - default_build_configure_gcc: specified bug url, pass
> CFLAGS, BOOT_CFLAGS, CXXFLAGS to configure
> - default_build_make_gcc: use make_single
> - default_build_install_gcc: LIBRARY is passed as a parameter now,
> installing compiler1 is the spell's responsibility
>
> diff --git a/ChangeLog b/ChangeLog
> index e48822b..bbecf35 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,11 @@
> +2010-04-02 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
> + * gnu/FUNCTIONS:
> + - default_build_configure_gcc: specified bug url, pass
> + CFLAGS, BOOT_CFLAGS, CXXFLAGS to configure
> + - default_build_make_gcc: use make_single
> + - default_build_install_gcc: LIBRARY is passed as a parameter now,
> + installing compiler1 is the spell's responsibility
> +
> 2010-04-02 Arwed v. Merkatz <v.merkatz AT gmx.net>
> * gnome2-libs/libgdata: new spell, glib based GData protocol
> implementation
> diff --git a/gnu/FUNCTIONS b/gnu/FUNCTIONS
> index eb720d1..2bd917b 100755
> --- a/gnu/FUNCTIONS
> +++ b/gnu/FUNCTIONS
<snip>
> @@ -69,10 +77,10 @@ function default_build_configure_gcc ()
> function default_build_make_gcc ()
> {
> cd ${SOURCE_DIRECTORY}.bld &&
> -#make_single &&
> + make_single &&

Is there a reason you brought make_single back? Besides that it's
recommended by the GNU devs? :)
I had a build failure a few days ago in one of the gnu spells. I'm not
sure if we need make_single, the spell asks if it should continue
building with one process and completes the build just fine. Should I
remove make_single under these circumstances?

No, keep it as that means the Makefile(s) is(are) not written to support multiple make jobs. Also, GNU GCC team suggests only building with one make job anyways when using a profiled bootstrap(See http://gcc.gnu.org/install/build.html):
"Unlike standard bootstrap, several additional restrictions apply. The compiler used to build stage1 needs to support a 64-bit integral type. It is recommended to only use GCC for this. Also parallel make is currently not supported since collisions in profile collecting may occur."

Using profiledbootstrap{,-lean} means GCC will take longer to compile (because of profiling *and* because only one make job is supported), but all other compiles using GCC will compile faster (again, see http://gcc.gnu.org/install/build.html):
"It is possible to use profile feedback to optimize the compiler itself. This should result in a faster compiler binary. Experiments done on x86 using gcc 3.3 showed approximately 7 percent speedup on compiling C programs. To bootstrap the compiler with profile feedback, use make profiledbootstrap."

I'd rather take the hit once when compiling GCC and have everything else benefit. :)

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285




Archive powered by MHonArc 2.6.24.

Top of Page