Package: cpufrequtils
Version: 008-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 -shared -DVERSION=\"008\" -DPACKAGE=\"cpufrequtils\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -D_GNU_SOURCE -DINTERFACE_PROC 
-DINTERFACE_SYSFS -DNLS -Wall -g -O2  -o libcpufreq.so.0.0.0 \
    -Wl,-soname,libcpufreq.so.0 lib/cpufreq.o lib/proc.o lib/sysfs.o
file lib/sysfs.c line 193: 

error: conflicting function declarations "sysfs_cpu_exists"
old definition in module cpufreq file lib/interfaces.h line 3
unsigned int (unsigned int)
new definition in module sysfs file lib/sysfs.c line 193
signed int (unsigned int cpu)

The difference in signedness will cause errors in functions calling
sysfs_cpu_exists, as indeed it does return negative values (-ENOSYS).

Best,
Michael

Attachment: pgpDjTOQeoXd0.pgp
Description: PGP signature

Reply via email to