right now I use those patches and Slackbuild for compiling on my x86 slackware... 

change from J to X was inspired by libdv patch doing reverse of this for gcc 4.1:

https://sourceforge.net/p/libdv/mailman/message/2320559/

I also tried 'n' but build was failing too  .. 

some description for those constraints:

https://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html#s6

On Saturday, April 16, 2022, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
hold on, I am not sure what going on - I tried again with slightly modified cin.Slackbuild and build was failing again until I replaced 'i' with 'X' (anything goes here asm constrain). 

it seems to work afterwards - mpeg 2 / 4:2:2 encoding working at 7.5 fps for fullhd vid.. but I want to double-check (uname -m must return i686 for this code to even compile...) 

On Friday, April 15, 2022, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
sorry, there was 4th patch

On Friday, April 15, 2022, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
due to X libs/headers located in /usr/X11R7...

but also due to some asm error in mpeg2enc when I build for i686 target... 




I added -fomit-frame-pointer to only mpeg2enc cflags and it compiled... not sure why I was not hit by this earlier, may be because I already had this in cflags?