From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22753 invoked by alias); 9 Jun 2016 06:19:08 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 22738 invoked by uid 89); 9 Jun 2016 06:19:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=bsp, Hx-languages-length:1107 X-HELO: mailhub-lb1.unibe.ch Received: from mailhub-lb1.unibe.ch (HELO mailhub-lb1.unibe.ch) (130.92.0.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 09 Jun 2016 06:18:57 +0000 Received: from mail.campus.unibe.ch (aai-exch-cas8.campus.unibe.ch [130.92.13.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhub-lb1.unibe.ch (Postfix) with ESMTPS id 0F0D8A0109 for ; Thu, 9 Jun 2016 08:18:51 +0200 (CEST) Received: from AAI-EXCH-MBX2.campus.unibe.ch ([169.254.2.246]) by aai-exch-cas8.campus.unibe.ch ([130.92.13.149]) with mapi id 14.03.0294.000; Thu, 9 Jun 2016 08:18:51 +0200 From: To: Subject: libgloss fails to build for sparc-leon-elf Date: Thu, 09 Jun 2016 06:19:00 -0000 Message-ID: <10E6711BAB2FBD439AC68F7B2069C4EA5652D035@AAI-EXCH-MBX2.campus.unibe.ch> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00000.txt.bz2 Hi, Thanks for the great crosstool-NG tool! I successfully built a candadian cr= oss i686-w64-mingw32,sparc-unknown-elf toolchain with my very first ct-ng b= uild command! However, I tried to build sparc-leon-elf too but CT-NG gets stuck when buil= ding libgloss for the target sparc-leon-elf (sparc_leon has custom bsp in n= ewlib). The error message from the build log indicates a hickup with the in= clude 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 sp= arc-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