[ltt-dev] UST 0.3 released

Thirumalai thirumalai.p at datapatterns.co.in
Wed Mar 3 00:29:43 EST 2010


Hi,
    I used this command gcc --version. how can i check that the Userspace 
RCU 4.1 library was installed already. if so how to uninstall that?

gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
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.



----- Original Message ----- 
From: "Mathieu Desnoyers" <compudj at krystal.dyndns.org>
To: "Thirumalai" <thirumalai.p at datapatterns.co.in>
Cc: "Pierre-Marc Fournier" <pierre-marc.fournier at polymtl.ca>; 
<ltt-dev at lists.casi.polymtl.ca>
Sent: Wednesday, March 03, 2010 10:43 AM
Subject: Re: [ltt-dev] UST 0.3 released


* Thirumalai (thirumalai.p at datapatterns.co.in) wrote:
> Hi,
> I compiled for x86 processor. and since it is fedora core 9. gcc version 
> is
> 4.3 i believe. My linux box is containing a quad core processor with 4GB
> ram.

Can you provide the output of

gcc --version

please ?

Can you also tell us if you ever installed the Userspace RCU library
from the git tree in your system ? (it could be in conflict with the
Userspace RCU 4.1 library).

Thank you,

Mathieu

>
> Regards,
> Thirumalai
>
>
>
> ----- Original Message ----- From: "Pierre-Marc Fournier"
> <pierre-marc.fournier at polymtl.ca>
> To: "Thirumalai" <thirumalai.p at datapatterns.co.in>
> Cc: <ltt-dev at lists.casi.polymtl.ca>
> Sent: Tuesday, March 02, 2010 10:03 PM
> Subject: Re: [ltt-dev] UST 0.3 released
>
>
>> Hi,
>>
>> What gcc version are you using and for what architecture are you
>> compiling?
>>
>> pmf
>>
>> Thirumalai wrote:
>>> Hi,
>>>    Yea. can you just tell me when this error will occur. when i searched
>>> for this error on net i.e ": undefined reference to
>>> `__sync_sub_and_fetch_4'" it is giving me some compiler options need to
>>> be mentioned. But even we mentioned that option, the problem persists.
>>>
>>> Regards,
>>> T.
>>>
>>> ----- Original Message ----- From: "Pierre-Marc Fournier"
>>> <pierre-marc.fournier at polymtl.ca>
>>> To: "Thirumalai" <thirumalai.p at datapatterns.co.in>
>>> Cc: <ltt-dev at lists.casi.polymtl.ca>
>>> Sent: Tuesday, March 02, 2010 9:33 PM
>>> Subject: Re: [ltt-dev] UST 0.3 released
>>>
>>>
>>>> Hi,
>>>>
>>>> Thirumalai wrote:
>>>>> Hi "Pierre-Marc Fournier",
>>>>>        we are new to userspace tracer. Just we have downloaded the
>>>>> packages and try to use the tracer for our systems. But we end up with
>>>>> following error messages when compiling ust-0.3.
>>>>>
>>>>> [root at itd210 ust-0.3]# make
>>>>> make  all-recursive
>>>>> make[1]: Entering directory `/home/UST/ust-0.3'
>>>>> Making all in snprintf
>>>>> make[2]: Entering directory `/home/UST/ust-0.3/snprintf'
>>>>> make[2]: Nothing to be done for `all'.
>>>>> make[2]: Leaving directory `/home/UST/ust-0.3/snprintf'
>>>>> Making all in libust
>>>>> make[2]: Entering directory `/home/UST/ust-0.3/libust'
>>>>> make[2]: Nothing to be done for `all'.
>>>>> make[2]: Leaving directory `/home/UST/ust-0.3/libust'
>>>>> Making all in .
>>>>> make[2]: Entering directory `/home/UST/ust-0.3'
>>>>> make[2]: Nothing to be done for `all-am'.
>>>>> make[2]: Leaving directory `/home/UST/ust-0.3'
>>>>> Making all in tests
>>>>> make[2]: Entering directory `/home/UST/ust-0.3/tests'
>>>>> Making all in hello
>>>>> make[3]: Entering directory `/home/UST/ust-0.3/tests/hello'
>>>>> /bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2   -o hello
>>>>> hello.o tp.o ../../libust/libust.la ../../libust-initializer.o
>>>>> -lurcu-bp
>>>>> gcc -g -O2 -o .libs/hello hello.o tp.o ../../libust-initializer.o
>>>>> ../../libust/.libs/libust.so -lurcu-bp  -Wl,--rpath -Wl,/usr/local/lib
>>>>> ../../libust/.libs/libust.so: undefined reference to
>>>>> `__sync_val_compare_and_swap_4'
>>>>> ../../libust/.libs/libust.so: undefined reference to
>>>>> `__sync_sub_and_fetch_4'
>>>>> collect2: ld returned 1 exit status
>>>>> make[3]: *** [hello] Error 1
>>>>> make[3]: Leaving directory `/home/UST/ust-0.3/tests/hello'
>>>>> make[2]: *** [all-recursive] Error 1
>>>>> make[2]: Leaving directory `/home/UST/ust-0.3/tests'
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/home/UST/ust-0.3'
>>>>> make: *** [all] Error 2
>>>>> [root at itd210 ust-0.3]#
>>>>>
>>>>>
>>>>>
>>>>> Compiling envrioment :
>>>>>                    We are using fedora core-9 distribution for
>>>>> compilation of this. We installed the packages as per the README.
>>>>>
>>>>>                    First installed libkcompat-0.1 then
>>>>> usrspace-rcu-0.4.1 then ust-0.3.
>>>>>
>>>>> Tell us what went wrong.
>>>>
>>>> Are you sure you are using userspace-rcu 0.4.1? If I grep through the
>>>> whole git history, I see the symbols you are mentionning appear only
>>>> after 0.4.1...
>>>>
>>>> pmf
>>>
>>>
>>> **************** CAUTION - Disclaimer *****************This email may
>>> contain confidential and privileged material for the
>>> sole use of the intended recipient(s). Any review, use, retention,
>>> distribution or disclosure by others is strictly prohibited. If you are
>>> not the intended recipient (or authorized to receive for the recipient),
>>> please contact the sender by reply email and delete all copies of this
>>> message. Also, email is susceptible to data corruption, interception,
>>> tampering, unauthorized amendment and viruses. We only send and receive
>>> emails on the basis that we are not liable for any such corruption,
>>> interception, tampering, amendment or viruses or any consequence
>>> thereof. *********** End of Disclaimer ***********DataPatterns ITS
>>> Group**********
>>>
>>
>
>
> **************** CAUTION - Disclaimer *****************This email may 
> contain confidential and privileged material for the
> sole use of the intended recipient(s). Any review, use, retention,
> distribution or disclosure by others is strictly prohibited. If you are
> not the intended recipient (or authorized to receive for the recipient),
> please contact the sender by reply email and delete all copies of this
> message. Also, email is susceptible to data corruption, interception,
> tampering, unauthorized amendment and viruses. We only send and receive
> emails on the basis that we are not liable for any such corruption,
> interception, tampering, amendment or viruses or any consequence thereof.
> *********** End of Disclaimer ***********DataPatterns ITS Group**********
>
>
> _______________________________________________
> 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 Consultant
EfficiOS Inc.
http://www.efficios.com 


**************** CAUTION - Disclaimer *****************This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. 
*********** End of Disclaimer ***********DataPatterns ITS Group**********





More information about the lttng-dev mailing list