lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: bhanu kiran chaluvadi <nthdimensionalreality@gmail.com>
To: lttng-dev@lists.lttng.org
Subject: lttng-tools - 2.11 failed: checking for _cds_lfht_new in -lurcu-cds... no configure: error: Userspace RCU (liburcu) >= 0.9.0 is needed
Date: Mon, 13 Jan 2020 23:47:35 +0100	[thread overview]
Message-ID: <CAJYn_wgCq43GDRmiaZHrT5vvax6-nD=aWpuxiKXLSZEA4H_TZw__15580.2334354789$1578955698$gmane$org@mail.gmail.com> (raw)


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

Hi,

I am trying to cross compile lttng-tools to host: i686-pc-linux-gnu(dedian
8 - jessie )  from build: x86_64-pc-linux-gnu (ubuntu - 18.04).


export PATH=/opt/x-tools/bin:$PATH
export SYSROOT=/opt/x-tools/i686-pc-linux-gnu/sysroot

export PKG_CONFIG_PATH=${SYSROOT}/usr/local/lib/pkgconfig
export ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
export HOST=i686-pc-linux-gnu

export CPPFLAGS="-I$SYSROOT/usr/local/include"
export LDFLAGS="-L$SYSROOT/usr/local/lib -Wl,-rpath-link=$SYSROOT/usr/local
/lib"

$ wget http://lttng.org/files/lttng-tools/lttng-tools-latest-2.11.tar.bz2
&&
tar -xf lttng-tools-latest-2.11.tar.bz2 &&
cd lttng-tools-2.11.* &&
./configure --prefix=/opt/x-tools/i686-pc-linux-gnu/sysroot/usr/local
--host= i686-pc-linux-gnu

Terminal Print:
checking whether cds_list_add is declared... yes
checking whether cds_wfcq_init is declared... yes
checking whether cds_wfcq_dequeue_blocking is declared... yes
checking whether futex_async is declared... yes
checking whether rcu_thread_offline is declared... yes
checking whether rcu_thread_online is declared... yes
checking whether caa_likely is declared... yes
checking for _cds_lfht_new in -lurcu-cds... no
configure: error: Userspace RCU (liburcu) >= 0.9.0 is needed
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.

$ cd $SYSROOT/usr/local/lib
$ ll | grep urcu-cds
-rw-r--r-- 1 ach ach  178748 Jan 13 22:31 liburcu-cds.a
-rwxr-xr-x 1 ach ach    1380 Jan 13 22:31 liburcu-cds.la*
lrwxrwxrwx 1 ach ach      20 Jan 13 22:31 liburcu-cds.so ->
liburcu-cds.so.6.1.0*
lrwxrwxrwx 1 ach ach      20 Jan 13 22:31 liburcu-cds.so.6 ->
liburcu-cds.so.6.1.0*
-rwxr-xr-x 1 ach ach  162240 Jan 13 22:31 liburcu-cds.so.6.1.0*

$ objdump -TC liburcu-cds.so | grep _cds_lfht_new
000046f0 g    DF .text 000004c7  Base        _cds_lfht_new


liburcu is present in "$SYSROOT/usr/local/lib" and the liburcu-cds.so
has "_cds_lfht_new" not sure why this is failing.





-- 
Bhanu Kiran . Chaluvadi ,
Mechanical Engineering ,
National Institute of Technology,Warangal,
India

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

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

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

             reply	other threads:[~2020-01-13 22:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13 22:47 bhanu kiran chaluvadi [this message]
     [not found] <CAJYn_wgCq43GDRmiaZHrT5vvax6-nD=aWpuxiKXLSZEA4H_TZw@mail.gmail.com>
2020-01-13 23:17 ` Simon Marchi

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='CAJYn_wgCq43GDRmiaZHrT5vvax6-nD=aWpuxiKXLSZEA4H_TZw__15580.2334354789$1578955698$gmane$org@mail.gmail.com' \
    --to=nthdimensionalreality@gmail.com \
    --cc=lttng-dev@lists.lttng.org \
    --subject='Re: lttng-tools - 2.11 failed: checking for _cds_lfht_new in -lurcu-cds... no configure: error: Userspace RCU (liburcu) >= 0.9.0 is needed' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).