From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21681 invoked by alias); 20 Nov 2003 14:02:40 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 21674 invoked from network); 20 Nov 2003 14:02:39 -0000 Received: from unknown (HELO mail.s.netic.de) (212.9.160.11) by sources.redhat.com with SMTP; 20 Nov 2003 14:02:39 -0000 Received: from host-212-9-162-88.dial.netic.de ([212.9.162.88] helo=schleim.qwe.de) by mail.s.netic.de with esmtp (Exim 4.22) id 1AMpOI-000N25-If for insight@sources.redhat.com; Thu, 20 Nov 2003 15:02:38 +0100 Received: from localhost (localhost [127.0.0.1]) by schleim.qwe.de (Postfix) with ESMTP id 40EBDA4273 for ; Thu, 20 Nov 2003 14:48:50 +0100 (CET) From: Torsten Mohr Organization: Qwe Inc. To: insight@sources.redhat.com Subject: insight-6.0: error loading an ELF (target arm-unknown-elf) Date: Thu, 20 Nov 2003 14:02:00 -0000 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311201448.49867.tmohr@s.netic.de> X-SW-Source: 2003-q4/txt/msg00083.txt.bz2 Hi, i have a small "hello world" example for an ARM evaluation board. It worked fine with previos toolchains (binutils, gcc, insight). But insight-6.0 refuses to load the ELF (filename "main"): Error loading "path/main": bad offset (0x20206a6) in compilation unit header (offset 0x0 + 6) [in module /path/main] The whole project with generated objects, the final ELF, the linker script and Makefile is located at: http://www.s.netic.de/tmohr/eb01.tar.bz2 (~ 14k) I use the latest tool chain: binutils-2.14 gcc-3.3.2 insight-6.0 I don't think the error is in insight, but i'm really interested in what this error message means, it doesn't mean anything to me at the moment. As readelf and objcopy work fine, it might be some information in the debug sections? Where is the error located, is it (my project), binutils, gcc or insight? Or what else? Thanks for any hints, Torsten.