From: "Hänel-Baas, Alexander" <alexander.haenel-baas@sieb-meyer.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] liburcu doesen't compile under arm
Date: Wed, 4 Mar 2015 12:25:26 +0000 [thread overview]
Message-ID: <9BA84827B30CBE4996725F98F7DC91234295D098@SMExchange01.siebmeyer.org> (raw)
In-Reply-To: <201503041240.29486.jbe@pengutronix.de>
Hi Juergen
Ups, i forget to tell you what liburcu version i used. Sorry.
You are right.
I found a discussion about vers. 0.8.0 how pass the CC variable to the example Makefiles
http://git.lttng.org/?p=userspace-rcu.git;a=commit;h=d251e6454df8976cd28c01536e0e41f02f5de072
Now I have apply this patch and it works.
Thank you very much for your hints and support.
Best regards
Alexander
-----Ursprüngliche Nachricht-----
Von: Juergen Borleis [mailto:jbe@pengutronix.de]
Gesendet: Mittwoch, 4. März 2015 12:40
An: ptxdist@pengutronix.de
Cc: Hänel-Baas, Alexander
Betreff: Re: [ptxdist] liburcu doesen't compile under arm
Hi Alexander,
On Wednesday 04 March 2015 11:09:37 Hänel-Baas, Alexander wrote:
> Thank you for your reply.
>
> There is NO libucru installed on my host.
Wrong direction. You didn't told us you try to use a more recent version of userspace-rcu (=0.8.0) than it is part of PTXdist (=0.6.7)...
> Here the output from clean an compile step at full length.
> [...]
> cc -g -O2 -Wall -g -O2 -L../../../.libs/
> -Wl,-rpath="/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples/../../.libs/"
> \ -o cds_hlist_add_head_rcu cds_hlist_add_head_rcu.o -lurcu
> /usr/bin/ld: skipping incompatible ../../../.libs//liburcu.so when
> searching for -lurcu
> /usr/bin/ld: cannot find -lurcu
> collect2: error: ld returned 1 exit status
> make[7]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples/hlist'
> make[7]: ***
> [...]
> I think, when make do all in doc's then it used the wrong LD.
Not the wrong LD, it uses 'cc' (=host compiler) instead of the correct "arm-v7a-linux-gnueabi-gcc" cross-compiler.
Maybe the new 0.8.0 version comes with a configure switch do disable building the examples and docs. Or their buildsystem must be fixed to use the cross compiler everywhere.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2015-03-04 12:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 7:57 Hänel-Baas, Alexander
2015-03-04 9:53 ` Juergen Borleis
2015-03-04 10:09 ` Hänel-Baas, Alexander
2015-03-04 11:40 ` Juergen Borleis
2015-03-04 12:25 ` Hänel-Baas, Alexander [this message]
2015-03-04 12:49 ` Juergen Borleis
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=9BA84827B30CBE4996725F98F7DC91234295D098@SMExchange01.siebmeyer.org \
--to=alexander.haenel-baas@sieb-meyer.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox