lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUB on kainhofer: still cross/gcc


From: Graham Percival
Subject: Re: GUB on kainhofer: still cross/gcc
Date: Sun, 31 May 2009 22:49:36 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, May 31, 2009 at 09:20:24PM +0200, Jan Nieuwenhuizen wrote:
> Op zaterdag 30-05-2009 om 22:46 uur [tijdzone -0700], schreef Graham
> Percival:
> 
> > Who has successfully built GUB?
> 
> Me!  :-)

Anybody else?  Particularly on ubuntu systems?

> >     def compile_command (self):
> >         os.putenv('CFLAGS', '-fno-stack-protector ')
> >         return (cross.AutoBuild.compile_command (self))
> > to the class Gcc (cross.AutoBuild), but that also failed.
> 
> FWIW, I'd very much avoid juggling with the environment from python,
> and try to keep changes as local as you can.

None of the other places I put -fno-stack-protector had any
effect, so I was just trying everything.  :(

> I'd try something like
> 
> diff --git a/gub/specs/darwin/odcctools.py b/gub/specs/darwin/odcctools.py
> index ee953c0..1d24944 100644
> --- a/gub/specs/darwin/odcctools.py
> +++ b/gub/specs/darwin/odcctools.py
> @@ -62,3 +62,8 @@ cd %(install_prefix)s%(cross_dir)s/bin && ln 
> %(toolchain_prefix)sstrip ../%(targ
>      def install (self):
>          cross.AutoBuild.install (self)
>          self.install_librestrict_stat_helpers ()
> +
> +class Odcctools__darwin__ppc (Odcctools):
> +    def configure_command (self):
> +        return (Odcctools.configure_command (self)
> +                + ' CFLAGS=-fno-stack-protector')

No change; still the same error message.  I also tried adding a
similar section to gub/specs/darwin/gcc.py  (changing it to
   return (gcc.Gcc.configure_command...
but it still failed.

I'm really surprised that gcc would be the finicky; I would have
thought that a compiler would be as easy to compile as possible,
and the people working on gcc should have more experience with
compiling than anybody else in the world.  :)

Cheers,
- Graham




reply via email to

[Prev in Thread] Current Thread [Next in Thread]