Package: intel-vaapi-driver
Version: 1.3.1-1
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and 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.

[...]
libtool: link: gcc -shared  -fPIC -DPIC  .libs/i965_drv_video_la-dso_utils.o 
.libs/i965_drv_video_la-gen6_mfc.o .libs/i965_drv_video_la-gen6_mfc_common.o 
.libs/i965_drv_video_la-gen6_mfd.o .libs/i965_drv_video_la-gen6_vme.o 
.libs/i965_drv_video_la-gen7_vme.o .libs/i965_drv_video_la-gen7_mfc.o 
.libs/i965_drv_video_la-gen7_mfd.o .libs/i965_drv_video_la-gen75_mfd.o 
.libs/i965_drv_video_la-gen75_mfc.o .libs/i965_drv_video_la-gen8_mfc.o 
.libs/i965_drv_video_la-gen8_mfd.o .libs/i965_drv_video_la-gen8_vme.o 
.libs/i965_drv_video_la-gen75_picture_process.o 
.libs/i965_drv_video_la-gen75_vme.o .libs/i965_drv_video_la-gen75_vpp_gpe.o 
.libs/i965_drv_video_la-gen75_vpp_vebox.o 
.libs/i965_drv_video_la-i965_avc_bsd.o 
.libs/i965_drv_video_la-i965_avc_hw_scoreboard.o 
.libs/i965_drv_video_la-i965_avc_ildb.o 
.libs/i965_drv_video_la-i965_decoder_utils.o 
.libs/i965_drv_video_la-i965_drv_video.o .libs/i965_drv_video_la-i965_encoder.o 
.libs/i965_drv_video_la-i965_encoder_utils.o 
.libs/i965_drv_video_la-i965_media.o .libs/i965_drv_video_la-i965_media_h264.o 
.libs/i965_drv_video_la-i965_media_mpeg2.o 
.libs/i965_drv_video_la-i965_gpe_utils.o 
.libs/i965_drv_video_la-i965_post_processing.o 
.libs/i965_drv_video_la-gen8_post_processing.o 
.libs/i965_drv_video_la-i965_render.o .libs/i965_drv_video_la-gen8_render.o 
.libs/i965_drv_video_la-intel_batchbuffer.o 
.libs/i965_drv_video_la-intel_batchbuffer_dump.o 
.libs/i965_drv_video_la-intel_driver.o .libs/i965_drv_video_la-intel_memman.o 
.libs/i965_drv_video_la-object_heap.o 
.libs/i965_drv_video_la-intel_media_common.o 
.libs/i965_drv_video_la-i965_output_dri.o   -lpthread -ldl -ldrm -ldrm_intel 
-lva -lm  -O2 -Wl,--no-undefined -Wl,-z -Wl,relro   -Wl,-soname 
-Wl,i965_drv_video.so -o .libs/i965_drv_video.so

error: conflicting function declarations "i965_proc_picture"
old definition in module gen75_picture_process file gen75_picture_process.c 
line 42
void (struct VADriverContext *, int, union codec_state *, struct hw_context *)
new definition in module i965_post_processing file i965_post_processing.c line 
5315
signed int (struct VADriverContext *ctx, int profile, union codec_state 
*codec_state, struct hw_context *hw_context)
Makefile:612: recipe for target 'i965_drv_video.la' failed
make[5]: *** [i965_drv_video.la] Error 64
make[5]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-intel-vaapi-driver/intel-vaapi-driver-1.3.1/src'
Makefile:975: recipe for target 'all-recursive' failed

Comparing the definition of i965_proc_picture here:

http://sources.debian.net/src/intel-vaapi-driver/1.3.1-1/src/i965_post_processing.c?hl=5314,5315#L5314

and the declaration as well as the use:

http://sources.debian.net/src/intel-vaapi-driver/1.3.1-1/src/gen75_picture_process.c?hl=41,42,66,67#L41

it seems that not only should the declaration in gen75_picture_process.c be
adjusted, but gen75_vpp_fmt_cvt may wish to make actual use of the (error
reported) return value of i965_post_processing.

Best,
Michael

Attachment: pgpYlbHzaNh_T.pgp
Description: PGP signature

Reply via email to