From: Jan Kiszka <jan.kiszka@domain.hid>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai with µClibc
Date: Fri, 01 Jun 2007 16:45:19 +0200 [thread overview]
Message-ID: <466030FF.3070503@domain.hid> (raw)
In-Reply-To: <46603129.5050502@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 3360 bytes --]
Wolfgang Grandegger wrote:
> Jan Kiszka wrote:
>> Wolfgang Grandegger wrote:
>>> Jan Kiszka wrote:
>>>> Wolfgang Grandegger wrote:
>>>>> Jan Kiszka wrote:
>>>>>> Wolfgang Grandegger wrote:
>>>>>>> Jan Kiszka wrote:
>>>>>>>> Perrine Martignoni wrote:
>>>>>>>>>> Perrine, did you happen to configure Xenomai with "configure
>>>>>>>>>> --host=arm
>>>>>>>>>> ..."? If yes (see config.log), please use "--host=arm-linux".
>>>>>>>>>> This
>>>>>>>>>> solved all issues for me.
>>>>>>>>>>
>>>>>>>>>> Awaiting your feedback!
>>>>>>>>> I configure Xenomai with --host=arm.
>>>>>>>>> I tried to configure like this but it doesn't work :
>>>>>>>>>
>>>>>>>>> ./configure --build=arm-linux --host=arm-linux CC=arm-linux-gcc
>>>>>>>> ^^^^^^^^^
>>>>>>>> I guess you are not compiling Xenomai _on_ an ARM box, are you? :)
>>>>>>>> Try --build=i686-linux here.
>>>>>>> Or just omit it. Also CC=, CXX=, LD= ist not necessary. For PowerPC
>>>>>>> with the ELDK, I just use
>>>>>>>
>>>>>>> ./configure --host=ppc-linux
>>>>>>>
>>>>>>> to configure Xenomai.
>>>>>> Can we define a common ground for this in README.INSTALL, for all
>>>>>> archs?
>>>>>> The simpler, the better.
>>>>>>
>>>>>> I was heavily misled by the PPC section, because I do not
>>>>>> cross-compile
>>>>>> everyday, thus had to look up the procedure again and managed to pick
>>>>>> the bad example...
>>>>> I had a closer look and realized, that passing just CC, CXX and LD to
>>>>> the configure script is not enough. There should at least also AR and
>>>>> RANLIB, otherwise the corresponding host tools are used. Then I think,
>>>>> it should be equivalent to automatic tool assignment via --host.
>>>>>
>>>>> Also note, that "--host=arm" will also work with the ELDK, because
>>>>> there
>>>>> are links arm-* to the tools arm-linux-*. I Perrine's configure
>>>>> examples
>>>>> above, arm-ar and arm-ranlib will then be used.
>>>> But the issue is that in this case configure is unable to find the
>>>> target OS and fails to detect that shared libs are supported for the
>>>> target. Non-shared build fails with ELDK for unknown reasons.
>>> Why it is unable to find the target OS. Can you provide an example? And
>>
>> Look at the configure script. :o) [This is how I found the reason for
>> the non-shared build.]
>
> I'm still unable to reproduce that case, sorry. Could you be please show
> me the failing configure command. So far, I always got
>
> checking for target architecture... ARM arm-unknown-none
> arm
>
> Have I missed something?
No look below if your configure run is able to detect shared-libs
support. It shouldn't (how is OS "unknown" supposed to handle dynamic
linking?). Thus we fall back to static linking.
>
>>> non-shared builds only fail with the ARM uClibc toolchain from the ELDK.
>>> It builds fine with the normal ARM tool-chain.
>>
>> OK, good to know that the issue is confined.
>
> Comparing the output of configure, I see, that probing the following
> functions fails with arm-uclibc:
>
> ac_cv_func_shm_open=no
> ac_cv_func_shm_unlink=no
> ac_cv_sched_setaffinity=no
Are those services supported by uClibc? I think they aren't, and Xenomai
should already be able to deal with this.
>
> Still investigating...
>
> Wolfgang.
>
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2007-06-01 14:45 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-28 13:15 [Xenomai-help] Xenomai with µClibc Fillod Stephane
2007-05-28 13:38 ` Gilles Chanteperdrix
2007-05-28 13:51 ` Philippe Gerum
2007-05-29 8:30 ` Perrine Martignoni
2007-05-29 8:42 ` Gilles Chanteperdrix
2007-05-29 10:47 ` Perrine Martignoni
2007-05-29 16:58 ` Gilles Chanteperdrix
2007-05-29 17:27 ` Jan Kiszka
2007-05-29 18:18 ` Gilles Chanteperdrix
2007-05-30 5:57 ` Perrine Martignoni
2007-05-30 7:51 ` Perrine Martignoni
2007-05-30 8:05 ` Jan Kiszka
2007-05-30 9:10 ` Perrine Martignoni
2007-05-30 9:21 ` Daniel Schnell
2007-05-30 9:28 ` Gilles Chanteperdrix
2007-05-30 9:40 ` Daniel Schnell
2007-05-30 9:43 ` Gilles Chanteperdrix
2007-05-31 9:08 ` Gilles Chanteperdrix
2007-05-30 11:55 ` Jan Kiszka
2007-05-31 9:04 ` Jan Kiszka
2007-05-31 10:40 ` Daniel Schnell
2007-05-31 12:58 ` Perrine Martignoni
2007-05-31 13:04 ` Jan Kiszka
2007-05-31 13:14 ` Perrine Martignoni
2007-05-31 13:30 ` Wolfgang Grandegger
2007-05-31 13:38 ` Jan Kiszka
2007-05-31 13:45 ` Perrine Martignoni
2007-05-31 13:58 ` Jan Kiszka
2007-05-31 14:13 ` Wolfgang Grandegger
2007-05-31 14:58 ` Perrine Martignoni
2007-05-31 15:03 ` Gilles Chanteperdrix
2007-05-31 15:33 ` Perrine Martignoni
[not found] ` <465EEDC3.6040309@domain.hid>
2007-06-01 7:17 ` Perrine Martignoni
2007-06-01 7:30 ` Gilles Chanteperdrix
2007-06-01 8:26 ` Wolfgang Grandegger
2007-06-01 8:48 ` Jan Kiszka
2007-06-01 9:09 ` Wolfgang Grandegger
2007-06-01 9:11 ` Jan Kiszka
2007-06-01 14:46 ` Wolfgang Grandegger
2007-06-01 14:45 ` Jan Kiszka [this message]
2007-06-01 9:11 ` Perrine Martignoni
2007-05-31 13:04 ` Gilles Chanteperdrix
2007-05-31 13:05 ` Perrine Martignoni
-- strict thread matches above, loose matches on Subject: below --
2007-05-28 7:43 Perrine Martignoni
2007-05-28 8:49 ` Philippe Gerum
2007-05-28 9:03 ` Gilles Chanteperdrix
2007-05-28 9:12 ` Philippe Gerum
2007-05-28 12:57 ` Perrine Martignoni
2007-05-28 13:17 ` Philippe Gerum
2007-05-28 13:21 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=466030FF.3070503@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=wg@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.