lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* lttng-tools - 2.11 failed: checking for _cds_lfht_new in -lurcu-cds... no configure: error: Userspace RCU (liburcu) >= 0.9.0 is needed
@ 2020-01-13 22:47 bhanu kiran chaluvadi
  0 siblings, 0 replies; 2+ messages in thread
From: bhanu kiran chaluvadi @ 2020-01-13 22:47 UTC (permalink / raw)
  To: lttng-dev


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

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

end of thread, other threads:[~2020-01-13 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJYn_wgCq43GDRmiaZHrT5vvax6-nD=aWpuxiKXLSZEA4H_TZw@mail.gmail.com>
2020-01-13 23:17 ` lttng-tools - 2.11 failed: checking for _cds_lfht_new in -lurcu-cds... no configure: error: Userspace RCU (liburcu) >= 0.9.0 is needed Simon Marchi
2020-01-13 22:47 bhanu kiran chaluvadi

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