This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Single ARM Toolchain?


Allen Curtis wrote:
BTW: The release notes say that you went back to
binutils-2.14.90.0.5, the latest version is
binutils-2.14.90.0.8, WHY?

No particular reason, probably. Do you need binutils-2.14.90.0.8 ?


--- Daniel Kegel <dank@kegel.com> wrote:

Also, can you post a script to reproduce the u-boot problems?

Thanks for the list! Can you send me the cpu .dat file you use, and the kernel .config file you use, if different from my default? - Dan

1. This will not compile Linux 2.6 because the
binutils are too old. Need support for .incbin.

BINUTILS_DIR=binutils-2.11.2
BINUTILS_URL=ftp://ftp.gnu.org/pub/gnu/binutils
GCC_DIR=gcc-2.95.3
GLIBC_DIR=glibc-2.1.3
LINUX_DIR=linux-2.4.21
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.1.3
GLIBCCRYPT_FILENAME=glibc-crypt-2.1

2. Same problem as #1
BINUTILS_DIR=binutils-2.11.2
BINUTILS_URL=ftp://ftp.gnu.org/pub/gnu/binutils
GCC_DIR=gcc-2.95.3
GLIBC_DIR=glibc-2.2.5
LINUX_DIR=linux-2.4.3
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5

3. The kernel refuses to try to compile with GCC 3.2.x

4. Compiles Linux but has an error with U-Boot

BINUTILS_DIR=binutils-2.14.90.0.8
BINUTILS_URL=ftp://ftp.kernel.org/pub/linux/devel/binutils
GCC_DIR=gcc-2.95.3
GLIBC_DIR=glibc-2.2.5
LINUX_DIR=linux-2.4.3
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5

ERROR
/opt/crosstool/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/lib/gcc-lib/arm-unknown-linux-gnu/2.95.3/libgcc.a(_udivsi3.o)(.text+0x8c):
In function `Ldiv0':
: relocation truncated to fit: R_ARM_PLT32 __div0
/opt/crosstool/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/lib/gcc-lib/arm-unknown-linux-gnu/2.95.3/libgcc.a(_umodsi3.o)(.text+0xa8):
In function `Ldiv0':
: relocation truncated to fit: R_ARM_PLT32 __div0
make: *** [u-boot] Error 1

5. This appears to compile both but we are using 2.4
headers instead of 2.6.

BINUTILS_DIR=binutils-2.14.90.0.5
BINUTILS_URL=ftp://ftp.kernel.org/pub/linux/devel/binutils
GCC_DIR=gcc-2.95.3
GLIBC_DIR=glibc-2.1.3
LINUX_DIR=linux-2.4.21
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.1.3
GLIBCCRYPT_FILENAME=glibc-crypt-2.1

6. Tried to build using 2.6 headers. Build of the
cross compiler fails.

BINUTILS_DIR=binutils-2.14.90.0.5
BINUTILS_URL=ftp://ftp.kernel.org/pub/linux/devel/binutils
GCC_DIR=gcc-2.95.3
GLIBC_DIR=glibc-2.1.3
LINUX_DIR=linux-2.4.21
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.1.3
GLIBCCRYPT_FILENAME=glibc-crypt-2.1

ERROR:
*
* Security options
*
Enable different security models (SECURITY) [N/y/?]
(NEW) *
* Cryptographic options
*
Cryptographic API (CRYPTO) [N/y/?] (NEW) *
* Library routines
*
CRC32 functions (CRC32) [N/y/?] (NEW) + make ARCH=arm
symlinks include/linux/version.h
make: *** No rule to make target `symlinks'.  Stop.






__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover






--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]