pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "mplayer" build fails on netbsd-9/i386 using GCC 10



> libmpcodecs/vf_gradfun.c: In function 'blur_line_sse2':
> libmpcodecs/vf_gradfun.c:196:5: error: 'asm' operand has impossible constraints
>   196 |     __asm__ volatile(\
>       |     ^~~~~~~
> libmpcodecs/vf_gradfun.c:231:9: note: in expansion of macro 'BLURV'
>   231 |         BLURV("movdqu");
>       |         ^~~~~
> libmpcodecs/vf_gradfun.c:196:5: error: 'asm' operand has impossible constraints
>   196 |     __asm__ volatile(\
>       |     ^~~~~~~
> libmpcodecs/vf_gradfun.c:233:9: note: in expansion of macro 'BLURV'
>   233 |         BLURV("movdqa");
>       |         ^~~~~
> gmake: *** [Makefile:730: libmpcodecs/vf_gradfun.o] Error 1
> *** Error code 2

I've committed a fix (workaround):
 https://mail-index.netbsd.org/pkgsrc-users/2022/09/25/msg036222.html

It looks newer gcc doesn't allow 6 registers in asm using %ebp or %ebx?

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index