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]

Re: Compiling arm-cortex_a8-linux-gnueabi with crosstool-ng fails


Olivier,
All,

On Thursday 23 July 2009 12:40:28 Olivier Perron wrote:
> I try to build a cross compiler for the OMAP3430 (basically a ARM
> Cortex A8 core).
> For this purpose I use croostool-ng (mercurial snapshot as 1.4.1 does
> not support cortex-a8 at all and the mercurial snapshot do provide a
> config file for the cortex a8)
> Currently the build fails at "Installing C library" stage:
> 
> [ALL? ]??? ../sysdeps/unix/sysv/linux/syslog.c:1: warning: switch
> -mcpu=cortex-a8 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
> 
> Some information about my configuration:
> Host: Debian SID with gcc-4.3.3
> crosstool-ng: mercurial version ct-ng-hg_default@1430_933eee133cbf
> arm-cortex_a8-linux-gnueabi config is the one that is shipped with the
> crosstool-ng mercurial snapshot, I just changed the linux version to
> be 2.6.27.10 instead of 2.6.29

Works for me here. Both with default sample using linux-2.6.29.2, and
with linux-2.6.27.10 as you use.

> Any help to solve this issue will be greatly appreciated !

Just a few hints, maybe...
- Don't run as root. You don't want to run as root. I know you don't want to.
- Start again from scratch:   ct-ng distclean
- Don't run in //
- If it still fails, send me (privately) your .config and build.log files
  (compress them).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  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


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