[Ltrace-devel] Compilation error with ltrace head
Thierry Fauck@linux.vnet.ibm.com
thierry at linux.vnet.ibm.com
Thu Sep 11 12:08:07 UTC 2014
Hello,
Willing to check status of head on ppc64el (and eventually on ppc64)
platforms I tried to compile and got the error:
> mv -f .deps/summary.Tpo .deps/summary.Plo
> /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> -I. -DSYSCONFDIR=\"/usr/local/etc\"
> -DPKGDATADIR=\"/usr/local/share/ltrace\" -I./sysdeps/linux-gnu/ppc
> -I./sysdeps/linux-gnu -I./sysdeps -I. -Wall -Wsign-compare
> -Wfloat-equal -Wformat-security -Werror -g -O2 -MT library.lo -MD -MP
> -MF .deps/library.Tpo -c -o library.lo library.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I.
> -DSYSCONFDIR=\"/usr/local/etc\"
> -DPKGDATADIR=\"/usr/local/share/ltrace\" -I./sysdeps/linux-gnu/ppc
> -I./sysdeps/linux-gnu -I./sysdeps -I. -Wall -Wsign-compare
> -Wfloat-equal -Wformat-security -Werror -g -O2 -MT library.lo -MD -MP
> -MF .deps/library.Tpo -c library.c -fPIC -DPIC -o .libs/library.o
> In file included from library.h:32:0,
> from library.c:30:
> library.c: In function 'library_dump_symbols':
> dict.h:223:25: error: passing argument 1 of 'dict_each' discards
> 'const' qualifier from pointer target type [-Werror]
> (KEY_TYPE *)dict_each((DICTP), _start_after, \
> ^
> library.c:698:2: note: in expansion of macro 'DICT_EACH'
> DICT_EACH(&lib->exported_names.addrs, uint64_t, struct vect*, NULL,
> ^
> dict.h:211:7: note: expected 'struct dict *' but argument is of type
> 'const struct dict *'
> void *dict_each(struct dict *dict, void *start_after,
> ^
> cc1: all warnings being treated as errors
> Makefile:709: recipe for target 'library.lo' failed
> make[2]: *** [library.lo] Error 1
Do I need to check on ppc64 the status ?
Do you need me to investigate the error or do you have a simple clue ?
Thanks
Thierry
--
Thierry Fauck @ linux.vnet.ibm
More information about the Ltrace-devel
mailing list