From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Wed, 4 Mar 2015 12:40:29 +0100 References: <9BA84827B30CBE4996725F98F7DC91234295CF9A@SMExchange01.siebmeyer.org> <201503041053.55090.jbe@pengutronix.de> <9BA84827B30CBE4996725F98F7DC91234295D01F@SMExchange01.siebmeyer.org> In-Reply-To: <9BA84827B30CBE4996725F98F7DC91234295D01F@SMExchange01.siebmeyer.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201503041240.29486.jbe@pengutronix.de> Subject: Re: [ptxdist] liburcu doesen't compile under arm Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: "=?iso-8859-1?q?H=E4nel-Baas?=, Alexander" Hi Alexander, On Wednesday 04 March 2015 11:09:37 H=E4nel-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 (=3D0.8.0) than it is part of PTXdist (=3D0.6.7)... > Here the output from clean an compile step at full length. > [...] > cc -g -O2 -Wall -g -O2 -L../../../.libs/ > -Wl,-rpath=3D"/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platf= orm-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 search= ing 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' (=3Dhost 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 buildi= ng the examples and docs. Or their buildsystem must be fixed to use the cross compiler everywhere. Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de