Repository navigation
Closed
Labels
Description
Problem Description
release 1.9.0 aarch64 with gcc14 build fail
Activity Log, Crash Log or any other details
D_FILE_OFFSET_BITS=64 -DHAS_STRERROR_R -I./libhb/ -I./contrib/include -c ../libhb/work.c -o libhb/work.o
: In file included from ../libhb/comb_detect.c:142:
: ../libhb/templates/comb_detect_template.c: In function �detect_gamma_combed_segment_8’:
: ../libhb/templates/comb_detect_template.c:273:27: error: passing argument 1 of �vst1q_u32’ from incompatible pointer type [-Wincompatible-pointer-types]
: 273 | vst1q_u32(&mask32, mask_vec);
: | ^~~~~~~
: | |
: | uint32_t (*)[4] {aka unsigned int (*)[4]}
: In file included from ../libhb/decomb.c:202:
: ../libhb/templates/decomb_template.c: In function �blend_filter_line_8’:
: ../libhb/templates/decomb_template.c:266:19: error: passing argument 1 of �vst1q_u16’ from incompatible pointer type [-Wincompatible-pointer-types]
: 266 | vst1q_u16(&cr_table_vec, result_u16);
: | ^~~~~~~~~~~~~
: | |
: | uint16_t (*)[8] {aka short unsigned int (*)[8]}
: In file included from ../libhb/comb_detect.c:35:
: /usr/lib64/gcc/aarch64-rosa-linux-gnu/14.2.0/include/arm_neon.h:22174:22: note: expected �uint32_t *’ {aka �unsigned int *’} but argument is of type �uint32_t (*)[4]’ {aka �unsigned int (*)[4]’}
: 22174 | vst1q_u32 (uint32_t *__a, uint32x4_t __b)
: | ~~~~~~~~~~^~~
: In file included from ../libhb/templates/decomb_template.c:19:
: /usr/lib64/gcc/aarch64-rosa-linux-gnu/14.2.0/include/arm_neon.h:22167:22: note: expected �uint16_t *’ {aka �short unsigned int *’} but argument is of type �uint16_t (*)[8]’ {aka �short unsigned int (*)[8]’}
: 22167 | vst1q_u16 (uint16_t *__a, uint16x8_t __b)
: | ~~~~~~~~~~^~~
: ../libhb/templates/decomb_template.c:246:15: warning: unused variable �filter_norm_vec’ [-Wunused-variable]
: 246 | int16x8_t filter_norm_vec = vdupq_n_s16(-filter->normalize);
: | ^~~~~~~~~~~~~~~
: In file included from ../libhb/comb_detect.c:146:
: ../libhb/templates/comb_detect_template.c: In function �detect_gamma_combed_segment_16’:
: ../libhb/templates/comb_detect_template.c:273:27: error: passing argument 1 of �vst1q_u32’ from incompatible pointer type [-Wincompatible-pointer-types]
: 273 | vst1q_u32(&mask32, mask_vec);
: | ^~~~~~~
: | |
: | uint32_t (*)[4] {aka unsigned int (*)[4]}
: /usr/lib64/gcc/aarch64-rosa-linux-gnu/14.2.0/include/arm_neon.h:22174:22: note: expected �uint32_t *’ {aka �unsigned int *’} but argument is of type �uint32_t (*)[4]’ {aka �unsigned int (*)[4]’}
: 22174 | vst1q_u32 (uint32_t *__a, uint32x4_t __b)
: | ~~~~~~~~~~^~~
: ../libhb/templates/comb_detect_template.c: In function �detect_combed_segment_16’:
: ../libhb/templates/comb_detect_template.c:553:35: error: passing argument 1 of �vst1q_u32’ from incompatible pointer type [-Wincompatible-pointer-types]
: 553 | vst1q_u32(&mask32, mask_vec);
: | ^~~~~~~
: | |
: | uint32_t (*)[4] {aka unsigned int (*)[4]}
: /usr/lib64/gcc/aarch64-rosa-linux-gnu/14.2.0/include/arm_neon.h:22174:22: note: expected �uint32_t *’ {aka �unsigned int *’} but argument is of type �uint32_t (*)[4]’ {aka �unsigned int (*)[4]’}
: 22174 | vst1q_u32 (uint32_t *__a, uint32x4_t __b)
: | ~~~~~~~~~~^~~
: ../libhb/templates/comb_detect_template.c:571:35: error: passing argument 1 of �vst1q_u32’ from incompatible pointer type [-Wincompatible-pointer-types]
: 571 | vst1q_u32(&mask32, mask_vec);
: | ^~~~~~~
: | |
: | uint32_t (*)[4] {aka unsigned int (*)[4]}
: /usr/lib64/gcc/aarch64-rosa-linux-gnu/14.2.0/include/arm_neon.h:22174:22: note: expected �uint32_t *’ {aka �unsigned int *’} but argument is of type �uint32_t (*)[4]’ {aka �unsigned int (*)[4]’}
: 22174 | vst1q_u32 (uint32_t *__a, uint32x4_t __b)
: | ~~~~~~~~~~^~~
: ../libhb/templates/comb_detect_template.c:588:35: error: passing argument 1 of �vst1q_u32’ from incompatible pointer type [-Wincompatible-pointer-types]
: 588 | vst1q_u32(&mask32, mask_vec);
: | ^~~~~~~
: | |
: | uint32_t (*)[4] {aka unsigned int (*)[4]}
: /usr/lib64/gcc/aarch64-rosa-linux-gnu/14.2.0/include/arm_neon.h:22174:22: note: expected �uint32_t *’ {aka �unsigned int *’} but argument is of type �uint32_t (*)[4]’ {aka �unsigned int (*)[4]’}
: 22174 | vst1q_u32 (uint32_t *__a, uint32x4_t __b)
: | ~~~~~~~~~~^~~
: In file included from ../libhb/decomb.c:206:
: ../libhb/templates/decomb_template.c: In function �blend_filter_line_16’:
: ../libhb/templates/decomb_template.c:184:19: error: passing argument 1 of �vst1q_u32’ from incompatible pointer type [-Wincompatible-pointer-types]
: 184 | vst1q_u32(&cr_table_vec, result_u32);
: | ^~~~~~~~~~~~~
: | |
: | uint32_t (*)[4] {aka unsigned int (*)[4]}
: /usr/lib64/gcc/aarch64-rosa-linux-gnu/14.2.0/include/arm_neon.h:22174:22: note: expected �uint32_t *’ {aka �unsigned int *’} but argument is of type �uint32_t (*)[4]’ {aka �unsigned int (*)[4]’}
: 22174 | vst1q_u32 (uint32_t *__a, uint32x4_t __b)
: | ~~~~~~~~~~^~~
: ../libhb/templates/decomb_template.c:164:15: warning: unused variable �filter_norm_vec’ [-Wunused-variable]
: 164 | int32x4_t filter_norm_vec = vdupq_n_s32(-filter->normalize);
: | ^~~~~~~~~~~~~~~
: gmake: *** [../libhb/module.rules:12: libhb/comb_detect.o] Error 1
### What Operating System are you running?
rosa13
### What version of HandBrake are you running?
1.9.0
### Where did you download HandBrake from?
github
Reacted by dmo and cy8aer
Activity
github-actions commentedon Dec 2, 2024
Hello,
Welcome to the HandBrake repository.
Warning
Please be cautious of any non-members suggesting that you download a "DLL" or any other files from 3rd party websites.
These are likely malicious!
Members of the HandBrake team can be identified by the "(Member)" label in the top right of any response from them.
Tip
For HandBrake documentation, please see https://handbrake.fr/docs
Thank You,
The HandBrake Bot
sr55 commentedon Dec 2, 2024
@dashsantosh-mcw this looks like it might be the ARM optimisations. Maybe the compiler is getting more strict?
marillat commentedon Dec 2, 2024
The specific code for aarch64 has been introduced in handbrake 1.9.0
I can also reproduce this issue under Debian unstable GCC 14.2.0
Pro-pra commentedon Dec 4, 2024
Thank You, patch help me.
Now build fail on svt-av1 compile.
galad87 commentedon Dec 4, 2024
Looks like a compiler bug.
Pro-pra commentedon Dec 4, 2024
may be. This file and code added in SVT-AV1-v2.3.0, older version not have this file (neon_sve_bridge.h)
Pro-pra commentedon Dec 4, 2024
I see this option in svt-av1,
may be it help ?not helpPro-pra commentedon Dec 4, 2024
build with clang help me compile svt-av1 from system repo.
galad87 commentedon Dec 4, 2024
If the compiler crashes it's a compiler bug. Either report it to GCC devs or use another compiler.