All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Felipe Brandão Cavalcanti" <cavalkaf@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Problems when cross-compiling Xenomai
Date: Wed, 10 Feb 2010 13:16:26 +0100	[thread overview]
Message-ID: <4B72A39A.6020300@domain.hid> (raw)
In-Reply-To: <4B72A0C7.3040000@domain.hid>

Gilles Chanteperdrix wrote:
> Felipe Brandão Cavalcanti wrote:
>> 2010/2/10 Felipe Brandão Cavalcanti <cavalkaf@domain.hid>
>>
>>> 2010/2/10 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.orgom>
>>>
>>> Felipe Brandão Cavalcanti wrote:
>>>>> Hello,
>>>>>
>>>>> I am having some problems when trying to cross-compile the userspace
>>>> portion
>>>>> of the latest Xenomai (2.5.1) for ARM. I am attempting to get Xenomai
>>>>> running on a IGEPv2 OMAP board (Beagleboard based), so I am
>>>> cross-compiling
>>>>> with bitbake on top of a poky Linux distribution.
>>>> Do you have the same problem if you build Xenomai user-space portion
>>>> running the standard build procedure without additional CFLAGS and
>>>> LDFLAGS?
>>>>
>>>>
>>> I have not tried this - the cross compiler automatically adds them, and I
>>> am not sure what I can remove. However, I will try removing them to see what
>>> works. One thing that I noticed using the -k option in the make command is
>>> that compiling fails only in the testsuite.
>>>
>>> I found an old thread with a similar problem:
>>> https://mail.gna.org/public/xenomai-help/2008-07/msg00141.html
>>>
>>>
>> Just tried removing the LDFLAGS and CFLAGS, same error. I've attached the
>> configure and make logs.
> 
> You still compile with the same flags:
> libtool: link: ../../../scripts/wrap-link.sh arm-none-linux-gnueabi-gcc
> -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
> -fno-tree-vectorize
> -Wl,@/home/jdoe/poky/poky/build/tmp-poky/work/armv7a-none-linux-gnueabi/xenomai-2.5.1-r0/xenomai-2.5.1/src/skins/posix/posix.wrappers
> -Wl,-O1 -Wl,--as-needed -o .libs/cyclictest cyclictest-cyclictest.o
> ../../skins/posix/.libs/libpthread_rt.so -lpthread -lrt
> 
> a normal Xenomai build would not have -mtune=cortex-a8, -mfpu=neon
> -fno-tree-vectorize -Wl,-O1 -WL,--as-needed

-mtune=cortex-a8 -mfpu=neon come from your CC variable, unset CC and run
configure passing --host=arm-none-linux-gnueabi, CC will be set
automatically.

to find the other options, grep the output of the "export" command, and
unset the variables you find.

-- 
					    Gilles.



  reply	other threads:[~2010-02-10 12:16 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 11:27 [Xenomai-help] Problems when cross-compiling Xenomai Felipe Brandão Cavalcanti
2010-02-10 11:39 ` Gilles Chanteperdrix
2010-02-10 11:49   ` Felipe Brandão Cavalcanti
2010-02-10 11:58     ` Felipe Brandão Cavalcanti
2010-02-10 12:04       ` Gilles Chanteperdrix
2010-02-10 12:16         ` Gilles Chanteperdrix [this message]
2010-02-10 14:24       ` Gilles Chanteperdrix
2010-02-10 19:28         ` Felipe Brandão Cavalcanti
2010-02-11 18:05           ` Felipe Brandão Cavalcanti
2010-02-11 18:08             ` Gilles Chanteperdrix
2010-02-11 18:24               ` Felipe Brandão Cavalcanti
2010-02-11 18:39                 ` Gilles Chanteperdrix
2010-02-11 18:53                   ` Felipe Brandão Cavalcanti
2010-02-11 19:20                     ` Gilles Chanteperdrix
2010-02-11 19:38                     ` Gilles Chanteperdrix
2010-02-11 20:15                       ` Felipe Brandão Cavalcanti
2010-02-11 21:00                         ` Gilles Chanteperdrix
2010-02-11 22:30                           ` Felipe Brandão Cavalcanti
2010-02-12  7:20                             ` Gilles Chanteperdrix
2010-02-12 18:23                               ` Felipe Brandão Cavalcanti
2010-02-12 18:29                                 ` Gilles Chanteperdrix
2010-02-12 18:34                                   ` Stefan Kisdaroczi
2010-02-13 19:57                                     ` Felipe Brandão Cavalcanti
2010-02-13 20:02                                       ` Gilles Chanteperdrix
2010-02-13 20:25                                         ` Felipe Brandão Cavalcanti
2010-02-15 17:19                                           ` Felipe Brandão Cavalcanti
2010-02-15 18:19                                             ` Gilles Chanteperdrix
2010-02-15 18:34                                               ` Felipe Brandão Cavalcanti
2010-03-02 15:29                                                 ` Felipe Brandão Cavalcanti
2010-03-02 15:32                                                   ` Gilles Chanteperdrix
2010-05-05  0:11                                                     ` Gilles Chanteperdrix
2010-05-06  3:27                                                       ` Felipe Brandão Cavalcanti
2010-02-11 18:30             ` Gilles Chanteperdrix
2010-02-11 18:39               ` Felipe Brandão Cavalcanti
2010-02-10 12:00     ` Gilles Chanteperdrix
2010-02-10 12:19     ` 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=4B72A39A.6020300@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=cavalkaf@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.