* Thirumalai ([email protected]) 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" > <[email protected]> > To: "Thirumalai" <[email protected]> > Cc: <[email protected]> > 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" >>> <[email protected]> >>> To: "Thirumalai" <[email protected]> >>> Cc: <[email protected]> >>> 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. >>>>> >>>>> [r...@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 >>>>> [r...@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 > [email protected] > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers Operating System Efficiency Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
