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

Re: sparc32 and sparc64-only packages

Jurij Smakov <jurij@wooyd.org> writes:

> Hi,
> Recently I've been investigating the xine-lib build failure on
> sparc. It turned out that failure occured due to libavcodec, shipped
> as a part of xine-lib, using the sparc64-specific assembler
> instructions in some routines (without providing any generic
> arch-independent replacement for them). So, the simplest solution is
> to add something like -mcpu=ultrasparc, which fixes the build failure,
> but renders xine-lib unusable on sparc32 machine. It turns out that
> there are at least a few binaries already in the archive (like
> binaries built from ffmpeg and mpeg2dec source packages) which uses
> -mcpu=ultrasparc. Those will not work on sparc32 either.

How about creating a sparc64 package (probably part of dpkg's internal
type-handling support) and depending on that?

That would at least make the package uninstallable on sparc32.


Reply to: