[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ld barfs when cross compiling for avr
From: |
Ilya Bagrak |
Subject: |
ld barfs when cross compiling for avr |
Date: |
Fri, 23 Mar 2007 14:20:26 +0300 |
Hello,
I am getting the following error when building an application for avr
platform (atmega1281 MCU, to be specific)
/usr/local/avr-toolchain-2006.1/lib/gcc/avr/3.4.5/../../../../avr/bin/ld:
region text is full (wsndemo.elf section .text)
/usr/local/avr-toolchain-2006.1/lib/gcc/avr/3.4.5/../../../../avr/bin/ld:
BFD 2.17 internal error, aborting at ../../bfd/reloc.c line 445 in
bfd_get_reloc_size
/usr/local/avr-toolchain-2006.1/lib/gcc/avr/3.4.5/../../../../avr/bin/ld:
Please report this bug.
/usr/local/avr-toolchain-2006.1/lib/gcc/avr/3.4.5/../../../../avr/bin/ld
--version
GNU ld version 2.17
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
The machine is Suse 10.1
uname -a
Linux ibagrak2-suse 2.6.16.27-0.6-default #1 Wed Dec 13 09:34:50 UTC
2006 i686 i686 i386 GNU/Linux
The compiler used to compile binutils:
gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,java,ada
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp
--disable-libssp --enable-java-awt=gtk --enable-gtk-cairo
--disable-libjava-multilib --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new
--without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux)
Looking forward to your suggestions. Thank you.
--
Ilya Bagrak
Field Applications Engineer
MeshNetics™
Tel.: +7 (495) 725 8125 ext. 5587
Web: www.MeshNetics.com
- ld barfs when cross compiling for avr,
Ilya Bagrak <=