From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3038 invoked by alias); 10 May 2018 00:20:32 -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 3022 invoked by uid 89); 10 May 2018 00:20:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-ot0-f169.google.com Received: from mail-ot0-f169.google.com (HELO mail-ot0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 May 2018 00:20:30 +0000 Received: by mail-ot0-f169.google.com with SMTP id l22-v6so405276otj.0 for ; Wed, 09 May 2018 17:20:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Tn8hntbJVZQdRKOd0eg7w+pWNhpqT0ySx3EJol7sTD8=; b=SdPhZRgwe7oVGtIQDWG4qlMPAzJlJogoTcm0kfkTgufJG/iO+rhIBhxMgmMNaOLTXe XRMuh+b/T0PV1tKSmR4hYEM/iN6p3JmxKtBDsNy903wtOSAZzhC7QbTCH6K+EOTHoezL oyYeC+jccMoK7zWx/smVwrGOmvwST8zsCfEcqhN8DuJGDajCDcEpyN/H27Tb/MTNr1vO j2vMMVeDqyw87XiH8WLhoLltYNDNTToWU6ZmWOSRANXRw3D/e8Y9fqhh66Iz3n5V3v6r zXLC0gPv8n5+hdakoRYqMcQftMsLQmn3xNq0jAOPdWLzoWJLwS6c4wW5sdKCAK5+rJg0 VZgw== X-Gm-Message-State: ALQs6tCFDrh4Spg7UAl+Pxj2vp1RUPK03kbZKWc1cJodDIbOUZYmNN/9 0+9EY4o8ZLoEsNoZYZx9JbUoCOYUeiaYyzIBKhg= X-Google-Smtp-Source: AB8JxZqojUz9FJ9k2CXxsR1e6U0g22s3LSybf/pFYPjgfeqNgWHLJfbZLlPshfcwy8c2v7PvrL1qv/DW7KZARx+X4rU= X-Received: by 2002:a9d:1a2f:: with SMTP id a44-v6mr13642520ote.275.1525911628995; Wed, 09 May 2018 17:20:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.197.10 with HTTP; Wed, 9 May 2018 17:20:28 -0700 (PDT) In-Reply-To: <20180509133625.r5ho32icq2mu5tnm@adacore.com> References: <20180509133625.r5ho32icq2mu5tnm@adacore.com> From: Reinoud Koornstra Date: Thu, 10 May 2018 00:20:00 -0000 Message-ID: Subject: Re: --host=x86_64-linux-gnu --target=arm-linux-gnueabihf To: Joel Brobecker Cc: Andreas Schwab , gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-05/txt/msg00020.txt.bz2 Ah thanks, that worked. I earlier build gdb for arm that also runs on arm itself. That's why it likely was giving errors, I deleted the dir and extracted again, worked like a charm. Thanks, Reinoud. On Wed, May 9, 2018 at 6:36 AM, Joel Brobecker wrote: >> 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