This is the mail archive of the crossgcc@sourceware.org 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]

ct-ng 1.8.2 how to select gcc 4.5.x ?


I am new to ct-ng , I just downloaded v1.8.2 and I would like to build
a classic cross-toolchain for arm linux on Ubuntu 10.04 box with gcc
4.5.x :

build=i686-pc-linux-gnu  (gcc 4.4.3)
host=i686-pc-linux-gnu
target=arm-none-linux-gnueabi

However, I found ct-ng menuconfig C compiler (gcc) only provide
version up to  4.4.3,  please advice how can I select 4.5.x or this is
not supported yet?

While attempt to test build with gcc 4.4.3  I encountered the
following error and process aborted, any idea how to fix it?

[ALL  ]    ../sysdeps/unix/sysv/linux/syslog.c:1: warning: switch
-mcpu=arm926ej-s conflicts with -march= switch
[ALL  ]    In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:
[ALL  ]    ../misc/syslog.c: In function '__vsyslog_chk':
[ALL  ]    ../misc/syslog.c:123: sorry, unimplemented: inlining failed
in call to 'syslog': function body not available
[ALL  ]    ../misc/syslog.c:155: sorry, unimplemented: called from here
[ERROR]    make[3]: ***
[/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/build-libc/misc/syslog.o]
Error 1
[ALL  ]    make[3]: Leaving directory
`/usr/local/src/gccCross/targets/src/eglibc-2_10/misc'
[ERROR]    make[2]: *** [misc/subdir_lib] Error 2
[ALL  ]    make[2]: Leaving directory
`/usr/local/src/gccCross/targets/src/eglibc-2_10'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory
`/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/build-libc'
[ERROR]    Build failed in step 'Installing C library'
[ERROR]    Error happened in
'/usr/local/lib/ct-ng-1.8.2/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/lib/ct-ng-1.8.2/scripts/build/libc/eglibc.sh' at line #
336 in function 'do_libc'
[ERROR]          called from
'/usr/local/lib/ct-ng-1.8.2/scripts/crosstool-NG.sh' at line # 586 in
function 'main'
[ERROR]    Look at '/opt/x-tools/arm-none-linux-gnueabi/build.log' for
more info on this error.
[ERROR]  (elapsed: 232:31.07)
make: *** [build] Error 2

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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