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

* Re: [ptxdist] liburcu doesen't compile under arm
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Borleis @ 2015-03-04  9:53 UTC (permalink / raw)
  To: ptxdist; +Cc: Hänel-Baas, Alexander

Hi Alexander,

On Wednesday 04 March 2015 08:57:25 Hänel-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 host 
there is no liburcu installed. So the linker decides to use the local lib in 
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 hints.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] liburcu doesen't compile under arm
  2015-03-04  9:53 ` Juergen Borleis
@ 2015-03-04 10:09   ` Hänel-Baas, Alexander
  2015-03-04 11:40     ` Juergen Borleis
  0 siblings, 1 reply; 6+ messages in thread
From: Hänel-Baas, Alexander @ 2015-03-04 10:09 UTC (permalink / raw)
  To: ptxdist

Hi Juergen

Thank you for your reply.

There is NO libucru installed on my host.

Here the output from clean an compile step at full length.


sm@debianVM:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2$ ptxdist clean liburcu 

---------------------
target: liburcu.clean
---------------------

Deleting stage files:
/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/state/liburcu.extract
/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/state/liburcu.extract.post
/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/state/liburcu.get
/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/state/liburcu.userspace-rcu-0.8.0.tar.bz2.stamp

Deleting src dir:
/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0

sm@debianVM:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2$ ptxdist compile liburcu -v 

-------------------
target: liburcu.get
-------------------

finished target liburcu.get

-----------------------
target: liburcu.extract
-----------------------

extract: pkg_src=/opt/g3DevelBase/g3Toolchain/g3BspSrc/userspace-rcu-0.8.0.tar.bz2
extract: pkg_extract_dir=sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0

pkg_patch_dir:     'sd3XenoArm.Bsp.V2/configs/sm-arm-qemu/patches/userspace-rcu-0.8.0'
pkg_patch_series:  'sd3XenoArm.Bsp.V2/configs/sm-arm-qemu/patches/userspace-rcu-0.8.0/series'

patchin: patch: apply 'sd3XenoArm.Bsp.V2/configs/sm-arm-qemu/patches/userspace-rcu-0.8.0/series'
applying 'makefile.patch'
patching file doc/examples/Makefile.examples.template
patchin: patch: done

finished target liburcu.extract

----------------------------
target: liburcu.extract.post
----------------------------

pkg_patch_autogen: '<none>'

patchin: fixup:
sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/configure
sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/config/ltmain.sh
patchin: fixup: done

finished target liburcu.extract.post

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

ptxdist: executing: PATH=/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-cross/bin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-cross/sbin:\/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-host/lib/wrapper:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-host/bin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-host/sbin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/selected_toolchain:/usr/local/lib/ptxdist-2014.10.0/bin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/selected_toolchain:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-cross/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/lib/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/usr/lib/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/share/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/usr/share/pkgconfig' SYSROOT='/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target' V=1 VERBOSE=1 AR=arm-v7a-linux-gnueabi-ar AS=arm-v7a-linux-gnueabi-as LD=arm-v7a-linux-gnueabi-ld NM=arm-v7a-linux-gnueabi-nm CC=arm-v7a-linux-gnueabi-gcc CXX=arm-v7a-linux-gnueabi-g++ CPP=arm-v7a-linux-gnueabi-cpp RANLIB=arm-v7a-linux-gnueabi-ranlib READELF=arm-v7a-linux-gnueabi-readelf OBJCOPY=arm-v7a-linux-gnueabi-objcopy OBJDUMP=arm-v7a-linux-gnueabi-objdump STRIP=arm-v7a-linux-gnueabi-strip DLLTOOL=arm-v7a-linux-gnueabi-dlltool GNAT=arm-v7a-linux-gnueabi-gnat GNATBIND=arm-v7a-linux-gnueabi-gnatbind GNATCHOP=arm-v7a-linux-gnueabi-gnatchop GNATCLEAN=arm-v7a-linux-gnueabi-gnatclean GNATFIND=arm-v7a-linux-gnueabi-gnatfind GNATKR=arm-v7a-linux-gnueabi-gnatkr GNATLINK=arm-v7a-linux-gnueabi-gnatlink GNATLS=arm-v7a-linux-gnueabi-gnatls GNATMAKE=arm-v7a-linux-gnueabi-gnatmake GNATNAME=arm-v7a-linux-gnueabi-gnatname GNATPREP=arm-v7a-linux-gnueabi-gnatprep GNATXREF=arm-v7a-linux-gnueabi-gnatxref CC_FOR_BUILD=gcc CPP_FOR_BUILD=gcc LINK_FOR_BUILD=gcc SYSROOT="/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target" PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/lib/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/usr/lib/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/share/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/usr/share/pkgconfig' PKG_CONFIG="/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-cross/bin/arm-v7a-linux-gnueabi-pkg-config" enable_option_checking=fatal enable_maintainer_mode=no enable_static=no ac_cv_file__dev_random=yes ac_cv_file__proc_self_exe=yes ac_cv_file__proc_self_fd=yes ac_cv_file__proc_self_maps=yes ac_cv_func_dcgettext=yes ac_cv_func_getpgrp_void=yes ac_cv_func_getrlimit=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_clean=yes ac_cv_func_memcmp_working=yes ac_cv_func_nonposix_getgrgid_r=no ac_cv_func_nonposix_getpwuid_r=no ac_cv_func_posix_getgrgid_r=yes ac_cv_func_posix_getpwnam_r=yes ac_cv_func_posix_getpwuid_r=yes ac_cv_func_printf_unix98=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_setgrent_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setvbuf_reversed=no ac_cv_func_strstr=yes ac_cv_func_strtod=yes ac_cv_func_strtoul=yes ac_cv_func_vsnprintf_c99=yes ac_cv_func_wait3_rusage=yes ac_cv_have_abstract_sockets=yes ac_cv_lib_c_inet_aton=yes ac_cv_sizeof_long_double="8" ac_cv_sizeof_long_long=8 ac_cv_sysv_ipc=yes ac_cv_type_uintptr_t=yes bash_cv_func_ctype_nonascii=yes bash_cv_func_sigsetjmp=present bash_cv_func_strcoll_broken=no bash_cv_must_reinstall_sighandlers=no glib_cv_long_long_format="ll" gt_cv_func_gettext_libintl=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_iconv_open=yes ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --host=arm-v7a-linux-gnueabi --build=i686-host-linux-gnu --enable-shared --disable-static --disable-static --enable-smp-support

checking build system type... i686-host-linux-gnu
checking host system type... arm-v7a-linux-gnueabi
checking target system type... arm-v7a-linux-gnueabi
checking for a BSD-compatible install... /usr/local/lib/ptxdist-2014.10.0/bin/install -c
checking whether build environment is sane... yes
checking for arm-v7a-linux-gnueabi-strip... arm-v7a-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /usr/local/lib/ptxdist-2014.10.0/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for arm-v7a-linux-gnueabi-gcc... arm-v7a-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-v7a-linux-gnueabi-gcc accepts -g... yes
checking for arm-v7a-linux-gnueabi-gcc option to accept ISO C89... none needed
checking dependency style of arm-v7a-linux-gnueabi-gcc... gcc3
checking for thread local storage (TLS) class... __thread
checking for arm-v7a-linux-gnueabi-gcc... (cached) arm-v7a-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-v7a-linux-gnueabi-gcc accepts -g... (cached) yes
checking for arm-v7a-linux-gnueabi-gcc option to accept ISO C89... (cached) none needed
checking dependency style of arm-v7a-linux-gnueabi-gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/lib/ptxdist-2014.10.0/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-v7a-linux-gnueabi-gcc... arm-v7a-linux-gnueabi-ld
checking if the linker (arm-v7a-linux-gnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-v7a-linux-gnueabi-nm
checking the name lister (arm-v7a-linux-gnueabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-host-linux-gnu file names to arm-v7a-linux-gnueabi format... func_convert_file_noop
checking how to convert i686-host-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arm-v7a-linux-gnueabi-ld option to reload object files... -r
checking for arm-v7a-linux-gnueabi-objdump... arm-v7a-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-v7a-linux-gnueabi-dlltool... arm-v7a-linux-gnueabi-dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for arm-v7a-linux-gnueabi-ar... arm-v7a-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-v7a-linux-gnueabi-strip... (cached) arm-v7a-linux-gnueabi-strip
checking for arm-v7a-linux-gnueabi-ranlib... arm-v7a-linux-gnueabi-ranlib
checking command to parse arm-v7a-linux-gnueabi-nm output from arm-v7a-linux-gnueabi-gcc object... ok
checking for sysroot... no
configure: WARNING: using cross tools not prefixed with host triplet
checking for arm-v7a-linux-gnueabi-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-v7a-linux-gnueabi-cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-v7a-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-v7a-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-v7a-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-v7a-linux-gnueabi-gcc static flag -static works... yes
checking if arm-v7a-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-v7a-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-v7a-linux-gnueabi-gcc linker (arm-v7a-linux-gnueabi-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking for bzero... yes
checking for gettimeofday... yes
checking for munmap... yes
checking for sched_getcpu... yes
checking for strtoul... (cached) yes
checking for sysconf... yes
checking for dmb instruction... yes
checking for sys_futex()... yes
checking for cpu_set_t... yes
checking whether CPU_ZERO works... yes
checking whether CPU_SET works... yes
checking for sched_setaffinity... yes
checking how many arguments sched_setaffinity takes... 3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating tests/Makefile
config.status: creating tests/common/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/benchmark/Makefile
config.status: creating tests/regression/Makefile
config.status: creating liburcu.pc
config.status: creating liburcu-bp.pc
config.status: creating liburcu-cds.pc
config.status: creating liburcu-qsbr.pc
config.status: creating liburcu-mb.pc
config.status: creating liburcu-signal.pc
config.status: creating config.h
config.status: creating urcu/config.h
config.status: linking urcu/arch/arm.h to urcu/arch.h
config.status: linking urcu/uatomic/arm.h to urcu/uatomic.h
config.status: executing depfiles commands
config.status: executing libtool commands
SMP support enabled.
Thread Local Storage (TLS): __thread.
finished target liburcu.prepare

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

ptxdist: executing: PATH=/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-cross/bin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-cross/sbin:\/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-host/lib/wrapper:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-host/bin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-host/sbin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/selected_toolchain:/usr/local/lib/ptxdist-2014.10.0/bin:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/selected_toolchain:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-cross/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/lib/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/usr/lib/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/share/pkgconfig:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target/usr/share/pkgconfig' SYSROOT='/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/sysroot-target' V=1 VERBOSE=1  make -C /opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0  -j8 

make[1]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0'
make  all-recursive
make[2]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0'
Making all in .
make[3]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0'
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT wfqueue.lo -MD -MP -MF .deps/wfqueue.Tpo -c -o wfqueue.lo wfqueue.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT wfcqueue.lo -MD -MP -MF .deps/wfcqueue.Tpo -c -o wfcqueue.lo wfcqueue.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT wfstack.lo -MD -MP -MF .deps/wfstack.Tpo -c -o wfstack.lo wfstack.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT urcu.lo -MD -MP -MF .deps/urcu.Tpo -c -o urcu.lo urcu.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT urcu-pointer.lo -MD -MP -MF .deps/urcu-pointer.Tpo -c -o urcu-pointer.lo urcu-pointer.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT urcu-qsbr.lo -MD -MP -MF .deps/urcu-qsbr.Tpo -c -o urcu-qsbr.lo urcu-qsbr.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -DRCU_MB -g -O2 -MT liburcu_mb_la-urcu.lo -MD -MP -MF .deps/liburcu_mb_la-urcu.Tpo -c -o liburcu_mb_la-urcu.lo `test -f 'urcu.c' || echo './'`urcu.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -DRCU_MB -g -O2 -MT liburcu_mb_la-urcu-pointer.lo -MD -MP -MF .deps/liburcu_mb_la-urcu-pointer.Tpo -c -o liburcu_mb_la-urcu-pointer.lo `test -f 'urcu-pointer.c' || echo './'`urcu-pointer.c
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT wfcqueue.lo -MD -MP -MF .deps/wfcqueue.Tpo -c wfcqueue.c  -fPIC -DPIC -o .libs/wfcqueue.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT urcu.lo -MD -MP -MF .deps/urcu.Tpo -c urcu.c  -fPIC -DPIC -o .libs/urcu.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT wfqueue.lo -MD -MP -MF .deps/wfqueue.Tpo -c wfqueue.c  -fPIC -DPIC -o .libs/wfqueue.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT urcu-qsbr.lo -MD -MP -MF .deps/urcu-qsbr.Tpo -c urcu-qsbr.c  -fPIC -DPIC -o .libs/urcu-qsbr.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT wfstack.lo -MD -MP -MF .deps/wfstack.Tpo -c wfstack.c  -fPIC -DPIC -o .libs/wfstack.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT urcu-pointer.lo -MD -MP -MF .deps/urcu-pointer.Tpo -c urcu-pointer.c  -fPIC -DPIC -o .libs/urcu-pointer.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -DRCU_MB -g -O2 -MT liburcu_mb_la-urcu.lo -MD -MP -MF .deps/liburcu_mb_la-urcu.Tpo -c urcu.c  -fPIC -DPIC -o .libs/liburcu_mb_la-urcu.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -DRCU_MB -g -O2 -MT liburcu_mb_la-urcu-pointer.lo -MD -MP -MF .deps/liburcu_mb_la-urcu-pointer.Tpo -c urcu-pointer.c  -fPIC -DPIC -o .libs/liburcu_mb_la-urcu-pointer.o
mv -f .deps/urcu-pointer.Tpo .deps/urcu-pointer.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -DRCU_SIGNAL -g -O2 -MT liburcu_signal_la-urcu.lo -MD -MP -MF .deps/liburcu_signal_la-urcu.Tpo -c -o liburcu_signal_la-urcu.lo `test -f 'urcu.c' || echo './'`urcu.c
mv -f .deps/wfqueue.Tpo .deps/wfqueue.Plo
mv -f .deps/liburcu_mb_la-urcu-pointer.Tpo .deps/liburcu_mb_la-urcu-pointer.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -DRCU_SIGNAL -g -O2 -MT liburcu_signal_la-urcu-pointer.lo -MD -MP -MF .deps/liburcu_signal_la-urcu-pointer.Tpo -c -o liburcu_signal_la-urcu-pointer.lo `test -f 'urcu-pointer.c' || echo './'`urcu-pointer.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT urcu-bp.lo -MD -MP -MF .deps/urcu-bp.Tpo -c -o urcu-bp.lo urcu-bp.c
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -DRCU_SIGNAL -g -O2 -MT liburcu_signal_la-urcu.lo -MD -MP -MF .deps/liburcu_signal_la-urcu.Tpo -c urcu.c  -fPIC -DPIC -o .libs/liburcu_signal_la-urcu.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -DRCU_SIGNAL -g -O2 -MT liburcu_signal_la-urcu-pointer.lo -MD -MP -MF .deps/liburcu_signal_la-urcu-pointer.Tpo -c urcu-pointer.c  -fPIC -DPIC -o .libs/liburcu_signal_la-urcu-pointer.o
mv -f .deps/wfcqueue.Tpo .deps/wfcqueue.Plo
mv -f .deps/liburcu_signal_la-urcu-pointer.Tpo .deps/liburcu_signal_la-urcu-pointer.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT rculfqueue.lo -MD -MP -MF .deps/rculfqueue.Tpo -c -o rculfqueue.lo rculfqueue.c
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT urcu-bp.lo -MD -MP -MF .deps/urcu-bp.Tpo -c urcu-bp.c  -fPIC -DPIC -o .libs/urcu-bp.o
mv -f .deps/wfstack.Tpo .deps/wfstack.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT rculfstack.lo -MD -MP -MF .deps/rculfstack.Tpo -c -o rculfstack.lo rculfstack.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT lfstack.lo -MD -MP -MF .deps/lfstack.Tpo -c -o lfstack.lo lfstack.c
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT rculfstack.lo -MD -MP -MF .deps/rculfstack.Tpo -c rculfstack.c  -fPIC -DPIC -o .libs/rculfstack.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT rculfqueue.lo -MD -MP -MF .deps/rculfqueue.Tpo -c rculfqueue.c  -fPIC -DPIC -o .libs/rculfqueue.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT lfstack.lo -MD -MP -MF .deps/lfstack.Tpo -c lfstack.c  -fPIC -DPIC -o .libs/lfstack.o
mv -f .deps/urcu.Tpo .deps/urcu.Plo
mv -f .deps/rculfqueue.Tpo .deps/rculfqueue.Plo
mv -f .deps/rculfstack.Tpo .deps/rculfstack.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT rculfhash.lo -MD -MP -MF .deps/rculfhash.Tpo -c -o rculfhash.lo rculfhash.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT rculfhash-mm-order.lo -MD -MP -MF .deps/rculfhash-mm-order.Tpo -c -o rculfhash-mm-order.lo rculfhash-mm-order.c
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT rculfhash-mm-chunk.lo -MD -MP -MF .deps/rculfhash-mm-chunk.Tpo -c -o rculfhash-mm-chunk.lo rculfhash-mm-chunk.c
mv -f .deps/lfstack.Tpo .deps/lfstack.Plo
mv -f .deps/urcu-qsbr.Tpo .deps/urcu-qsbr.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu   -Wall -g -O2 -MT rculfhash-mm-mmap.lo -MD -MP -MF .deps/rculfhash-mm-mmap.Tpo -c -o rculfhash-mm-mmap.lo rculfhash-mm-mmap.c
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT rculfhash-mm-chunk.lo -MD -MP -MF .deps/rculfhash-mm-chunk.Tpo -c rculfhash-mm-chunk.c  -fPIC -DPIC -o .libs/rculfhash-mm-chunk.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT rculfhash.lo -MD -MP -MF .deps/rculfhash.Tpo -c rculfhash.c  -fPIC -DPIC -o .libs/rculfhash.o
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT rculfhash-mm-order.lo -MD -MP -MF .deps/rculfhash-mm-order.Tpo -c rculfhash-mm-order.c  -fPIC -DPIC -o .libs/rculfhash-mm-order.o
mv -f .deps/liburcu_mb_la-urcu.Tpo .deps/liburcu_mb_la-urcu.Plo
libtool: compile:  arm-v7a-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./urcu -I./urcu -Wall -g -O2 -MT rculfhash-mm-mmap.lo -MD -MP -MF .deps/rculfhash-mm-mmap.Tpo -c rculfhash-mm-mmap.c  -fPIC -DPIC -o .libs/rculfhash-mm-mmap.o
mv -f .deps/rculfhash-mm-chunk.Tpo .deps/rculfhash-mm-chunk.Plo
/bin/bash ./libtool  --tag=CC   --mode=link arm-v7a-linux-gnueabi-gcc -Wall -g -O2 -lpthread -version-info 2:0:0  -o liburcu-common.la -rpath /usr/lib wfqueue.lo wfcqueue.lo wfstack.lo   
mv -f .deps/rculfhash-mm-order.Tpo .deps/rculfhash-mm-order.Plo
mv -f .deps/liburcu_signal_la-urcu.Tpo .deps/liburcu_signal_la-urcu.Plo
mv -f .deps/urcu-bp.Tpo .deps/urcu-bp.Plo
mv -f .deps/rculfhash-mm-mmap.Tpo .deps/rculfhash-mm-mmap.Plo
libtool: link: arm-v7a-linux-gnueabi-gcc -shared  -fPIC -DPIC  .libs/wfqueue.o .libs/wfcqueue.o .libs/wfstack.o   -lpthread  -O2   -Wl,-soname -Wl,liburcu-common.so.2 -o .libs/liburcu-common.so.2.0.0
libtool: link: (cd ".libs" && rm -f "liburcu-common.so.2" && ln -s "liburcu-common.so.2.0.0" "liburcu-common.so.2")
libtool: link: (cd ".libs" && rm -f "liburcu-common.so" && ln -s "liburcu-common.so.2.0.0" "liburcu-common.so")
libtool: link: ( cd ".libs" && rm -f "liburcu-common.la" && ln -s "../liburcu-common.la" "liburcu-common.la" )
/bin/bash ./libtool  --tag=CC   --mode=link arm-v7a-linux-gnueabi-gcc -Wall -g -O2 -lpthread -version-info 2:0:0  -o liburcu.la -rpath /usr/lib urcu.lo urcu-pointer.lo  liburcu-common.la 
/bin/bash ./libtool  --tag=CC   --mode=link arm-v7a-linux-gnueabi-gcc -Wall -g -O2 -lpthread -version-info 2:0:0  -o liburcu-qsbr.la -rpath /usr/lib urcu-qsbr.lo urcu-pointer.lo  liburcu-common.la 
/bin/bash ./libtool  --tag=CC   --mode=link arm-v7a-linux-gnueabi-gcc -DRCU_MB -g -O2 -lpthread -version-info 2:0:0  -o liburcu-mb.la -rpath /usr/lib liburcu_mb_la-urcu.lo liburcu_mb_la-urcu-pointer.lo  liburcu-common.la 
/bin/bash ./libtool  --tag=CC   --mode=link arm-v7a-linux-gnueabi-gcc -DRCU_SIGNAL -g -O2 -lpthread -version-info 2:0:0  -o liburcu-signal.la -rpath /usr/lib liburcu_signal_la-urcu.lo liburcu_signal_la-urcu-pointer.lo  liburcu-common.la 
/bin/bash ./libtool  --tag=CC   --mode=link arm-v7a-linux-gnueabi-gcc -Wall -g -O2 -lpthread -version-info 2:0:0  -o liburcu-bp.la -rpath /usr/lib urcu-bp.lo urcu-pointer.lo  liburcu-common.la 
libtool: link: arm-v7a-linux-gnueabi-gcc -shared  -fPIC -DPIC  .libs/urcu.o .libs/urcu-pointer.o   -lpthread ./.libs/liburcu-common.so  -O2   -Wl,-soname -Wl,liburcu.so.2 -o .libs/liburcu.so.2.0.0
libtool: link: arm-v7a-linux-gnueabi-gcc -shared  -fPIC -DPIC  .libs/liburcu_signal_la-urcu.o .libs/liburcu_signal_la-urcu-pointer.o   -lpthread ./.libs/liburcu-common.so  -O2   -Wl,-soname -Wl,liburcu-signal.so.2 -o .libs/liburcu-signal.so.2.0.0
libtool: link: arm-v7a-linux-gnueabi-gcc -shared  -fPIC -DPIC  .libs/liburcu_mb_la-urcu.o .libs/liburcu_mb_la-urcu-pointer.o   -lpthread ./.libs/liburcu-common.so  -O2   -Wl,-soname -Wl,liburcu-mb.so.2 -o .libs/liburcu-mb.so.2.0.0
libtool: link: arm-v7a-linux-gnueabi-gcc -shared  -fPIC -DPIC  .libs/urcu-qsbr.o .libs/urcu-pointer.o   -lpthread ./.libs/liburcu-common.so  -O2   -Wl,-soname -Wl,liburcu-qsbr.so.2 -o .libs/liburcu-qsbr.so.2.0.0
libtool: link: arm-v7a-linux-gnueabi-gcc -shared  -fPIC -DPIC  .libs/urcu-bp.o .libs/urcu-pointer.o   -lpthread ./.libs/liburcu-common.so  -O2   -Wl,-soname -Wl,liburcu-bp.so.2 -o .libs/liburcu-bp.so.2.0.0
mv -f .deps/rculfhash.Tpo .deps/rculfhash.Plo
libtool: link: (cd ".libs" && rm -f "liburcu.so.2" && ln -s "liburcu.so.2.0.0" "liburcu.so.2")
libtool: link: (cd ".libs" && rm -f "liburcu.so" && ln -s "liburcu.so.2.0.0" "liburcu.so")
libtool: link: (cd ".libs" && rm -f "liburcu-mb.so.2" && ln -s "liburcu-mb.so.2.0.0" "liburcu-mb.so.2")
/bin/bash ./libtool  --tag=CC   --mode=link arm-v7a-linux-gnueabi-gcc -Wall -g -O2 -lpthread -version-info 2:0:0  -o liburcu-cds.la -rpath /usr/lib rculfqueue.lo rculfstack.lo lfstack.lo rculfhash.lo rculfhash-mm-order.lo rculfhash-mm-chunk.lo rculfhash-mm-mmap.lo  liburcu-common.la 
libtool: link: (cd ".libs" && rm -f "liburcu-qsbr.so.2" && ln -s "liburcu-qsbr.so.2.0.0" "liburcu-qsbr.so.2")
libtool: link: (cd ".libs" && rm -f "liburcu-signal.so.2" && ln -s "liburcu-signal.so.2.0.0" "liburcu-signal.so.2")
libtool: link: (cd ".libs" && rm -f "liburcu-mb.so" && ln -s "liburcu-mb.so.2.0.0" "liburcu-mb.so")
libtool: link: ( cd ".libs" && rm -f "liburcu.la" && ln -s "../liburcu.la" "liburcu.la" )
libtool: link: (cd ".libs" && rm -f "liburcu-qsbr.so" && ln -s "liburcu-qsbr.so.2.0.0" "liburcu-qsbr.so")
libtool: link: (cd ".libs" && rm -f "liburcu-bp.so.2" && ln -s "liburcu-bp.so.2.0.0" "liburcu-bp.so.2")
libtool: link: (cd ".libs" && rm -f "liburcu-signal.so" && ln -s "liburcu-signal.so.2.0.0" "liburcu-signal.so")
libtool: link: ( cd ".libs" && rm -f "liburcu-mb.la" && ln -s "../liburcu-mb.la" "liburcu-mb.la" )
libtool: link: (cd ".libs" && rm -f "liburcu-bp.so" && ln -s "liburcu-bp.so.2.0.0" "liburcu-bp.so")
libtool: link: ( cd ".libs" && rm -f "liburcu-qsbr.la" && ln -s "../liburcu-qsbr.la" "liburcu-qsbr.la" )
libtool: link: ( cd ".libs" && rm -f "liburcu-signal.la" && ln -s "../liburcu-signal.la" "liburcu-signal.la" )
libtool: link: ( cd ".libs" && rm -f "liburcu-bp.la" && ln -s "../liburcu-bp.la" "liburcu-bp.la" )
libtool: link: arm-v7a-linux-gnueabi-gcc -shared  -fPIC -DPIC  .libs/rculfqueue.o .libs/rculfstack.o .libs/lfstack.o .libs/rculfhash.o .libs/rculfhash-mm-order.o .libs/rculfhash-mm-chunk.o .libs/rculfhash-mm-mmap.o   -lpthread ./.libs/liburcu-common.so  -O2   -Wl,-soname -Wl,liburcu-cds.so.2 -o .libs/liburcu-cds.so.2.0.0
libtool: link: (cd ".libs" && rm -f "liburcu-cds.so.2" && ln -s "liburcu-cds.so.2.0.0" "liburcu-cds.so.2")
libtool: link: (cd ".libs" && rm -f "liburcu-cds.so" && ln -s "liburcu-cds.so.2.0.0" "liburcu-cds.so")
libtool: link: ( cd ".libs" && rm -f "liburcu-cds.la" && ln -s "../liburcu-cds.la" "liburcu-cds.la" )
make[3]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0'
Making all in doc
make[3]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc'
Making all in examples
make[4]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/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
make[5]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples'
make -C hlist
make[6]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples/hlist'
make -f Makefile.cds_hlist_add_head_rcu
make[7]: Entering directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples/hlist'
cc  -g -O2 -Wall -I../../../urcu/ -I../../../ -g -O2 \
		-c -o cds_hlist_add_head_rcu.o cds_hlist_add_head_rcu.c
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   <- it is the host ld?????
/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]: *** [cds_hlist_add_head_rcu] Error 1
make[6]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples/hlist'
make[6]: *** [all] Error 2
make[5]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples'
make[5]: *** [all] Error 2
make[4]: *** [all-local] Error 2
make[4]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc/examples'
make[3]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0/doc'
make[3]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0'
make[2]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/build-target/userspace-rcu-0.8.0'
make[1]: *** [all] Error 2
make: *** [/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2/platform-sm-arm/state/liburcu.compile] Error 2
sm@debianVM:/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArm.Bsp.V2$



I think, when make do all in doc's then it used the wrong LD.

Greetings
Alexander




-----Ursprüngliche Nachricht-----
Von: Juergen Borleis [mailto:jbe@pengutronix.de] 
Gesendet: Mittwoch, 4. März 2015 10:54
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 08:57:25 Hänel-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 host there is no liburcu installed. So the linker decides to use the local lib in 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 hints.

Regards,
Juergen

--
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] liburcu doesen't compile under arm
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Borleis @ 2015-03-04 11:40 UTC (permalink / raw)
  To: ptxdist; +Cc: Hänel-Baas, Alexander

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

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

* Re: [ptxdist] liburcu doesen't compile under arm
  2015-03-04 11:40     ` Juergen Borleis
@ 2015-03-04 12:25       ` Hänel-Baas, Alexander
  2015-03-04 12:49         ` Juergen Borleis
  0 siblings, 1 reply; 6+ messages in thread
From: Hänel-Baas, Alexander @ 2015-03-04 12:25 UTC (permalink / raw)
  To: ptxdist

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

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

* Re: [ptxdist] liburcu doesen't compile under arm
  2015-03-04 12:25       ` Hänel-Baas, Alexander
@ 2015-03-04 12:49         ` Juergen Borleis
  0 siblings, 0 replies; 6+ messages in thread
From: Juergen Borleis @ 2015-03-04 12:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Hänel-Baas, Alexander

Hi Alexander,

On Wednesday 04 March 2015 13:25:26 Hänel-Baas, Alexander wrote:
> 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.

Your adaptions to make userrcu-0.8.0 work with PTXdist would be welcome here on 
the list ;)

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
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