[lttng-dev] compiling liburcu for powerpc error: void value not ignored as it ought to be

Paul Barrette paulbarrette at gmail.com
Thu May 24 11:07:41 EDT 2012


I am seeing this error compiling for powerpc:

urcu-pointer.c: In function 'rcu_set_pointer_sym':
urcu-pointer.c:43:2: error: void value not ignored as it ought to be
powerpc-wrs-linux-libtool: compile:  powerpc-wrs-linux-gcc -m32
-mhard-float -mcpu=603e
--sysroot=/pb_scratch/WL3/yocto-wrlinux-4.3/wrlinux-4.3/qemu-ppc/bitbake_build/tmp/sysroots/qemuppc
-DHAVE_CONFIG_H -I. -I./urcu -I./urcu -DRCU_MB -O2 -pipe -g
-feliminate-unused-debug-types -c urcu-pointer.c  -fPIC -DPIC -o
.libs/liburcu_mb_la-urcu-pointer.o

Removing the return statements produces a warning, but it exposes more of
the same compile errors.

Pb
-- 
--
Paul Barrette
Linked In Profile <http://ca.linkedin.com/pub/paul-barrette/11/b42/a96>
http://sitarplayer.net
Ő
 \\=^%
 (*)---(*)
^^~~^~~~^^^~~^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120524/0aa5685e/attachment.html>


More information about the lttng-dev mailing list