[gccsdk] Problems building crosscompiler
John.Tytgat at aaug.net
Sat Nov 7 13:04:36 PST 2009
In message <1257610848.327.132.camel at ubuntu>
Jan-Jaap van der Geer <jjvdgeer at inbox.com> wrote:
> cd /home/jjvdgeer/gccsdk/gcc4/srcdir/libstdc++-v3
> && /bin/sh /home/jjvdgeer/gccsdk/gcc4/srcdir/missing --run autoheader
> configure.ac:83: error: m4_copy: won't overwrite defined macro:
> acinclude.m4:48: GLIBCXX_CONFIGURE is expanded from...
> configure.ac:83: the top level
> autom4te: m4 failed with exit status: 1
> autoheader2.50: '/usr/bin/autom4te' failed with exit status: 1
> make: *** [/home/jjvdgeer/gccsdk/gcc4/srcdir/libstdc
> ++-v3/config.h.in] Error 1
> make: Leaving directory
> make: *** [all-target-libstdc++-v3] Error 2
> make: Leaving directory `/home/jjvdgeer/gccsdk/gcc4/builddir-cross'
> make: *** [all] Error 2
> What went wrong with the RISC OS compiler I don't remember, but may or
> may not have been the same thing.
> I have recently upgraded to ubuntu 9.10.
> Googling for a bit, I found this:
> It looks to me like the same problem. However, my default gcc seems to
> be gcc-4.4.1, I did not find any indication that this version was
> affected by this bug.
I would be surprised this would a problem in your host compiler (i.e. the
compiler used on your Ubuntu 9.10) and that we have to look for a solution
My bet is that this is a case of not using autoconf2.59 (gcc4.1 really
need this exact version). Have you installed the autoconfig2.59 package ?
After you've done that, restart for scratch (ie. the srcdir needs to
be reconfigured using the recipe/scripts/reconf-*).
John Tytgat, in his comfy chair at home BASS
John.Tytgat at aaug.net ARM powered, RISC OS driven
More information about the gcc