public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* libgloss fails to build for sparc-leon-elf
@ 2016-06-09  6:19 mario.gruber
  0 siblings, 0 replies; only message in thread
From: mario.gruber @ 2016-06-09  6:19 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-09  6:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09  6:19 libgloss fails to build for sparc-leon-elf mario.gruber

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).