From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5498 invoked by alias); 9 May 2018 13:36:33 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 5480 invoked by uid 89); 9 May 2018 13:36:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 May 2018 13:36:30 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 52DAA117161; Wed, 9 May 2018 09:36:29 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SqCoordn5qzg; Wed, 9 May 2018 09:36:29 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 37CC6117149; Wed, 9 May 2018 09:36:27 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 7655F8304F; Wed, 9 May 2018 06:36:25 -0700 (PDT) Date: Wed, 09 May 2018 13:36:00 -0000 From: Joel Brobecker To: Reinoud Koornstra Cc: Andreas Schwab , gdb@sourceware.org Subject: Re: --host=x86_64-linux-gnu --target=arm-linux-gnueabihf Message-ID: <20180509133625.r5ho32icq2mu5tnm@adacore.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2018-05/txt/msg00019.txt.bz2 > I get the same result if I only do > ./configure --target=arm-linux-gnueabihf > > It always faults at > > /usr/bin/ld: libsim.a(arminit.o): Relocations in generic ELF (EM: 40) > libsim.a: error adding symbols: File in wrong format > collect2: error: ld returned 1 exit status > make[3]: *** [run] Error 1 Try starting from scratch. It looks like these files were compiled with a compiler for another platform. -- Joel