ct-ng 1.8.2 how to select gcc 4.5.x ?
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Thu Oct 7 22:50:00 GMT 2010
Samson, All,
On Thursday 07 October 2010 19:12:30 Samson Luk wrote:
> 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 :
> 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?
The 4.5 series is hidden behind EXPERIMENTAL, which you can select in:
Paths and misc options --->
[ ] Try features marked as EXPERIMENTAL
> 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
This is a known issue. glibc does not build with 'fortify'.
Please try setting:
C-library --->
(-U_FORTIFY_SOURCE) extra target CFLAGS
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list