Bug#827798: package mame FTBFS on mips64el (unrecognized command line option '-m64')

James Cowgill jcowgill at debian.org
Tue Jun 21 13:37:44 UTC 2016


Hi,

On Tue, 2016-06-21 at 08:06 +0000, Daniel Knezevic wrote:
> Package: mame
> Version: 0.173-6
> Severity: important
> Tags: sid + patch
> Justification: FTBFS
> User: debian-mips at lists.debian.org
> Usertags: mips-patch
> 
> Hello,
> Package mame FTBFS on mips64el with following error:
> g++: error: unrecognized command line option '-m64'
> 
> build log:
> https://buildd.debian.org/status/fetch.php?pkg=mame&arch=mips64el&ver
> =0.173-6&stamp=1464007306
> 
> -m64 flag is not supported on mips64el.
> 
> I have created two patches. One patch is to remove -m64 flag for
> mips64el. The other patch is for debian/rules, it adds -no-keep-
> memory flag for mips64el to fix linker issues with memory
> consumption.
> 
> Patches are tested on mips64el, i386 and amd64.
> With these patches package was build successfully.

Did you test the patches on mipsel as well? Your patch uses 'uname -m'
to determine if it's building for mips64, but a lot (I think all?) of
the mipsel buildds run 64-bit kernels and would match your check as
well.

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160621/6f3d3400/attachment.sig>


More information about the Pkg-games-devel mailing list