[Clfs-support] Fwd: Re: Mini2440 W.I.P.

Andrew Bradford andrew at bradfordembedded.com
Fri Jul 20 06:45:37 PDT 2012


On Thu, 19 Jul 2012 14:14:30 -0500
Ron McDowell <rcm at fuzzwad.org> wrote:

> On 7/19/12 1:15 PM, Andrew Bradford wrote:

> > On Thu, 19 Jul 2012 12:38:36 -0500 Ron McDowell<rcm at fuzzwad.org>  wrote:
> > Possibly the branch_update and specs patches you applied previously
> > caused the softfloat patch to not apply cleanly.  It applies cleanly
> > for me following the embedded book (which doesn't apply the
> > branch_update or specs patches).
> >
> > andrew at bradford:~/Downloads/gcc-4.6.0$  patch -Np1 -i ../gcc-4.6.0-uclibc-arm-softfloat-2.patch
> > patching file gcc/config/arm/linux-elf.h
> > patching file gcc/config/arm/t-linux
> >
> >> # a combo of the above echos and hints from codemonkey's msg 001246, Aug
> >> 2011
> >> # gave rise to the following 8 lines.
> >> # currently a shotgun approach, see what hits if anything...
> >> # [it does compile thru this way, but several of these probably aren't
> >> needed]
> > I don't think they're *needed* but if you like them...
> 
> In my case it WAS needed.  gcc was failing configure with
> 
> checking for suffix of object files... configure: error: cannot compute
> suffix of object files: cannot compile
> 
> and one or more of the following fixed that completely. By that point I 
> was tired of seeing that particular error :) so just shotgunned them 
> all.  I'm sure only one or two of them are needed.

Can you check if GCC 4.6.1 still needs these patches (other than the
soft-float patch) and other fun changes?  I don't think it does.
For a 4.6.1 softfloat patch, see [1] (I'm not sure that the 4.6.0
softfloat patch will apply cleanly to 4.6.1).

[1]: http://git.cross-lfs.org/?p=abradford/clfs-embedded.git;a=blob;f=patches/gcc-4.6.1-uclibc-arm-softfloat-1.patch;h=0af23f4533539f3eda0f47d7239ee299b6fcead6;hb=HEAD

If 4.6.1 fixes your patching and other fun requirements, I'll send a
pull request for my git repo, which upgrades uClibc, GCC, and binutils
to the basically the versions you're using, since apparently the
currently available book doesn't build... :)

I believe (although it's been a while) that GCC 4.6.1, uClibc 0.9.32,
and binutils 2.22 should fix your concerns.  If that's correct,
please let me know.  I think that combo breaks x86 32 bit, but MIPS and
ARM should work...

Toolchains are fun ;)

Thanks,
-Andrew



More information about the Clfs-support mailing list