From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20715 invoked by alias); 16 Aug 2007 14:55:42 -0000 Received: (qmail 20611 invoked by uid 22791); 16 Aug 2007 14:55:41 -0000 X-Spam-Check-By: sourceware.org Received: from mail.oarcorp.com (HELO mail.oarcorp.com) (216.186.189.5) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 16 Aug 2007 14:55:33 +0000 Received: (qmail 11212 invoked by uid 507); 16 Aug 2007 14:55:31 -0000 Received: from 192.168.1.3 by mail.oarcorp.com (envelope-from , uid 501) with qmail-scanner-1.25st (spamassassin: 3.1.1. perlscan: 1.25st. Clear:RC:1(192.168.1.3):. Processed in 0.0524 secs); 16 Aug 2007 14:55:31 -0000 X-Qmail-Scanner-Mail-From: joel.sherrill@oarcorp.com via mail.oarcorp.com X-Qmail-Scanner: 1.25st (Clear:RC:1(192.168.1.3):. Processed in 0.0524 secs Process 11206) Received: from unknown (HELO ?192.168.1.3?) (192.168.1.3) by mail.oarcorp.com with SMTP; 16 Aug 2007 14:55:31 -0000 Message-ID: <46C46561.30105@oarcorp.com> Date: Thu, 16 Aug 2007 14:55:00 -0000 From: Joel Sherrill User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: binutils@sourceware.org, Ralf Corsepius Subject: binary to elf conversion Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00250.txt.bz2 Hi, I think something broke for converting binary files to elf using objcopy. I know I did this before but can't seem to find a binutils that can do this now. I have tried both the RTEMS testing version (a pre 2.18 snapshot) and our stable repositories (something older) and neither is able to link with the object file produced by objcopy'ing a binary file to a .o. /opt/rtems-4.8/lib/gcc/powerpc-rtems4.8/4.2.1/../../../../powerpc-rtems4.8/bin/ld: unknown architecture of input file `o-optimize/tarfile.o' is incompatible with powerpc:common output Produced by this command: powerpc-rtems4.8-objcopy -I binary -O elf32-powerpc tarfile o-optimize/tarfile.o I tried mips and i386 and both fail with similar errors. Is this working for anyone else on any target? --joel Can anyone do this