Package: jpnevulator
Version: 2.1.1-1
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -Wall -O2 -Wl,-z,relro -o jpnevulator  main.o options.o 
jpnevulator.o byte.o interface.o tty.o pty.o io.o checksum.o crc16.o crc8.o 
list.o

error: conflicting function declarations "crc8Calculate"
old definition in module jpnevulator file crc8.h line 23
unsigned char (unsigned char *, unsigned short int)
new definition in module crc8 file crc8.c line 25
unsigned char (unsigned char *mssg, signed int size)
Makefile:60: recipe for target 'jpnevulator' failed
make[1]: *** [jpnevulator] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-jpnevulator/jpnevulator-2.1.1'

Observe the difference (int vs. unsigned short) on the parameter size. For any
platform with sizeof(unsigned short) < sizeof(int), the high bytes of size will
take an arbitrary value.

Best,
Michael

Attachment: pgpVWpi5IdioQ.pgp
Description: PGP signature

Reply via email to