mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] liburcu doesen't compile under arm
@ 2015-03-04  7:57 Hänel-Baas, Alexander
  2015-03-04  9:53 ` Juergen Borleis
  0 siblings, 1 reply; 6+ messages in thread
From: Hänel-Baas, Alexander @ 2015-03-04  7:57 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 2625 bytes --]

Hi

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?

Here the compile output:

I have delete some unimportant lines to reduce.

-----------------------
target: liburcu.prepare
-----------------------

checking build system type... i686-host-linux-gnu
checking host system type... arm-v7a-linux-gnueabi
checking target system type... arm-v7a-linux-gnueabi

~~~~~
-----------------------
target: liburcu.compile
-----------------------

make  all-recursive
Making all in .
  CC     wfqueue.lo
  CC     wfstack.lo
  CC     wfcqueue.lo
  CC     urcu.lo
  CC     urcu-pointer.lo
  CC     urcu-qsbr.lo
  CC     liburcu_mb_la-urcu.lo
  CC     liburcu_mb_la-urcu-pointer.lo
  CC     liburcu_signal_la-urcu.lo
  CC     liburcu_signal_la-urcu-pointer.lo
  CC     urcu-bp.lo
  CC     rculfqueue.lo
  CC     rculfstack.lo
  CC     lfstack.lo
  CC     rculfhash.lo
  CC     rculfhash-mm-order.lo
  CC     rculfhash-mm-chunk.lo
  CC     rculfhash-mm-mmap.lo
  CCLD   liburcu-common.la
  CCLD   liburcu.la
  CCLD   liburcu-mb.la
  CCLD   liburcu-qsbr.la
  CCLD   liburcu-signal.la
  CCLD   liburcu-bp.la
  CCLD   liburcu-cds.la
Making all in examples
make -f dist-files/Makefile AM_CPPFLAGS=" -I../../../urcu/ -I../../../" AM_CFLAGS='-g -O2' AM_LDFLAGS=' -L../../../.libs/ -Wl,-rpath="/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples/../../.libs/"'  all
gcc  -g -O2 -Wall -I../../../urcu/ -I../../../ -g -O2 \
                               -c -o cds_hlist_add_head_rcu.o cds_hlist_add_head_rcu.c
gcc -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]: *** [cds_hlist_add_head_rcu] Error 1
make: *** [/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/state/liburcu.compile] Error 2



With best regards,

Alexander Hänel-Baas

[-- Attachment #1.2: Type: text/html, Size: 10246 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-04 12:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04  7:57 [ptxdist] liburcu doesen't compile under arm 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
2015-03-04 12:49         ` Juergen Borleis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox