Bug#844028: jsusfx: FTBFS (32-bit): tries to use bad 32-bit x86 assembly

Aaron M. Ucko amu at alum.mit.edu
Fri Nov 11 22:02:05 UTC 2016


Source: jsusfx
Version: 0.3.1-1
Severity: important
Justification: fails to build from source

Builds of jsusfx for 32-bit architectures have been failing due to the
attempted use of WDL/eel2/glue_x86.h, which turns out not to work even
on *i386 or x32.  64-bit builds all nominally succeed, but those for
non-amd64 processors almost certainly yield broken executables, since
they all (regardless of actual processor type) use glue_x86_64.h,
which uses raw machine code throughout.

I would recommend
* Using glue_x86_64.h only on actual x86_64
* Fixing glue_x86.h and using it only on *i386 and possibly x32.
* Using glue_ppc.h on powerpc, as presumably intended.  Its usage is
  conditional on __ppc__, but at least on Linux, the relevant
  predefined macro would be __powerpc__.  You might need to exclude
  __powerpc64__ and/or _LITTLE_ENDIAN for correct results.
* Actually using the fallback glue_port.h elsewhere.

Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the pkg-multimedia-maintainers mailing list