From richard at codesourcery.com Fri Jun 2 07:24:53 2006 From: richard at codesourcery.com (Richard Sandiford) Date: Fri, 02 Jun 2006 08:24:53 +0100 Subject: [coldfire-gnu-discuss] Problem while linking pound In-Reply-To: <447D9079.5060908@objectxp.com> (Michel Marti's message of "Wed, 31 May 2006 14:47:53 +0200") References: <447D9079.5060908@objectxp.com> Message-ID: Michel Marti writes: > Hello, > > I'm trying to build pound (http://www.apsis.ch/pound/) using the > CodeSourcery 4.1-11 Coldfire toolchain with no success. On linking, I > get the following errors: > > $ m68k-uclinux-gcc -m5200 -Wl,-elf2flt -L../staging/lib -o pound pound.o http.o \ > config.o svc.o -lssl -lcrypto -lpthread > > .../m68k-uclinux/libc/usr/lib/libc.a(clone.o): In function `clone': > libc/sysdeps/linux/m68k/clone.S:(.text+0xc): relocation truncated to fit: R_68K_PC16 > [...] Thanks for the report. We have a release scheduled for the end of June that will include a fix for this problem. Richard From kknauber at prg.com Mon Jun 26 23:08:16 2006 From: kknauber at prg.com (Keith Knauber) Date: Mon, 26 Jun 2006 18:08:16 -0500 Subject: coldfire 5407 with P&E micro BDM Message-ID: Hello, I am trying to get the CodeSourcery GNU toolchain gdb to work with my P&E micro BDM. I would be interested in purchasing the full package I am getting the following error when I start up gdb with the following command line: >m68k-elf-gdb Node.srec GNU gdb 6.4.50.20060226-cvs Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-mingw32 --target=m68k-elf"... (gdb) target remote | m68k-elf-cfpe-stub -t Node.ld -s 3 Error: Could not load P&E DLL Remote debugging using | m68k-elf-cfpe-stub -t Node.ld -s 3 (gdb) Remote communication error: Bad file descriptor. I have my program compiled and linked correctly using the CodeSourcery toolchain, and I am able to use the uclinux/uClibc version of gdb to debug my board. However, I am interested in using the CodeSourcery G++/Eclipse package if I can get it to work. My P&E dll appears to be installed correctly in c:/Program Files/pemicro, and the registry looks correct as well. Any clue as to what the "Could not load P&E DLL" problem is? Thanks for any help, Keith Knauber -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at codesourcery.com Tue Jun 27 05:18:51 2006 From: mark at codesourcery.com (Mark Mitchell) Date: Tue, 27 Jun 2006 01:18:51 -0400 Subject: [coldfire-gnu-discuss] coldfire 5407 with P&E micro BDM In-Reply-To: References: Message-ID: <44A0BFBB.2070206@codesourcery.com> Keith Knauber wrote: > My P&E dll appears to be installed correctly in c:/Program > Files/pemicro, and the registry looks correct as well. Any clue as to > what the "Could not load P&E DLL" problem is? This is just a guess -- but it might be that you need to have the C:\Program Files\pemicro directory in your PATH. If that doesn't help, please post again, and we'll get it worked out. We will be including the P&E DLL in future releases so that it will be automatically installed. Thanks, -- Mark Mitchell CodeSourcery mark at codesourcery.com (650) 331-3385 x713 From nathan at codesourcery.com Tue Jun 27 10:50:16 2006 From: nathan at codesourcery.com (Nathan Sidwell) Date: Tue, 27 Jun 2006 11:50:16 +0100 Subject: [coldfire-gnu-discuss] coldfire 5407 with P&E micro BDM In-Reply-To: References: Message-ID: <44A10D68.3040809@codesourcery.com> Keith Knauber wrote: > Hello, > I am trying to get the CodeSourcery GNU toolchain gdb to work with my > P&E micro BDM. > > I would be interested in purchasing the full package > I am getting the following error when I start up gdb with the following > command line: > (gdb) target remote | m68k-elf-cfpe-stub -t Node.ld -s 3 > Error: Could not load P&E DLL > Remote debugging using | m68k-elf-cfpe-stub -t Node.ld -s 3 > (gdb) Remote communication error: Bad file descriptor. Mark's suggested that the pemicro directory needs to be on the PATH. Alternatively you might try copying the pemicro dll to a directory that is on your path -- or indeed the directory containing the m68k-elf-cfpe-stub program. Your invokation of the stub is incorrect. The -t option does not take a linker script, but a board initialization configuration. Unfortunately your 5407 board is not supported directly by the stub at this point. You need to find the CodeWarrior configuration file, which I believe will be in 'Program\ Files/Freescale/CodeWarrior\ for\ ColdFire\ V6.3/E68K_Support/Initialization_Files/' and it will be called something like MCF5407evb.cfg Due to licensing reasons, we are currently unable to distribute those files nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan at codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk