[haiku] Re: "autogen Error" on x86_64

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 03 May 2010 11:20:53 +0200

On 2010-05-02 at 20:28:07 [+0200], Julius Bullinger 
<julius.bullinger@xxxxxxxxx> wrote:
> I hope it hasn't been posted before, but I wasn't able to find
> anything in the archive. When building the binutils on Ubuntu Lucid
> x86_64, I'm getting the following error:
> 
> 
> make[2]: Entering directory
> `/home/haiku/haiku/generated.x86gcc2/cross-tools-build/gcc/gcc/fixinc'
> /bin/bash /home/haiku/buildtools/legacy/gcc/gcc/fixinc/genfixes machname.h
> Forbidden identifiers: i386 i486 i586 i686 k6 pentium pentiumpro
> cd /home/haiku/buildtools/legacy/gcc/gcc/fixinc ; /bin/bash ./genfixes
> /home/haiku/buildtools/legacy/gcc/gcc/fixinc/fixincl.x
> AutoGen-ing fixincl.x
> autogen Error: Invalid input char '*' in inclhack.def on line 885
> make[2]: *** [/home/haiku/buildtools/legacy/gcc/gcc/fixinc/fixincl.x] Error 
> 1
> make[2]: Leaving directory
> `/home/haiku/haiku/generated.x86gcc2/cross-tools-build/gcc/gcc/fixinc'
> make[1]: *** [fixinc.sh] Error 2
> make[1]: Leaving directory
> `/home/haiku/haiku/generated.x86gcc2/cross-tools-build/gcc/gcc'
> make: *** [cross] Error 2
> ERROR: Building gcc failed.
> 
> I found an old message on GCC's mailing list dealing with the same
> error message and regarding "inclhacks vs. latest autogen"; see
> http://www.mailinglistarchive.com/gcc@xxxxxxxxxxx/msg19399.html. I'm
> using autogen Ver. 5.10 and gcc version 4.4.3.
> 
> Is anybody able to reproduce the error or - even better - does anybody
> has a hint or a solution?

I don't even have autogen installed. It shouldn't be needed at least. Maybe 
the configure script detects its availability and only then sets up a make 
rule. Touching the generated file could help or, worst case, deinstalling 
autogen. Make sure to revert the working directory before you try again.

If touching helps, we could add it to our build_cross_tools script.

CU, Ingo

Other related posts: