Where do I get the patches applied to the latest GNU tools?

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Where do I get the patches that Atmel aplied to GCC 4.1.2-atmel.1.0.0 and binutils 2.17.atmel.1.0.0? I tried the avr32linux.org patch site, and atmel.com/avr32 tools section but no dice.

I need the patches so I can get buildroot to work, the patches supplied on the site(s) above are not working, the gcc compile keeps saying:

*** Configuration avr32-unknown-linux-uclibc not supported

Thanks,
Mike

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AFAIK the patches aren't yet out in the world, but I don't know whether they'll fix your problem anyway. I'm assuming (CMIIW) that the actual configuration target won't change in the next patchset. The configuration target should always be avr32-linux and you'll just need a --with-uclibc in the configure line too. I could be missing the point here, but as I say, config targets shouldn't really change across patchsets such as these.

-S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Adding --with-uclibc does not fix it either. I grepped through the config file in gcc-4.1.2/gcc/ and it did not even have a mention of uclibc, so it does not look like thats a valid option either.

Have any other suggestions? I think I really do need whatever patches they applied to get 4.1.2 to work. It does not look like stock GCC even knows what avr32 or uclibc are:

[mike@localhost buildroot-svn]$ grep mips toolchain_build_avr32/gcc-4.1.2/gcc/configure
  mips*-*-*)
  mips*-*-*)
if test "${gcc_cv_as_mips_explicit_relocs+set}" = set; then
  gcc_cv_as_mips_explicit_relocs=no
  then gcc_cv_as_mips_explicit_relocs=yes
        gcc_cv_as_mips_explicit_relocs=yes
echo "$as_me:$LINENO: result: $gcc_cv_as_mips_explicit_relocs" >&5
echo "${ECHO_T}$gcc_cv_as_mips_explicit_relocs" >&6
if test $gcc_cv_as_mips_explicit_relocs = yes; then
  mips*-*-* | *-*-hpux* )
  i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \
[mike@localhost buildroot-svn]$ grep avr32 toolchain_build_avr32/gcc-4.1.2/gcc/configure
[mike@localhost buildroot-svn]$ grep uclibc toolchain_build_avr32/gcc-4.1.2/gcc/configure
[mike@localhost buildroot-svn]$

Any suggestions?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yep, 4.1.2 won't know about avr32 yet, but it should know about uclibc (./configure --help?).

I inferred from your original post though that older versions of gcc weren't working for you either. Or were you trying to apply the old patchset to new gcc? That'll rarely work ;)

-S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was mainly hpoing I could use the newer gcc. I swiched back to 4.0.4 and its compiling ok.

Is there any reason why they have not released the patches yet?

Thanks,
Mike