RE: Mingw64 gnulib troubles

Pierre Muller
2010-05-21T23:27:49Z

> -----Message d'origine-----
> De : gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la
> part de Pedro Alves
> Envoyé : Saturday, May 22, 2010 1:12 AM
> À : gdb@sourceware.org
> Cc : Pierre Muller
> Objet : Re: Mingw64 gnulib troubles
>
> Did you raise this with the gnulib maintainers? We import
> gnulib from elsewhere, we don't maintain it ourselves. It
> would be a good idea to check if it's something they've
> fixed meanwhile, meaning we'd just need to import a more
> recent version of whatever's not compiling warning free.

There seems to be some uintptr_t use in
the current memcmp.c file:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/memcmp.c;h=25f
9b2a1e73c116dea48e8720194cd1633f20de9;hb=master

Could we update this?

> BTW, it wouldn't hurt to post here the relevant pieces
> of the build log.

Sorry, I forgot this, added below.

Pierre

make[3]: Entering directory `/home/pierre/gdbcvs/build-mingw64/gdb/gnulib'
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../../src/gdb/gnulib -I..
-Ic:
/mingw32/x86_64-w64-mingw32/include -g -O2 -D__USE_MINGW_ACCESS -MT
memcmp.o -M
D -MP -MF .deps/memcmp.Tpo -c -o memcmp.o ../../../src/gdb/gnulib/memcmp.c
../../../src/gdb/gnulib/memcmp.c: In function 'memcmp_bytes':
../../../src/gdb/gnulib/memcmp.c:93:20: warning: cast from pointer to
integer of different size
../../../src/gdb/gnulib/memcmp.c:94:20: warning: cast from pointer to
integer of different size
../../../src/gdb/gnulib/memcmp.c:99:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:100:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c: In function 'memcmp_common_alignment':
../../../src/gdb/gnulib/memcmp.c:125:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:126:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:132:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:133:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:141:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:142:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:145:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:146:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:157:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:158:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:163:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:164:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:169:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:170:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:175:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:176:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c: In function 'memcmp_not_common_alignment':
../../../src/gdb/gnulib/memcmp.c:222:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:223:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:224:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:230:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:231:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:232:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:239:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:240:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:241:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:245:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:246:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:247:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:258:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:259:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:265:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:266:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:272:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:273:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:279:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:280:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c: In function 'rpl_memcmp':
../../../src/gdb/gnulib/memcmp.c:305:20: warning: cast from pointer to
integer of different size
../../../src/gdb/gnulib/memcmp.c:306:20: warning: cast from pointer to
integer of different size
../../../src/gdb/gnulib/memcmp.c:315:10: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:316:10: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:345:13: warning: cast to pointer from
integer of different size
../../../src/gdb/gnulib/memcmp.c:346:13: warning: cast to pointer from
integer of different size
mv -f .deps/memcmp.Tpo .deps/memcmp.Po
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../../src/gdb/gnulib -I..
-Ic:/mingw32/x86_64-w64-mingw32/include -g -O2 -D__USE_MINGW_ACCESS -MT
memmem.o -MD -MP -MF .deps/memmem.Tpo -c -o memmem.o
../../../src/gdb/gnulib/memmem.c
mv -f .deps/memmem.Tpo .deps/memmem.Po
rm -f libgnu.a
x86_64-w64-mingw32-ar cru libgnu.a dummy.o memcmp.o memmem.o
x86_64-w64-mingw32-ranlib libgnu.a
make[3]: Leaving directory `/home/pierre/gdbcvs/build-mingw64/gdb/gnulib'
make[2]: Leaving directory `/home/pierre/gdbcvs/build-mingw64/gdb/gnulib'
make[1]: Leaving directory `/home/pierre/gdbcvs/build-mingw64/gdb'
rm -f gdb.exe
x86_64-w64-mingw32-gcc -g -O2 -D__USE_MINGW_ACCESS -Wl,--stack,8388608 \
-o gdb.exe gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libb
fd.a ./../intl/libintl.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a
-lm c:/mingw32/x86_64-w64-mingw32/lib/libexpat.a
../libiberty/libiberty.a -l
ws2_32 gnulib/libgnu.a
if [ "`cd ../../src/gdb && pwd`" != "`pwd`" ] ; then \
mkdir -p ./syscalls/ ; \
list='gdb-syscalls.dtd ppc-linux.xml ppc64-linux.xml
i386-linux.xml am
d64-linux.xml sparc-linux.xml sparc64-linux.xml' ; \
for file in $list ; do \
f=../../src/gdb/syscalls//$file ; \
if test -f $f ; then \
/usr/bin/install -c -m 644 $f \
./syscalls/ ; \
fi ; \
done ; \
fi ;
make[1]: Entering directory `/home/pierre/gdbcvs/build-mingw64/gdb'
make[2]: Entering directory `/home/pierre/gdbcvs/build-mingw64/gdb/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pierre/gdbcvs/build-mingw64/gdb/doc'
make[2]: Entering directory
`/home/pierre/gdbcvs/build-mingw64/gdb/gdbserver'
make[2]: Leaving directory `/home/pierre/gdbcvs/build-mingw64/gdb/gdbserver'
make[1]: Leaving directory `/home/pierre/gdbcvs/build-mingw64/gdb'