From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2418 invoked by alias); 2 Feb 2012 12:57:54 -0000 Received: (qmail 2406 invoked by uid 22791); 2 Feb 2012 12:57:52 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from p-mail2.rd.francetelecom.com (HELO p-mail2.rd.francetelecom.com) (195.101.245.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Feb 2012 12:57:39 +0000 Received: from p-mail2.rd.francetelecom.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id A418D1074005; Thu, 2 Feb 2012 13:58:09 +0100 (CET) Received: from ftrdsmtp2.rd.francetelecom.fr (unknown [10.192.128.47]) by p-mail2.rd.francetelecom.com (Postfix) with ESMTP id 9C5671074001; Thu, 2 Feb 2012 13:58:09 +0100 (CET) Received: from ftrdmel11.rd.francetelecom.fr ([10.192.128.45]) by ftrdsmtp2.rd.francetelecom.fr with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Feb 2012 13:57:38 +0100 Received: from r-lnx-ilmarinen.localnet ([10.194.59.183]) by ftrdmel11.rd.francetelecom.fr with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Feb 2012 13:57:37 +0100 From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: Built arm-none-eabi with multilib for x86_64-unkown-linux-gnu with crosstool-ng-1.14.0 Date: Thu, 02 Feb 2012 12:57:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.2.2-ilmarinen-nv; KDE/4.4.5; x86_64; ; ) Cc: Trevor Woerner References: <4F2947D4.2080703@atmel.com> <4F2A702F.4090702@atmel.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202021357.37302.yann.morin.1998@free.fr> 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 X-SW-Source: 2012-02/txt/msg00022.txt.bz2 Trevor, All, On Thursday 02 February 2012 13:40:28 Trevor Woerner wrote: > I built the arm-cortex_a8-linux-gnueabi sample and enabled multilib: [--SNIP--] > When I ask the compiler to list the multilibs I get: > > $ ./arm-cortex_a8-linux-gnueabi-gcc -print-multi-lib > .; > > I only have a little experience with multilib-enabled tools, but I > assume something is missing? I was not able to build a multi-lib ARM Linux EABI toolchain so far. Looking at the code in gcc, it seems that all multi-lib definitions are nuked-out for arm*-*-linux-*gnueabi tupples. OTOH, the multi-lib _code_ in crosstool-NG works, as I was able to build a Sparc multi-lib toolchain (but it required a few unrelated Leon patches to gcc, so it is not available as a sample). Also, Per has submitted a working bare-metal multi-lib ARM EABI sample yesterday, which means that the multi-lib support (in crosstooll-NG) if operational. Basically, it looks like the culprit here is, at least partially, in the gcc code. It can also be the case that we incorrectly drive the gcc ./configure and/or make, of course. This is why I announced it a 'initial support for multi-lib'. The code path is known to (rather more than less) work. Yes, I could have been more explicit by stating that there were yet some issues and restrictions. This means there are still some changes to do to make it ubiquitous, and that will have to be done is the release cycle(s) to come. Although I will be working on this on my side, it's not a top-priority for me. So: patches and .config welcome! ;-) Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ | | --==< O_o >==-- '------------.-------: X AGAINST | /e\ There is no | | http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. | '------------------------------'-------'------------------'--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq