Package: android-tools Version: 4.2.2+git20130529-3 Usertags: goto-cc While compiling the package using our research compiler infrastructure the build failed with the following error:
[...] x86_64-linux-gnu-gcc -o fastboot -Wl,-z,relro bootimg.o engine.o fastboot.o protocol.o usb_linux.o util_linux.o centraldir.o zipfile.o backed_block.o sparse_crc32.o sparse.o sparse_read.o sparse_err.o output_file.o make_ext4fs.o crc16.o ext4_utils.o indirect.o allocate.o contents.o uuid.o extent.o wipe.o sha1.o -lz -lselinux file /srv/jenkins-slave/workspace/sid-goto-cc-android-tools/android-tools-4.2.2+git20130529/core/libsparse/sparse_crc32.h line 19: error: conflicting function declarations "sparse_crc32" old definition in module sparse_crc32 file /srv/jenkins-slave/workspace/sid-goto-cc-android-tools/android-tools-4.2.2+git20130529/core/libsparse/sparse_crc32.c line 101 unsigned int (unsigned int crc_in, const void *buf, signed int size) new definition in module sparse_read file /srv/jenkins-slave/workspace/sid-goto-cc-android-tools/android-tools-4.2.2+git20130529/core/libsparse/sparse_crc32.h line 19 unsigned int (unsigned int, const void *, unsigned long int) make[2]: *** [fastboot] Error 64 While the build does FTFBS with the standard compiler, as no type checking at link time would be performed, any call to sparse_crc32 will currently yield undefined results on big-endian systems. For all other systems it will start to fail as soon as any call actually passes in a long/size_t argument (at present, all arguments appear to be int or sufficiently small to fit into an int.) Best, Michael
pgpzq1P9k4iZn.pgp
Description: PGP signature