[U-Boot] toolchains toolchains toolchains

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

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@lists.denx.de http://lists.denx.de/mailman/listinfo/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
participants (3)
-
Bryan Hundven
-
Daniel Schwierzeck
-
Mike Frysinger