From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Wed, 4 Mar 2015 10:53:54 +0100 References: <9BA84827B30CBE4996725F98F7DC91234295CF9A@SMExchange01.siebmeyer.org> In-Reply-To: <9BA84827B30CBE4996725F98F7DC91234295CF9A@SMExchange01.siebmeyer.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201503041053.55090.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-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: "=?iso-8859-15?q?H=E4nel-Baas?=, Alexander" Hi Alexander, On Wednesday 04 March 2015 08:57:25 H=E4nel-Baas, Alexander wrote: > We use Ptxdist 2014.10.0 with OSELAS.Toolchain-2013.12.12 for arm -> > arm-v7a-linux-gnueabi > > When we compile the package liburcu then the linker stops with "skipping > incompatible /libs/liburco.so". "/usr/bin/ld: skipping incompatible > ../../../.libs//liburcu.so when searching for -lurcu" > > I think ptxdist use the host linker and not the arm-v7a-linux- from the > toolchain. > > What must I do to get it to work for arm? I tried the same here with the same compiler - and it works. But: on my hos= t = there is no liburcu installed. So the linker decides to use the local lib i= n = the build directory instead of the global one on the host. Please do the following: $ ptxdist clean liburcu $ ptxdist compile liburcu -v Try to de-install liburcu from your host system and do the same steps again. Please send us the *full* log of both runs, maybe this can give us some hin= ts. 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