Oops, nevermind, I saw someone posted the same problem and someone else
replied. Sorry for not reading first. I'm still interested in building a new
toolchain with glibc 2.5 though. Thanks.
Regards,
Andy
----- Original Message ----
From: Andy Ngo <[EMAIL PROTECTED]>
To: "davinci-linux-open-source @linux.davincidsp.com"
<[email protected]>
Sent: Tuesday, June 24, 2008 12:55:26 AM
Subject: Problem build latest GIT kernel with MV toolchain
Hi,
I trying to build the latest GIT tree (2.6.25-davinci1) with the Montavista
toolchain we bought from TI 2 years ago (MV Pro 4.0) and I'm getting the
following error:
make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC kernel/bounds.s
kernel/bounds.c:1: error: invalid ABI option: -mabi=aapcs-linux
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
Do I need to upgrade the toolchain? I wonder if the toolchain we're using is
outdated; here's the gcc info:
arm_v5t_le-gcc -v
Reading specs from
/opt/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montav
ista-linuxeabi/3.4.3/specs
Configured with: ../configure --host=i686-pc-linux-gnu
--target=armv5tl-montavista-lin
uxeabi --prefix=/opt/montavista/foundation/devkit/arm/v5t_le
--exec-prefix=/opt/montav
ista/foundation/devkit/arm/v5t_le
--bindir=/opt/montavista/foundation/devkit/arm/v5t_l
e/bin --sbindir=/opt/montavista/foundation/devkit/arm/v5t_le/sbin
--sysconfdir=/opt/mo
ntavista/foundation/devkit/arm/v5t_le/etc
--datadir=/opt/montavista/foundation/devkit/
arm/v5t_le/share
--includedir=/opt/montavista/foundation/devkit/arm/v5t_le/include --l
ibdir=/opt/montavista/foundation/devkit/arm/v5t_le/lib
--libexecdir=/opt/montavista/fo
undation/devkit/arm/v5t_le/libexec
--localstatedir=/opt/montavista/foundation/devkit/a
rm/v5t_le/var
--sharedstatedir=/opt/montavista/foundation/devkit/arm/v5t_le/share --ma
ndir=/opt/montavista/foundation/devkit/arm/v5t_le/man
--infodir=/opt/montavista/founda
tion/devkit/arm/v5t_le/info --build=i686-pc-linux-gnu
--program-transform-name=s,^,arm
_v5t_le-, --enable-cross
--with-sysroot=/opt/montavista/foundation/devkit/arm/v5t_le/t
arget --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit
--enable-threads=
posix --disable-multilib
--with-gxx-include-dir=${prefix}/lib/gcc/armv5tl-montavista-l
inuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3 --with-numa-policy=yes
--with-
float=soft --with-cpu=arm10tdmi --with-interwork --with-arch=armv5t
--with-tune=arm10t
dmi --libexecdir=/opt/montavista/foundation/devkit/arm/v5t_le/lib
Thread model: posix
gcc version 3.4.3 (MontaVista 3.4.3-25.0.104.0600975 2006-07-06)
If anyone can help, I would appreciate it. Thanks.
Also, we're planning to use the real-time feature (CONFIG_PREEMPT_RT) in the
new kernel; according the the Linux RT wiki site
(http://rt.wiki.kernel.org/index.php/Main_Page), this requires glibc 2.5 and
higher; I believe the Montavista glibc we're using is 2.3. Does this mean I
have to rebuild the whole toolchain if I want to use glibc 2.5? Do anyone know
how to do such a complicated task; can you point me in the right direction?
Thanks!!!
Regards,
Andy_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source