[Buildroot] [PATCH 1/3] lttng-libust: bump to version 2.0.1

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Apr 26 07:59:19 UTC 2012


Le Thu, 26 Apr 2012 09:27:04 +0200,
Peter Korsgaard <jacmet at uclibc.org> a écrit :

>  Samuel> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> 
> Thanks. On what toolchain as this been tested?
> 
> I gave it a try with our internal toolchain as the older version has
> been failing on the autobuilders, but I cannot build the new version
> either:
> 
>   CCLD   test_urcu_dynamic_link
> test_urcu.o: In function `thr_writer':
> /home/peko/source/buildroot/output/build/liburcu-0.6.7/tests/test_urcu.c:282: undefined reference to `__sync_lock_test_and_set_4'
> urcu.o: In function `_uatomic_add_return':
> /home/peko/source/buildroot/output/build/liburcu-0.6.7/tests/../urcu/uatomic/generic.h:180: undefined reference to `__sync_add_and_fetch_4'
> /home/peko/source/buildroot/output/build/liburcu-0.6.7/tests/../urcu/uatomic/generic.h:180: undefined reference to `__sync_add_and_fetch_4'
> urcu.o: In function `_uatomic_or':
> /home/peko/source/buildroot/output/build/liburcu-0.6.7/tests/../urcu/uatomic/generic.h:145: undefined reference to `__sync_or_and_fetch_4'
> urcu.o: In function `call_rcu_data_free':

You need gcc >= 4.4 to build lttng components. I guess you're using gcc
4.3 here, no?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list