This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to build bare metal crosstool-ng for ppc on Ubuntu host


On Tue, 2010-04-27 at 00:10 -0400, Arnaud Lacombe wrote:
> Hi,

Hi again,

> On Mon, Apr 26, 2010 at 5:18 PM, Tor Krill <tor@krill.nu> wrote:
> > Hi,
> >
> > I'm having problems building a bare metal toolchain using CT-NG 1.6.2.
> > It ends miserably with:
> >
> >
> > [ERROR]    /home/tor/build/ct/buildtoolchain/targets/src/gcc-4.4.3/libgcc/../gcc/config/freebsd-spec.h:130:23: error: sys/param.h: No such file or directory
> > [ERROR]    make[2]: *** [_muldi3.o] Error 1
> > [ERROR]    make[1]: *** [all-target-libgcc] Error 2
> > [ERROR]    Build failed in step 'Installing baremetal core C compiler'
> > [ERROR]    Error happened in
-----8<----------------
>
> I had the same issue. I started to dig into the gcc build system, but
> quickly gave up, this headers inclusion is dynamically generated from
> stuff determined at configure-time. I just tried to build gcc 4.5.0
> (not yet in ct-ng) and it worked fine, however, ia-64 is still broken.
> For information [yes, I know, it's not in the hg repo]:
> 
> [ALL  ]    In file included from
> /x/bare/targets/src/gcc-4.5.0/libgcc/../gcc/config/ia64/unwind-ia64.c:34:0:
> [ERROR]    /y/ia64-unknown-elf/build/build-cc-core-baremetal/./gcc/include/unwind.h:214:20:
> fatal error: stdlib.h: No such file or directory
> 
> GCC 4.4.3 dies on the same error. I would have tried 4.4.4RC, but the
> directory seems to be gone from gnu.ftp.org :(.

Ok, thx for the prompt reply. I tried building 4.3.4, instead of 4.4.x,
instead and that seems to work.

/Tor



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]