public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] toolchains toolchains toolchains
@ 2011-11-18 20:20 Mike Frysinger
  2011-11-18 20:24 ` Bryan Hundven
  2011-11-18 22:30 ` Daniel Schwierzeck
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Frysinger @ 2011-11-18 20:20 UTC (permalink / raw)
  To: u-boot

if you're like me, getting toolchains known to work has always been 
problematic for the arches you don't care about.  yes, there's the ELDK, but 
that doesn't cover all the arches that u-boot supports, and imo, they're 
"fatter" than necessary.

to that end, i've started posting toolchain builds here:
	http://dev.gentoo.org/~vapier/u-boot/
~5MiB d/l is nice :)

when possible, i built them which means they're recent: binutils-2.21.1 and 
gcc-4.6.2.  they were also built on an older glibc (2.4), so they should be 
usable on quite a lot of recent (and not so recent) systems.  and i've 
statically linked in all the 3rd party libraries to avoid cross-distro issues 
(mpfr/gmp/mpc/etc...).

is there interest/possibility of posting these to denx ftp and then putting 
the URL into the wiki/README ?  or perhaps the MAKEALL script when it can't 
find a usable toolchain ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111118/384ab61d/attachment.pgp>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] toolchains toolchains toolchains
  2011-11-18 20:20 [U-Boot] toolchains toolchains toolchains Mike Frysinger
@ 2011-11-18 20:24 ` Bryan Hundven
  2011-11-18 22:11   ` Mike Frysinger
  2011-11-18 22:30 ` Daniel Schwierzeck
  1 sibling, 1 reply; 5+ messages in thread
From: Bryan Hundven @ 2011-11-18 20:24 UTC (permalink / raw)
  To: u-boot

On Fri, Nov 18, 2011 at 12:20 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> if you're like me, getting toolchains known to work has always been
> problematic for the arches you don't care about. ?yes, there's the ELDK, but
> that doesn't cover all the arches that u-boot supports, and imo, they're
> "fatter" than necessary.
>
> to that end, i've started posting toolchain builds here:
> ? ? ? ?http://dev.gentoo.org/~vapier/u-boot/
> ~5MiB d/l is nice :)
>
> when possible, i built them which means they're recent: binutils-2.21.1 and
> gcc-4.6.2. ?they were also built on an older glibc (2.4), so they should be
> usable on quite a lot of recent (and not so recent) systems. ?and i've
> statically linked in all the 3rd party libraries to avoid cross-distro issues
> (mpfr/gmp/mpc/etc...).
>
> is there interest/possibility of posting these to denx ftp and then putting
> the URL into the wiki/README ? ?or perhaps the MAKEALL script when it can't
> find a usable toolchain ...
> -mike
>

Just curious, but have you tried crosstool-ng?
If you have and had problems with it, I would be happy to help.

Crosstool-ng also has static toolchain support.

-Bryan
 _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] toolchains toolchains toolchains
  2011-11-18 20:24 ` Bryan Hundven
@ 2011-11-18 22:11   ` Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2011-11-18 22:11 UTC (permalink / raw)
  To: u-boot

On Friday 18 November 2011 15:24:11 Bryan Hundven wrote:
> Just curious, but have you tried crosstool-ng?

i don't need it as Gentoo provides everything for building cross-compilers

> Crosstool-ng also has static toolchain support.

static linking glibc isn't good
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111118/6b118227/attachment.pgp>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] toolchains toolchains toolchains
  2011-11-18 20:20 [U-Boot] toolchains toolchains toolchains Mike Frysinger
  2011-11-18 20:24 ` Bryan Hundven
@ 2011-11-18 22:30 ` Daniel Schwierzeck
  2011-11-19  3:08   ` Mike Frysinger
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Schwierzeck @ 2011-11-18 22:30 UTC (permalink / raw)
  To: u-boot

On 11/18/2011 09:20 PM, Mike Frysinger wrote:
> if you're like me, getting toolchains known to work has always been
> problematic for the arches you don't care about.  yes, there's the ELDK, but
> that doesn't cover all the arches that u-boot supports, and imo, they're
> "fatter" than necessary.
>
> to that end, i've started posting toolchain builds here:
> 	http://dev.gentoo.org/~vapier/u-boot/
> ~5MiB d/l is nice :)
>
> when possible, i built them which means they're recent: binutils-2.21.1 and
> gcc-4.6.2.  they were also built on an older glibc (2.4), so they should be
> usable on quite a lot of recent (and not so recent) systems.  and i've
> statically linked in all the 3rd party libraries to avoid cross-distro issues
> (mpfr/gmp/mpc/etc...).
>
> is there interest/possibility of posting these to denx ftp and then putting
> the URL into the wiki/README ?  or perhaps the MAKEALL script when it can't
> find a usable toolchain ...
> -mike
>
nice but MAKEALL mips throws warnings for each board

/data/development/vapier-toolchains/mips-gentoo-linux-gnu/bin/mips-gentoo-linux-gnu-ld: 
Warning: 
/data/development/vapier-toolchains/mips-gentoo-linux-gnu/x86_64-pc-linux-gnu/mips-gentoo-linux-gnu/gcc-bin/4.6.2/../../../../lib/gcc/mips-gentoo-linux-gnu/4.6.2/libgcc.a(_lshrdi3.o) 
uses hard float, u-boot uses soft float
/data/development/vapier-toolchains/mips-gentoo-linux-gnu/bin/mips-gentoo-linux-gnu-ld: 
Warning: 
/data/development/vapier-toolchains/mips-gentoo-linux-gnu/x86_64-pc-linux-gnu/mips-gentoo-linux-gnu/gcc-bin/4.6.2/../../../../lib/gcc/mips-gentoo-linux-gnu/4.6.2/libgcc.a(_ashldi3.o) 
uses hard float, u-boot uses soft float

For current upstream MIPS support in U-Boot the toolchain should be 
built completely with soft-float.

Best regards,
Daniel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] toolchains toolchains toolchains
  2011-11-18 22:30 ` Daniel Schwierzeck
@ 2011-11-19  3:08   ` Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2011-11-19  3:08 UTC (permalink / raw)
  To: u-boot

On Friday 18 November 2011 17:30:01 Daniel Schwierzeck wrote:
> For current upstream MIPS support in U-Boot the toolchain should be
> built completely with soft-float.

thx, i wasn't sure about that.  i posted a softfloat one.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111118/0f1ad1df/attachment.pgp>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-19  3:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 20:20 [U-Boot] toolchains toolchains toolchains Mike Frysinger
2011-11-18 20:24 ` Bryan Hundven
2011-11-18 22:11   ` Mike Frysinger
2011-11-18 22:30 ` Daniel Schwierzeck
2011-11-19  3:08   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox