[ltt-dev] ust-0.15: liburcu-cds.so.1 not found
Mathieu Desnoyers
compudj at krystal.dyndns.org
Sat Aug 20 10:09:31 EDT 2011
* Zvi Vered (veredz72 at gmail.com) wrote:
> Hello,
>
> How should I use ldconfig ?
>
> Should I run: ldconfig $HOME/GNU/rcu/lib after "make install" of the RCU
> and before "configure" of ust ?
just "ldconfig" after RCU make install.
You might want to do
LDFLAGS=-Lpath_to_urcu_libs ./configure
to configure ust. I've got that on one of my machines too:
configure: error: Cannot find liburcu-bp lib. Use LDFLAGS=-Ldir to
specify its location.
because liburcu-bp.so was in /usr/local/lib which, for some reason, does
not seem to be visible by UST 0.15.
Please keep ltt-dev in CC, so other people can learn from the answers,
and so that other developers involved in the project will not each take
time to reply to the same problem.
Thanks,
Mathieu
>
> Thanks,
> Zvika.
>
> ----- Original Message ----- From: "Mathieu Desnoyers"
> <compudj at krystal.dyndns.org>
> To: "Zvi Vered" <veredz72 at gmail.com>
> Sent: Saturday, August 20, 2011 15:19
> Subject: Re: [ltt-dev] ust-0.15: liburcu-cds.so.1 not found
>
>
> * Zvi Vered (veredz72 at gmail.com) wrote:
>> Hello,
>>
>> I will soon try the ldconfig solution.
>>
>> Is it possible to compile UST without userspace RCU ?
>
> No.
>
>>
>> My target has only one CPU so I think userspace RCU is not mandatory.
>
> Multiple threads can still be scheduled on that CPU, so you need
> protection provided by RCU.
>
> Thanks,
>
> Mathieu
>
>>
>> Am I right ?
>>
>> Thanks,
>> Zvika.
>>
>> ----- Original Message ----- From: "Mathieu Desnoyers"
>> <compudj at krystal.dyndns.org>
>> To: "Zvi Vered" <veredz72 at gmail.com>
>> Cc: <ltt-dev at lists.casi.polymtl.ca>
>> Sent: Saturday, August 20, 2011 2:36
>> Subject: Re: [ltt-dev] ust-0.15: liburcu-cds.so.1 not found
>>
>>
>>> * Zvi Vered (veredz72 at gmail.com) wrote:
>>>> Hello,
>>>>
>>>> I'm building ust-0.15 with gcc cross compiler I build using
>>>> crosstool-ng project.
>>>>
>>>> I build urcu using this gcc. The ./configure, make, make install
>>>> were OK.
>>>>
>>>> Then I ran ./configure with the right CC,PATH,LD_LIBRARY_PATH (as used
>>>> when building urcu) to point to my gcc instead of the default gcc.
>>>>
>>>> I got the following error:
>>>>
>>>> /home/zvivered/GNU/crosstool-1.5.0/release/lib/gcc/i686-nptl-linux-gnu/4.3.2/../../../../i686-nptl-linux-gnu/bin/ld:
>>>> warning: liburcu-cds.so.1, needed by
>>>> /home/zvivered/GNU/urcu/lib/liburcu-bp.so, not found (try using -rpath
>>>> or -rpath-link)
>>>
>>> I guess you are using userspace RCU git head ? Try to make clean, make,
>>> make install userspace RCU again, and run ldconfig. We're in the process
>>> of changing a few inter-lib dependencies within the userspace RCU
>>> project.
>>>
>>> Thanks,
>>>
>>> Mathieu
>>>
>>>>
>>>> Attached the full config.log
>>>>
>>>> Can you help ?
>>>>
>>>> Thanks,
>>>> Zvika.
>>>
>>>> This file contains any messages produced by compilers while
>>>> running configure, to aid debugging if configure makes a mistake.
>>>>
>>>> It was created by ust configure 0.15, which was
>>>> generated by GNU Autoconf 2.65. Invocation command line was
>>>>
>>>> $ ./configure --prefix=/home/zvivered/GNU/ust
>>>>
>>>> ## --------- ##
>>>> ## Platform. ##
>>>> ## --------- ##
>>>>
>>>> hostname = localhost.localdomain
>>>> uname -m = i686
>>>> uname -r = 2.6.18-238.19.1.el5
>>>> uname -s = Linux
>>>> uname -v = #1 SMP Fri Jul 15 07:32:29 EDT 2011
>>>>
>>>> /usr/bin/uname -p = unknown
>>>> /bin/uname -X = unknown
>>>>
>>>> /bin/arch = i686
>>>> /usr/bin/arch -k = unknown
>>>> /usr/convex/getsysinfo = unknown
>>>> /usr/bin/hostinfo = unknown
>>>> /bin/machine = unknown
>>>> /usr/bin/oslevel = unknown
>>>> /bin/universe = unknown
>>>>
>>>> PATH: /usr/lib/qt-3.3/bin
>>>> PATH: /usr/kerberos/bin
>>>> PATH: /usr/local/bin
>>>> PATH: /usr/bin
>>>> PATH: /bin
>>>> PATH: /usr/X11R6/bin
>>>> PATH: /home/zvivered/bin
>>>> PATH:
>>>> /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/libexec/gcc/i686-nptl-linux-gnu/4.3.2
>>>> PATH:
>>>> /home/zvivered/GNU/crosstool-1.5.0/release/libexec/gcc/i686-nptl-linux-gnu/4.3.2
>>>>
>>>>
>>>> ## ----------- ##
>>>> ## Core tests. ##
>>>> ## ----------- ##
>>>>
>>>> configure:2343: checking build system type
>>>> configure:2357: result: i686-pc-linux-gnu
>>>> configure:2377: checking host system type
>>>> configure:2390: result: i686-pc-linux-gnu
>>>> configure:2410: checking target system type
>>>> configure:2423: result: i686-pc-linux-gnu
>>>> configure:2467: checking for a BSD-compatible install
>>>> configure:2535: result: /usr/bin/install -c
>>>> configure:2546: checking whether build environment is sane
>>>> configure:2596: result: yes
>>>> configure:2737: checking for a thread-safe mkdir -p
>>>> configure:2776: result: /bin/mkdir -p
>>>> configure:2789: checking for gawk
>>>> configure:2805: found /usr/bin/gawk
>>>> configure:2816: result: gawk
>>>> configure:2827: checking whether make sets $(MAKE)
>>>> configure:2849: result: yes
>>>> configure:3013: checking for gcc
>>>> configure:3040: result:
>>>> /home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>>>> configure:3269: checking for C compiler version
>>>> configure:3278:
>>>> /home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>>>> --version >&5
>>>> .i686-nptl-linux-gnu-gcc (crosstool-NG-1.5.0) 4.3.2
>>>> Copyright (C) 2008 Free Software Foundation, Inc.
>>>> This is free software; see the source for copying conditions. There
>>>> is NO
>>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>>> PURPOSE.
>>>>
>>>> configure:3289: $? = 0
>>>> configure:3278:
>>>> /home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>>>> -v >&5
>>>> Using built-in specs.
>>>> Target: i686-nptl-linux-gnu
>>>> Configured with:
>>>> /home/zvivered/GNU/crosstool-1.5.0/working/src/gcc-4.3.2/configure
>>>> --build=i386-build_redhat-linux-gnu
>>>> --host=i386-build_redhat-linux-gnu --target=i686-nptl-linux-gnu
>>>> --prefix=/home/zvivered/GNU/crosstool-1.5.0/release
>>>> --with-sysroot=/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu//sys-root
>>>> --enable-languages=c --disable-multilib --with-arch=i686
>>>> --with-pkgversion=crosstool-NG-1.5.0 --enable-__cxa_atexit
>>>> --with-gmp=/home/zvivered/GNU/crosstool-1.5.0/release
>>>> --with-mpfr=/home/zvivered/GNU/crosstool-1.5.0/release
>>>> --with-local-prefix=/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu//sys-root
>>>> --disable-nls --enable-threads=posix --enable-symvers=gnu
>>>> --enable-c99 --enable-long-long --enable-target-optspace>> Thread
>>>> model: posix>> gcc version 4.3.2 (crosstool-NG-1.5.0)>>
>>>> configure:3289: $? = 0>>
>>>> configure:3278:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>>>> -V>&5>> .i686-nptl-linux-gnu-gcc: '-V' option must have argument>>
>>>> configure:3289: $? = 1>>
>>>> configure:3278:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>>>> -qversion >&5>> .i686-nptl-linux-gnu-gcc: unrecognized option
>>>> '-qversion'>> .i686-nptl-linux-gnu-gcc: no input
>> files>> configure:3289: $? = 1>> configure:3309: checking whether the C
>> compiler works>>
>> configure:3331:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -I/home/zvivered/GNU/urcu/include -L/home/zvivered/GNU/urcu/lib
>> conftest.c >&5>> configure:3335: $? = 0>> configure:3384: result:
>> yes>> configure:3387: checking for C compiler default output file
>> name>> configure:3389: result: a.out>> configure:3395: checking for
>> suffix of executables>>
>> configure:3402:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:3406: $? = 0>>
>> configure:3428: result:>> configure:3450: checking whether we are cross
>> compiling>>
>> configure:3458:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:3462: $? = 0>>
>> configure:3469: ./conftest>> con
>> figure:3473: $? = 0>> configure:3488: result: no>> configure:3493:
>> checking for suffix of object files>>
>> configure:3515:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:3519:
>> $? = 0>> configure:3540: result: o>> configure:3544: checking whether
>> we are using the GNU C compiler>>
>> configure:3563:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:3563:
>> $? = 0>> configure:3572: result: yes>> configure:3581: checking
>> whether/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccaccepts
>> -g>>
>> configure:3601:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -gconftest.c >&5>> configure:3601: $? = 0>> configure:3642: result:
>> yes>> configure:3659: checking
>> for/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccoption
>> to accept ISO C89>> configure:3723:/home/zvi
>> vered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc -c
>> -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:3723: $? =
>> 0>> configure:3736: result: none needed>> configure:3767: checking for
>> style of include used by make>> configure:3795: result: GNU>>
>> configure:3820: checking dependency style
>> of/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc>>
>> configure:3930: result: gcc3>> configure:3945: checking whether make
>> sets $(MAKE)>> configure:3967: result: yes>> configure:4001: checking
>> for a sed that does not truncate output>> configure:4065: result:
>> /bin/sed>> configure:4083: checking for grep that handles long lines
>> and -e>> configure:4141: result: /bin/grep>> configure:4146: checking
>> for egrep>> configure:4208: result: /bin/grep -E>> configure:4213:
>> checking for fgrep>> configure:4275: result: /bin/grep -F>>
>> configure:4310: checking for ld used
>> by/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc>>
>> configure:4377: r
>> esult:/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/ld>>
>> configure:4384: checking if the
>> linker(/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/ld)
>> isGNU ld>> configure:4399: result: yes>> configure:4411: checking for
>> BSD- or MS-compatible name lister (nm)>> configure:4460: result:
>> /usr/bin/nm -B>> configure:4578: checking the name lister (/usr/bin/nm
>> -B) interface>>
>> configure:4585:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:4588:
>> /usr/bin/nm -B "conftest.o">> configure:4591: output>> 00000000 B
>> some_variable>> configure:4598: result: BSD nm>> configure:4601:
>> checking whether ln -s works>> configure:4605: result: yes>>
>> configure:4613: checking the maximum length of command line arguments>>
>> configure:4733: result: 98304>> configure:4750: checking whether the
>> shell understands some XSIconstructs>> configure:4760: result: yes>>
>> configure:4764: chec
>> king whether the shell understands "+=">> configure:4770: result: yes>>
>> configure:4805: checking
>> for/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/ld
>> optionto reload object files>> configure:4812: result: -r>>
>> configure:4881: checking for objdump>> configure:4897: found
>> /usr/bin/objdump>> configure:4908: result: objdump>> configure:4940:
>> checking how to recognize dependent libraries>> configure:5136: result:
>> pass_all>> configure:5196: checking for ar>> configure:5212: found
>> /usr/bin/ar>> configure:5223: result: ar>> configure:5301: checking for
>> strip>> configure:5317: found /usr/bin/strip>> configure:5328: result:
>> strip>> configure:5400: checking for ranlib>> configure:5416: found
>> /usr/bin/ranlib>> configure:5427: result: ranlib>> configure:5517:
>> checking command to parse /usr/bin/nm -B output
>> from/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccobject>>
>>
>> configure:5635:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu
>> -gcc -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>>
>> configure:5638: $? = 0>> configure:5642: /usr/bin/nm -B conftest.o \| sed
>> -n -e's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
>> ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1\2 \2/p' \> conftest.nm>> configure:5645:
>> $? = 0>>
>> configure:5699:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c conftstm.o >&5>> configure:5702:
>> $? = 0>> configure:5740: result: ok>> configure:6549: checking how to run
>> the C preprocessor>> configure:6619:
>> result:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-cpp>>
>> configure:6639:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-cppconftest.c>>
>> configure:6639: $? = 0>>
>> configure:6653:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-cppconftest.c>>
>> conftest.c:13:28: error: ac_nonexistent.h: No such file or directory>>
>> configure:6653: $? = 1>> configure: failed program was:>> | /* confdefs.h
>> */>> | #define PACKAGE_NAME "ust">> | #define PACKAGE_TARNAME "ust">> |
>> #define PACKAGE_VERSION "0.15">> | #define PACKAGE_STRING "ust 0.15">> |
>> #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com">> |
>> #define PACKAGE_URL "">> | #define PACKAGE "ust">> | #define VERSION
>> "0.15">> | #define VERSION_MAJOR 0>> | #define VERSION_MINOR 15>> | /*
>> end confdefs.h. */>> | #include <ac_nonexistent.h>>> configure:6682:
>> checking for ANSI C header files>>
>> configure:6702:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6702: $?
>> = 0>>
>> configure:6775:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:6775: $? = 0>>
>> configure:6775: ./conftest>> configure:6775: $? = 0>> configure:6786:
>> result: yes>> configure:6799: checking for sys/
>> types.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799:
>> $? = 0>> configure:6799: result: yes>> configure:6799: checking for
>> sys/stat.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799:
>> $? = 0>> configure:6799: result: yes>> configure:6799: checking for
>> stdlib.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799:
>> $? = 0>> configure:6799: result: yes>> configure:6799: checking for
>> string.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799:
>> $? = 0>> configure:6799: result: yes>> configure:6799: checking for
>> memory.h>> configure:6799:/home/zvivered/GNU
>> /crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc -c
>> -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799: $? =
>> 0>> configure:6799: result: yes>> configure:6799: checking for
>> strings.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799:
>> $? = 0>> configure:6799: result: yes>> configure:6799: checking for
>> inttypes.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799:
>> $? = 0>> configure:6799: result: yes>> configure:6799: checking for
>> stdint.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6799:
>> $? = 0>> configure:6799: result: yes>> configure:6799: checking for
>> unistd.h>>
>> configure:6799:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-lin
>> ux-gnu-gcc -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>>
>> configure:6799: $? = 0>> configure:6799: result: yes>> configure:6814:
>> checking for dlfcn.h>>
>> configure:6814:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:6814:
>> $? = 0>> configure:6814: result: yes>> configure:6998: checking for
>> objdir>> configure:7013: result: .libs>> configure:7309: checking
>> if/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccsupports
>> -fno-rtti -fno-exceptions>>
>> configure:7327:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include -fno-rtti -fno-exceptions
>> conftest.c >&5>> cc1: warning: command line option "-fno-rtti" is valid
>> for C++/ObjC++ butnot for C>> configure:7331: $? = 0>> configure:7344:
>> result: no>> configure:7364: checking
>> for/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccoption
>> to produce PIC>> c
>> onfigure:7636: result: -fPIC -DPIC>> configure:7648: checking
>> if/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> PICflag -fPIC -DPIC works>>
>> configure:7666:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include -fPIC -DPIC -DPIC conftest.c >&5>>
>> configure:7670: $? = 0>> configure:7683: result: yes>> configure:7707:
>> checking
>> if/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccstatic
>> flag -static works>> configure:7735: result: yes>> configure:7750:
>> checking
>> if/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccsupports
>> -c -o file.o>>
>> configure:7771:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include -o out/conftest2.o conftest.c >&5>>
>> configure:7775: $? = 0>> configure:7797: result: yes>> configure:7805:
>> checking
>> if/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gccsupports
>> -c -o file.o>> configure:7852: result: yes>> configure:7885: checking
>> whether
>> the/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcclinker(/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/ld)supports
>> shared libraries>> configure:8876: result: yes>> configure:8913: checking
>> whether -lc should be explicitly linked in>>
>> configure:8918:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>> configure:8921: $?
>> = 0>>
>> configure:8936:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1
>> \|bin/grep -lc \>/dev/null 2\>\&1>> configure:8939: $? = 0>>
>> configure:8951: result: no>> configure:9115: checking dynamic linker
>> characteristics>>
>> configure:9548:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/lib -Wl,-rpath -Wl,/f
>> oo conftest.c >&5>> configure:9548: $? = 0>> configure:9778: result:
>> GNU/Linux ld.so>> configure:9880: checking how to hardcode library
>> paths into programs>> configure:9905: result: immediate>>
>> configure:10425: checking whether stripping libraries is possible>>
>> configure:10430: result: yes>> configure:10465: checking if libtool
>> supports shared libraries>> configure:10467: result: yes>>
>> configure:10470: checking whether to build shared libraries>>
>> configure:10491: result: yes>> configure:10494: checking whether to
>> build static libraries>> configure:10498: result: yes>>
>> configure:10552: checking for inline>>
>> configure:10568:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -I/home/zvivered/GNU/urcu/include conftest.c >&5>>
>> configure:10568: $? = 0>> configure:10576: result: inline>>
>> configure:10610: checking for stdlib.h>> configure:10610: result: yes>>
>> configure:10620: checking for GNU libc compatible malloc>>
>> configure:10644:/home/zvivered/GNU/crosst
>> ool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc -oconftest
>> -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:10644: $? =
>> 0>> configure:10644: ./conftest>> configure:10644: $? = 0>>
>> configure:10654: result: yes>> configure:10678: checking for
>> gettimeofday>>
>> configure:10678:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:10678: $? =
>> 0>> configure:10678: result: yes>> configure:10678: checking for
>> munmap>>
>> configure:10678:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:10678: $? =
>> 0>> configure:10678: result: yes>> configure:10678: checking for
>> socket>>
>> configure:10678:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include -L/home
>> /zvivered/GNU/urcu/libconftest.c >&5>> configure:10678: $? = 0>>
>> configure:10678: result: yes>> configure:10678: checking for strerror>>
>>
>> configure:10678:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:10678: $? =
>> 0>> configure:10678: result: yes>> configure:10678: checking for
>> strtol>>
>> configure:10678:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/libconftest.c >&5>> configure:10678: $? =
>> 0>> configure:10678: result: yes>> configure:10696: checking urcu-bp.h
>> usability>>
>> configure:10696:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -c -Wall -I/home/zvivered/GNU/urcu/include conftest.c >&5>>
>> configure:10696: $? = 0>> configure:10696: result: yes>>
>> configure:10696: checking urcu-bp.h presence>>
>> configure:10696:/home/zvivered/GNU/cro
>> sstool-1.5.0/release/bin/i686-nptl-linux-gnu-cppconftest.c>>
>> conftest.c:32:21: error: urcu-bp.h: No such file or directory>>
>> configure:10696: $? = 1>> configure: failed program was:>> | /*
>> confdefs.h */>> | #define PACKAGE_NAME "ust">> | #define
>> PACKAGE_TARNAME "ust">> | #define PACKAGE_VERSION "0.15">> | #define
>> PACKAGE_STRING "ust 0.15">> | #define PACKAGE_BUGREPORT "mathieu dot
>> desnoyers at efficios dot com">> | #define PACKAGE_URL "">> | #define
>> PACKAGE "ust">> | #define VERSION "0.15">> | #define VERSION_MAJOR 0>>
>> | #define VERSION_MINOR 15>> | #define STDC_HEADERS 1>> | #define
>> HAVE_SYS_TYPES_H 1>> | #define HAVE_SYS_STAT_H 1>> | #define
>> HAVE_STDLIB_H 1>> | #define HAVE_STRING_H 1>> | #define HAVE_MEMORY_H
>> 1>> | #define HAVE_STRINGS_H 1>> | #define HAVE_INTTYPES_H 1>> |
>> #define HAVE_STDINT_H 1>> | #define HAVE_UNISTD_H 1>> | #define
>> HAVE_DLFCN_H 1>> | #define LT_OBJDIR ".libs/">> | #define
>> HAVE_STDLIB_H 1>> | #define HAVE_MALLOC 1>> | #define HAVE_GETTIMEOFDAY
>> 1>> | #d
>> efine HAVE_MUNMAP 1>> | #define HAVE_SOCKET 1>> | #define HAVE_STRERROR
>> 1>> | #define HAVE_STRTOL 1>> | /* end confdefs.h. */>> | #include
>> <urcu-bp.h>>> configure:10696: result: no>> configure:10696: WARNING:
>> urcu-bp.h: accepted by the compiler, rejectedby the preprocessor!>>
>> configure:10696: WARNING: urcu-bp.h: proceeding with the
>> compiler'sresult>> configure:10696: checking for urcu-bp.h>>
>> configure:10696: result: yes>> configure:10711: checking for
>> synchronize_rcu_bp in -lurcu-bp>>
>> configure:10736:/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc
>> -oconftest -Wall -I/home/zvivered/GNU/urcu/include
>> -L/home/zvivered/GNU/urcu/lib conftest.c -lurcu-bp
>> >&5>>/home/zvivered/GNU/crosstool-1.5.0/release/lib/gcc/i686-nptl-linux-gnu/4.3.2/../../../../i686-nptl-linux-gnu/bin/ld:
>> warning: liburcu-cds.so.1, neededby
>> /home/zvivered/GNU/urcu/lib/liburcu-bp.so, not found (try using
>> -rpathor -rpath-link)>> /home/zvivered/GNU/urcu/lib/liburcu-bp.so:
>> undefined referen
>> ce to`cds_wfq_enqueue'>> /home/zvivered/GNU/urcu/lib/liburcu-bp.so:
>> undefined reference to`cds_wfq_init'>>
>> /home/zvivered/GNU/urcu/lib/liburcu-bp.so: undefined reference
>> to`cds_wfq_node_init'>> collect2: ld returned 1 exit status>>
>> configure:10736: $? = 1>> configure: failed program was:>> | /*
>> confdefs.h */>> | #define PACKAGE_NAME "ust">> | #define
>> PACKAGE_TARNAME "ust">> | #define PACKAGE_VERSION "0.15">> | #define
>> PACKAGE_STRING "ust 0.15">> | #define PACKAGE_BUGREPORT "mathieu dot
>> desnoyers at efficios dot com">> | #define PACKAGE_URL "">> | #define
>> PACKAGE "ust">> | #define VERSION "0.15">> | #define VERSION_MAJOR 0>>
>> | #define VERSION_MINOR 15>> | #define STDC_HEADERS 1>> | #define
>> HAVE_SYS_TYPES_H 1>> | #define HAVE_SYS_STAT_H 1>> | #define
>> HAVE_STDLIB_H 1>> | #define HAVE_STRING_H 1>> | #define HAVE_MEMORY_H
>> 1>> | #define HAVE_STRINGS_H 1>> | #define HAVE_INTTYPES_H 1>> |
>> #define HAVE_STDINT_H 1>> | #define HAVE_UNISTD_H 1>> | #define
>> HAVE_DLFCN_H 1>> | #define LT_O
>> BJDIR ".libs/">> | #define HAVE_STDLIB_H 1>> | #define HAVE_MALLOC 1>>
>> | #define HAVE_GETTIMEOFDAY 1>> | #define HAVE_MUNMAP 1>> | #define
>> HAVE_SOCKET 1>> | #define HAVE_STRERROR 1>> | #define HAVE_STRTOL 1>> |
>> #define HAVE_URCU_BP_H 1>> | /* end confdefs.h. */>> |>> | /* Override
>> any GCC internal prototype to avoid an error.>> | Use char because
>> int might match the return type of a GCC>> | builtin and then its
>> argument prototype would still apply. */>> | #ifdef __cplusplus>> |
>> extern "C">> | #endif>> | char synchronize_rcu_bp ();>> | int>> | main
>> ()>> | {>> | return synchronize_rcu_bp ();>> | ;>> | return 0;>> |
>> }>> configure:10745: result: no>> configure:10755: error: Cannot find
>> liburcu-bp lib. Use LDFLAGS=-Ldir tospecify its location.>>>> ##
>> ---------------- ##>> ## Cache variables. ##>> ## ----------------
>> ##>>>> ac_cv_build=i686-pc-linux-gnu>> ac_cv_c_compiler_gnu=yes>>
>> ac_cv_c_inline=inline>>
>> ac_cv_env_CC_set=set>>ac_cv_env_CC_value=/home/zvivered/GNU/cros
>> stool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc>>
>> ac_cv_env_CFLAGS_set=set>>
>> ac_cv_env_CFLAGS_value=-I/home/zvivered/GNU/urcu/include>>
>> ac_cv_env_CPPFLAGS_set=>> ac_cv_env_CPPFLAGS_value=>>
>> ac_cv_env_CPP_set=set>>ac_cv_env_CPP_value=/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-cpp>>
>> ac_cv_env_LDFLAGS_set=set>>
>> ac_cv_env_LDFLAGS_value=-L/home/zvivered/GNU/urcu/lib>>
>> ac_cv_env_LIBS_set=>> ac_cv_env_LIBS_value=>>
>> ac_cv_env_build_alias_set=>> ac_cv_env_build_alias_value=>>
>> ac_cv_env_host_alias_set=>> ac_cv_env_host_alias_value=>>
>> ac_cv_env_target_alias_set=>> ac_cv_env_target_alias_value=>>
>> ac_cv_func_gettimeofday=yes>> ac_cv_func_malloc_0_nonnull=yes>>
>> ac_cv_func_munmap=yes>> ac_cv_func_socket=yes>>
>> ac_cv_func_strerror=yes>> ac_cv_func_strtol=yes>>
>> ac_cv_header_dlfcn_h=yes>> ac_cv_header_inttypes_h=yes>>
>> ac_cv_header_memory_h=yes>> ac_cv_header_stdc=yes>>
>> ac_cv_header_stdint_h=yes>> ac_cv_header_stdlib_h=yes>>
>> ac_cv_header_string_h=yes>> ac_cv_header_strin
>> gs_h=yes>> ac_cv_header_sys_stat_h=yes>> ac_cv_header_sys_types_h=yes>>
>> ac_cv_header_unistd_h=yes>> ac_cv_header_urcu_bp_h=yes>>
>> ac_cv_host=i686-pc-linux-gnu>>
>> ac_cv_lib_urcu_bp_synchronize_rcu_bp=no>> ac_cv_objext=o>>
>> ac_cv_path_EGREP='/bin/grep -E'>> ac_cv_path_FGREP='/bin/grep -F'>>
>> ac_cv_path_GREP=/bin/grep>> ac_cv_path_SED=/bin/sed>>
>> ac_cv_path_install='/usr/bin/install -c'>>
>> ac_cv_path_mkdir=/bin/mkdir>>
>> ac_cv_prog_AWK=gawk>>ac_cv_prog_CPP=/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-cpp>>
>>
>> ac_cv_prog_ac_ct_AR=ar>>ac_cv_prog_ac_ct_CC=/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc>>
>> ac_cv_prog_ac_ct_OBJDUMP=objdump>> ac_cv_prog_ac_ct_RANLIB=ranlib>>
>> ac_cv_prog_ac_ct_STRIP=strip>> ac_cv_prog_cc_c89=>>
>> ac_cv_prog_cc_g=yes>> ac_cv_prog_make_make_set=yes>>
>> ac_cv_target=i686-pc-linux-gnu>>
>> am_cv_CC_dependencies_compiler_type=gcc3>>
>> lt_cv_deplibs_check_method=pass_all>>
>> lt_cv_file_magic_cmd='$MAGIC_CMD'>> lt_cv_file_magic_test_file
>> =>> lt_cv_ld_reload_flag=-r>> lt_cv_nm_interface='BSD nm'>>
>> lt_cv_objdir=.libs>>lt_cv_path_LD=/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/ld>>
>> lt_cv_path_NM='/usr/bin/nm -B'>> lt_cv_prog_compiler_c_o=yes>>
>> lt_cv_prog_compiler_pic_works=yes>>
>> lt_cv_prog_compiler_rtti_exceptions=no>>
>> lt_cv_prog_compiler_static_works=yes>> lt_cv_prog_gnu_ld=yes>>
>> lt_cv_sys_global_symbol_pipe='sed -n -e'\''s/^.*[
>> ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2
>> \2/p'\'''>> lt_cv_sys_global_symbol_to_c_name_address='sed -n -e
>> '\''s/^: \([^ ]*\)$/ {\"\1\", (void *) 0},/p'\'' -e
>> '\''s/^[ABCDGIRSTW]* \([^ ]*\)\([^ ]*\)$/ {"\2", (void *)
>> \&\2},/p'\'''>>
>> lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e
>> '\''s/^:\([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e
>> '\''s/^[ABCDGIRSTW]* \([^ ]*\)\(lib[^ ]*\)$/ {"\2", (void *)
>> \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]*\([^ ]*\) \([^ ]*\)$/ {"lib\2",
>> (void *) \&\2},/p'\'''>> lt_cv_sys_global_symbol_to_cdecl=
>> 'sed -n -e '\''s/^T .* \(.*\)$/externint \1();/p'\'' -e
>> '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''>>
>> lt_cv_sys_max_cmd_len=98304>>>> ## ----------------- ##>> ## Output
>> variables. ##>> ## ----------------- ##>>>> ACLOCAL='${SHELL}
>> /home/zvivered/GNU/ust-0.15/config/missing --runaclocal-1.11'>>
>> AMDEPBACKSLASH='\'>> AMDEP_FALSE='#'>> AMDEP_TRUE=''>> AMTAR='${SHELL}
>> /home/zvivered/GNU/ust-0.15/config/missing --run tar'>>
>> AM_BACKSLASH='\'>> AM_DEFAULT_VERBOSITY='0'>> AR='ar'>>
>> AUTOCONF='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing
>> --runautoconf'>> AUTOHEADER='${SHELL}
>> /home/zvivered/GNU/ust-0.15/config/missing --runautoheader'>>
>> AUTOMAKE='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing
>> --runautomake-1.11'>>
>> AWK='gawk'>>CC='/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc'>>
>> CCDEPMODE='depmode=gcc3'>> CFLAGS='-Wall
>> -I/home/zvivered/GNU/urcu/include'>>CPP='/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-cpp'>>
>> CPPFLAG
>> S=''>> CYGPATH_W='echo'>> DEFS=''>> DEPDIR='.deps'>> DSYMUTIL=''>>
>> DUMPBIN=''>> ECHO_C=''>> ECHO_N='-n'>> ECHO_T=''>> EGREP='/bin/grep
>> -E'>> EXEEXT=''>> FGREP='/bin/grep -F'>> GREP='/bin/grep'>>
>> INSTALL_DATA='${INSTALL} -m 644'>> INSTALL_PROGRAM='${INSTALL}'>>
>> INSTALL_SCRIPT='${INSTALL}'>> INSTALL_STRIP_PROGRAM='$(install_sh) -c
>> -s'>>LD='/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/ld'>>
>> LDFLAGS='-L/home/zvivered/GNU/urcu/lib'>> LIBFORMAT=''>> LIBOBJS=''>>
>> LIBS=''>> LIBTOOL='$(SHELL) $(top_builddir)/libtool'>> LIPO=''>>
>> LN_S='ln -s'>> LTLIBOBJS=''>> MAJOR_VERSION='0'>> MAKEINFO='${SHELL}
>> /home/zvivered/GNU/ust-0.15/config/missing --runmakeinfo'>>
>> MINOR_VERSION='15'>> MKDIR_P='/bin/mkdir -p'>> NM='/usr/bin/nm -B'>>
>> NMEDIT=''>> OBJDUMP='objdump'>> OBJEXT='o'>> OTOOL64=''>> OTOOL=''>>
>> PACKAGE='ust'>> PACKAGE_BUGREPORT='mathieu dot desnoyers at efficios
>> dot com'>> PACKAGE_NAME='ust'>> PACKAGE_STRING='ust 0.15'>>
>> PACKAGE_TARNAME='ust'>> PACKAGE_URL=''>> PACK
>> AGE_VERSION='0.15'>> PATH_SEPARATOR=':'>> RANLIB='ranlib'>>
>> SED='/bin/sed'>> SET_MAKE=''>> SHELL='/bin/sh'>> STRIP='strip'>>
>> VERSION='0.15'>>ac_ct_CC='/home/zvivered/GNU/crosstool-1.5.0/release/bin/i686-nptl-linux-gnu-gcc'>>
>> ac_ct_DUMPBIN=''>> am__EXEEXT_FALSE=''>> am__EXEEXT_TRUE=''>>
>> am__fastdepCC_FALSE='#'>> am__fastdepCC_TRUE=''>>
>> am__include='include'>> am__isrc=''>> am__leading_dot='.'>>
>> am__quote=''>> am__tar='${AMTAR} chof - "$$tardir"'>>
>> am__untar='${AMTAR} xf -'>> bindir='${exec_prefix}/bin'>>
>> build='i686-pc-linux-gnu'>> build_alias=''>> build_cpu='i686'>>
>> build_os='linux-gnu'>> build_vendor='pc'>> datadir='${datarootdir}'>>
>> datarootdir='${prefix}/share'>>
>> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'>> dvidir='${docdir}'>>
>> exec_prefix='NONE'>> host='i686-pc-linux-gnu'>> host_alias=''>>
>> host_cpu='i686'>> host_os='linux-gnu'>> host_vendor='pc'>>
>> htmldir='${docdir}'>> includedir='${prefix}/include'>>
>> infodir='${datarootdir}/info'>> install_sh='${SHELL} /home/zvivere
>> d/GNU/ust-0.15/config/install-sh'>> libdir='${exec_prefix}/lib'>>
>> libexecdir='${exec_prefix}/libexec'>>
>> localedir='${datarootdir}/locale'>> localstatedir='${prefix}/var'>>
>> lt_ECHO='echo'>> mandir='${datarootdir}/man'>> mkdir_p='/bin/mkdir
>> -p'>> oldincludedir='/usr/include'>> pdfdir='${docdir}'>>
>> prefix='/home/zvivered/GNU/ust'>> program_transform_name='s,x,x,'>>
>> psdir='${docdir}'>> sbindir='${exec_prefix}/sbin'>>
>> sharedstatedir='${prefix}/com'>> sysconfdir='${prefix}/etc'>>
>> target='i686-pc-linux-gnu'>> target_alias=''>> target_cpu='i686'>>
>> target_os='linux-gnu'>> target_vendor='pc'>>>> ## ----------- ##>> ##
>> confdefs.h. ##>> ## ----------- ##>>>> /* confdefs.h */>> #define
>> PACKAGE_NAME "ust">> #define PACKAGE_TARNAME "ust">> #define
>> PACKAGE_VERSION "0.15">> #define PACKAGE_STRING "ust 0.15">> #define
>> PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com">> #define
>> PACKAGE_URL "">> #define PACKAGE "ust">> #define VERSION "0.15">>
>> #define VERSION_MAJOR 0>> #define VERSI
>> ON_MINOR 15>> #define STDC_HEADERS 1>> #define HAVE_SYS_TYPES_H 1>>
>> #define HAVE_SYS_STAT_H 1>> #define HAVE_STDLIB_H 1>> #define
>> HAVE_STRING_H 1>> #define HAVE_MEMORY_H 1>> #define HAVE_STRINGS_H 1>>
>> #define HAVE_INTTYPES_H 1>> #define HAVE_STDINT_H 1>> #define
>> HAVE_UNISTD_H 1>> #define HAVE_DLFCN_H 1>> #define LT_OBJDIR ".libs/">>
>> #define HAVE_STDLIB_H 1>> #define HAVE_MALLOC 1>> #define
>> HAVE_GETTIMEOFDAY 1>> #define HAVE_MUNMAP 1>> #define HAVE_SOCKET 1>>
>> #define HAVE_STRERROR 1>> #define HAVE_STRTOL 1>> #define
>> HAVE_URCU_BP_H 1>>>> configure: exit 1>>>
>> _______________________________________________>> ltt-dev mailing
>> list>> ltt-dev at lists.casi.polymtl.ca>>
>> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev>>> -->
>> Mathieu Desnoyers> Operating System Efficiency R&D Consultant> EfficiOS
>> Inc.> http://www.efficios.com
>>
>
> --
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list