After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770057 - openh264: "invalid combination of opcode and operands" build failure with old yasm on debian 8.5
openh264: "invalid combination of opcode and operands" build failure with old...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-18 02:17 UTC by Kyle
Modified: 2018-01-20 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kyle 2016-08-18 02:17:25 UTC
When cross compiling GStreamer for Win32 using Cerbero the openh264 package fails with:

yasm -DX86_32 -f win32 -DPREFIX -I./codec/common/x86/   -o codec/common/x86/dct.o codec/common/x86/dct.asm
codec/common/x86/dct.asm:897: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:897: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:900: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:900: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:903: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:903: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:906: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:906: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:951: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:951: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:954: error: invalid combination of opcode and operands
codec/common/x86/dct.asm:954: error: invalid combination of opcode and operands
codec/common/targets.mk:72: recipe for target 'codec/common/x86/dct.o' failed
make: *** [codec/common/x86/dct.o] Error 1
Comment 1 Sebastian Dröge (slomo) 2016-08-18 06:15:40 UTC
That seems specific to your toolchain somehow, it works here: https://ci.gstreamer.net/job/cerbero-cross-mingw32/

Any ideas what it could be?
Comment 2 Kyle 2016-08-19 00:13:22 UTC
It looks like the tests you linked use previously built packages. That is a difference, since I used fresh a Cerbero clone and ran the bootstrap and package commands.
Comment 3 Sebastian Dröge (slomo) 2016-08-19 05:52:38 UTC
Ok, let's trigger a rebuild then. It should've really built the new version there at the time it was updated though.
Comment 4 Sebastian Dröge (slomo) 2016-08-19 06:41:42 UTC
Still builds here, see https://ci.gstreamer.net/job/cerbero-cross-mingw32/4788/console

It rebuilt openh264 from scratch there.
Comment 5 Kyle 2016-08-19 20:10:36 UTC
I reclone and rebuilt from the ground up and got the same error. I suspected the Debian yasm version at that point so I compiled 1.3.0 myself and that resolved it.

I'm using Debian 8.5 for those who might run across this.
Comment 6 Tim-Philipp Müller 2018-01-20 14:56:25 UTC
Thanks for tracking down the cause and fix.

I don't know if there is more we want to do at this point.

Current debian stable has 1.3.0, so we'd have to force the local yasm recipe here or something.

We would probably accept a patch if anyone cares, but since this is for legacy systems, let's close it :)