From: <mario.gruber@space.unibe.ch>
To: <crossgcc@sourceware.org>
Subject: libgloss fails to build for sparc-leon-elf
Date: Thu, 09 Jun 2016 06:19:00 -0000 [thread overview]
Message-ID: <10E6711BAB2FBD439AC68F7B2069C4EA5652D035@AAI-EXCH-MBX2.campus.unibe.ch> (raw)
Hi,
Thanks for the great crosstool-NG tool! I successfully built a candadian cross i686-w64-mingw32,sparc-unknown-elf toolchain with my very first ct-ng build command!
However, I tried to build sparc-leon-elf too but CT-NG gets stuck when building libgloss for the target sparc-leon-elf (sparc_leon has custom bsp in newlib). The error message from the build log indicates a hickup with the include search path:
[ERROR] .build/src/newlib-2.2.0/libgloss/sparc_leon/locore_mvt.S:28:27: fatal error: asm-leon/head.h: No such file or directory
[ALL ] compilation terminated.
[ALL ] Makefile:105: recipe for target 'locore_mvt.o' failed
[ERROR] make[4]: *** [locore_mvt.o] Error 1
I downloaded newlib-2.2.0 and build it manually with the target compiler sparc-leon-elf-cc, which worked.
I also invoked make inside the .build tree, which worked too:
cd .build/sparc-leon-elf/build/build-libc/sparc-leon-elf/libgloss
make
Any hints where to look next or how to workaround?
I pasted my .config here: http://pastebin.com/w7H8gTyY
I used CT-NG 1.22.0
Cheers,
Mario
--
For unsubscribe information see http://sourceware.org/lists.html#faq
reply other threads:[~2016-06-09 6:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10E6711BAB2FBD439AC68F7B2069C4EA5652D035@AAI-EXCH-MBX2.campus.unibe.ch \
--to=mario.gruber@space.unibe.ch \
--cc=crossgcc@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).