Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-17 Thread Greg Ungerer
Hi Luis, On 05/17/2012 12:58 PM, Luis Alves wrote: I've built a new toolchain using the latest tools and gcc-4.6.4 (gcc-4.7.0 is giving me compiler internal errors!). But unfortunately the results are the same (bad assembly code - It look it is producing 68020 code, since when I use the -m68020

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-17 Thread Luis Alves
Hi Greg, Yes, that file exists in the sources gcc-version/gcc/config/m68k/uclinux.h I've changed those flags and it works (at least in a small test with the first pass gcc). But take a look at the comments in my bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53386 Someone says that it

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-17 Thread Lennart Sorensen
On Thu, May 17, 2012 at 03:21:12PM +0100, Luis Alves wrote: Hi Greg, Yes, that file exists in the sources gcc-version/gcc/config/m68k/uclinux.h I've changed those flags and it works (at least in a small test with the first pass gcc). But take a look at the comments in my bug report:

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-17 Thread Greg Ungerer
Hi Luis, On 18/05/12 00:21, Luis Alves wrote: Yes, that file exists in the sources gcc-version/gcc/config/m68k/uclinux.h I've changed those flags and it works (at least in a small test with the first pass gcc). But take a look at the comments in my bug report:

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-16 Thread Luis Alves
Hi Greg, I've solved the missing libraries problem but the toolchain you provided isn't generating proper code for the 68000. I've disassembled the kernel and checked the 'proc_net_ns_init' function, where the kernel is hanging more precisely at the 'memcpy' intruction. So, the memcpy gets

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-16 Thread Greg Ungerer
Hi Luis, On 05/16/2012 07:12 PM, Luis Alves wrote: I've solved the missing libraries problem but the toolchain you provided isn't generating proper code for the 68000. I've disassembled the kernel and checked the 'proc_net_ns_init' function, where the kernel is hanging more precisely at the

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-16 Thread Luis Alves
Hi Greg, I've built a new toolchain using the latest tools and gcc-4.6.4 (gcc-4.7.0 is giving me compiler internal errors!). But unfortunately the results are the same (bad assembly code - It look it is producing 68020 code, since when I use the -m68020 flag, the resulting assembly code is

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-15 Thread David Howells
Luis Alves lja...@gmail.com wrote: I'm currently using the 'experimental' pre-built gcc toolchain from http://www.uclinux.org/pub/uClinux/arm-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh to build my uClinux-dist. I've never found any issue with that package, so I didn't even

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-15 Thread Luis Alves
Hi Greg, I've tryed using the toolchain that you just uploaded but is failing complaining that some shared libraries are missing: [...] /usr/local/libexec/gcc/m68k-uclinux/4.5.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-15 Thread Greg Ungerer
Hi Luis, On 05/15/2012 09:53 PM, Luis Alves wrote: I've tryed using the toolchain that you just uploaded but is failing complaining that some shared libraries are missing: [...] /usr/local/libexec/gcc/m68k-uclinux/4.5.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open

[uClinux-dev] Latest GCC toolchain for m68k

2012-05-14 Thread Luis Alves
Hi, I'm currently using the 'experimental' pre-built gcc toolchain from http://www.uclinux.org/pub/uClinux/arm-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh to build my uClinux-dist. I've never found any issue with that package, so I didn't even bother to build my own toolchain. But

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-14 Thread Lennart Sorensen
On Mon, May 14, 2012 at 04:07:52PM +0100, Luis Alves wrote: I'm currently using the 'experimental' pre-built gcc toolchain from http://www.uclinux.org/pub/uClinux/arm-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh to build my uClinux-dist. I've never found any issue with that

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-14 Thread Ivica Eftimovski
Subject: [uClinux-dev] Latest GCC toolchain for m68k Hi, I'm currently using the 'experimental' pre-built gcc toolchain from http://www.uclinux.org/pub/uClinux/arm-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh to build my uClinux-dist. I've never found any issue with that package, so I

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-14 Thread Ezequiel Garcia
On Mon, May 14, 2012 at 1:26 PM, Lennart Sorensen lsore...@csclub.uwaterloo.ca wrote: I built my own.  Pretty sure I told the list what I used back when I did it.  I currently have gcc 4.3.3, binutils 2.19.1, elf2flt checkout from blackfin on 2009-04-20, kernel 2.6.29.1 (the fec changes in

Re: [uClinux-dev] Latest GCC toolchain for m68k

2012-05-14 Thread Greg Ungerer
Hi Luis, On 15/05/12 01:07, Luis Alves wrote: I'm currently using the 'experimental' pre-built gcc toolchain from http://www.uclinux.org/pub/uClinux/arm-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh to build my uClinux-dist. I've never found any issue with that package, so I didn't