lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: bhanu kiran chaluvadi <nthdimensionalreality@gmail.com>,
	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
Date: Mon, 13 Jan 2020 18:17:04 -0500	[thread overview]
Message-ID: <7854cb68-3c96-df75-748e-d1ad67b5c161__21499.0998197877$1578957960$gmane$org@simark.ca> (raw)
In-Reply-To: <CAJYn_wgCq43GDRmiaZHrT5vvax6-nD=aWpuxiKXLSZEA4H_TZw@mail.gmail.com>

On 2020-01-13 5:47 p.m., bhanu kiran chaluvadi wrote:
> 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
> 
> exportCPPFLAGS="-I$SYSROOT/usr/local/include"
> exportLDFLAGS="-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 <http://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.

What does config.log has to say about this?  It would be good to know
how the test failed.

Simon

_______________________________________________
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 23:23 UTC|newest]

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

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='7854cb68-3c96-df75-748e-d1ad67b5c161__21499.0998197877$1578957960$gmane$org@simark.ca' \
    --to=simark@simark.ca \
    --cc=lttng-dev@lists.lttng.org \
    --cc=nthdimensionalreality@gmail.com \
    --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).