From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Rodolfo Bamberg <rolfetas@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] problem compiling for user space
Date: Fri, 25 May 2007 11:35:10 +0200 [thread overview]
Message-ID: <4656ADCE.2090106@domain.hid> (raw)
In-Reply-To: <4656AA8D.9070607@domain.hid>
Rodolfo Bamberg wrote:
> Gilles Chanteperdrix wrote:
>
>>Rodolfo Bamberg wrote:
>>
>>
>>>I thought I did compile xenomai for the same target by passing the
>>>--build=i386-linux-uclibc option to .configure.
>>>
>>
>>No, to cross compile, you should pass --host=i386-linux-uclibc not
>>--build. For informations on cross-compiling Xenomai, see README.INSTALL.
>>
>>
>
> I runned now configure with the correct --host option, and when I run
> make install i get
> this error:
>
> Making install in cyclic
> make[3]: Entering directory
> `/home/rodolfo/xenomai/xenomai-2.3.1/src/testsuite/cyclic'
> if i386-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include
> -I../../../include/posix -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -pipe
> -fstrict-aliasing -Wno-strict-aliasing -D__XENO__ -D__IN_XENO__
> -Wstrict-prototypes -DIPIPE_TRACE=1 -I../../../include -MT
> cyclictest-cyclictest.o -MD -MP -MF ".deps/cyclictest-cyclictest.Tpo" -c
> -o cyclictest-cyclictest.o `test -f 'cyclictest.c' || echo
> './'`cyclictest.c; \
> then mv -f ".deps/cyclictest-cyclictest.Tpo"
> ".deps/cyclictest-cyclictest.Po"; else rm -f
> ".deps/cyclictest-cyclictest.Tpo"; exit 1; fi
> /bin/sh ../../../libtool --tag=CC --mode=link i386-linux-uclibc-gcc
> -o cyclictest
> -Wl,@/home/rodolfo/xenomai/xenomai-2.3.1/src/skins/posix/posix.wrappers
> cyclictest-cyclictest.o ../../skins/posix/libpthread_rt.la -lpthread -lrt
> i386-linux-uclibc-gcc -o .libs/cyclictest
> -Wl,@/home/rodolfo/xenomai/xenomai-2.3.1/src/skins/posix/posix.wrappers
> cyclictest-cyclictest.o ../../skins/posix/.libs/libpthread_rt.so
> -lpthread -lrt -Wl,--rpath -Wl,/tftpboot/192.168.0.2//lib
> collect2: ld terminated with signal 11 [Segmentation fault]
>
> Is this a bug in my toolchain?? Tanks Gilles.
I am afraid yes. Maybe the @ option is not supported by your version of
ld? Could you try using the @ option to ld on a simple hello world program?
--
Gilles Chanteperdrix
next prev parent reply other threads:[~2007-05-25 9:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-25 8:58 [Xenomai-help] problem compiling for user space Rodolfo Bamberg
2007-05-25 9:06 ` Gilles Chanteperdrix
2007-05-25 9:13 ` Rodolfo Bamberg
[not found] ` <4656A7FA.9000408@domain.hid>
2007-05-25 9:19 ` Gilles Chanteperdrix
[not found] ` <4656A938.9000501@domain.hid>
2007-05-25 9:21 ` Rodolfo Bamberg
2007-05-25 9:35 ` Gilles Chanteperdrix [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-29 16:36 Ravid Baruch Naali
2007-08-29 17:04 ` Jan Kiszka
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=4656ADCE.2090106@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=rolfetas@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.