Package: ethtool
Version: 1:3.13-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 -DTEST_ETHTOOL -g -O2   -o test-cmdline test_cmdline-test-cmdline.o 
test_cmdline-test-common.o test_cmdline-ethtool.o test_cmdline-amd8111e.o 
test_cmdline-de2104x.o test_cmdline-e100.o test_cmdline-e1000.o 
test_cmdline-et131x.o test_cmdline-igb.o test_cmdline-fec_8xx.o 
test_cmdline-ibm_emac.o test_cmdline-ixgb.o test_cmdline-ixgbe.o 
test_cmdline-natsemi.o test_cmdline-pcnet32.o test_cmdline-realtek.o 
test_cmdline-tg3.o test_cmdline-marvell.o test_cmdline-vioc.o 
test_cmdline-smsc911x.o test_cmdline-at76c50x-usb.o test_cmdline-sfc.o 
test_cmdline-stmmac.o test_cmdline-rxclass.o test_cmdline-sfpid.o 
test_cmdline-sfpdiag.o test_cmdline-ixgbevf.o -lm 

file internal.h line 149: error: conflicting function declarations "test_free"
old definition in module test-common file test-common.c line 90
void (void *ptr)
new definition in module ethtool file internal.h line 149
void * (void *)
make[2]: *** [test-cmdline] Error 64

This will result in undefined behaviour if any code actually uses the return
value (which ought to exist, as internal.h suggests).

Best,
Michael

Attachment: pgpYyfSWFdOqD.pgp
Description: PGP signature

Reply via email to