public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Compiling arm-cortex_a8-linux-gnueabi with crosstool-ng fails
       [not found] <5cd84ac80907230240s435cb157wc816e9525c514baa@mail.gmail.com>
@ 2009-07-23 10:40 ` Olivier Perron
  2009-07-23 17:11   ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier Perron @ 2009-07-23 10:40 UTC (permalink / raw)
  To: crossgcc

Hello all,

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

Any help to solve this issue will be greatly appreciated !

Thanks
Olivier

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling arm-cortex_a8-linux-gnueabi with crosstool-ng fails
  2009-07-23 10:40 ` Compiling arm-cortex_a8-linux-gnueabi with crosstool-ng fails Olivier Perron
@ 2009-07-23 17:11   ` Yann E. MORIN
  2009-07-24  6:30     ` Olivier Perron
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2009-07-23 17:11 UTC (permalink / raw)
  To: crossgcc; +Cc: Olivier Perron

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling arm-cortex_a8-linux-gnueabi with crosstool-ng fails
  2009-07-23 17:11   ` Yann E. MORIN
@ 2009-07-24  6:30     ` Olivier Perron
  0 siblings, 0 replies; 3+ messages in thread
From: Olivier Perron @ 2009-07-24  6:30 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

And the winner is :
- Start again from scratch:   ct-ng distclean

Big thanks man, you're really a geek ;-)

Cheers
Olivier

On Thu, Jul 23, 2009 at 7:11 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-24  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5cd84ac80907230240s435cb157wc816e9525c514baa@mail.gmail.com>
2009-07-23 10:40 ` Compiling arm-cortex_a8-linux-gnueabi with crosstool-ng fails Olivier Perron
2009-07-23 17:11   ` Yann E. MORIN
2009-07-24  6:30     ` Olivier Perron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).