Your message dated Mon, 21 Dec 2015 05:21:54 +0000
with message-id <[email protected]>
and subject line Bug#790306: fixed in 0ad 0.0.19-1
has caused the Debian Bug report #790306,
regarding Please support ARM64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
790306: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790306
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: 0ad
Version: 0.0.18-1
Severity: wishlist
Tags: upstream
User: [email protected]
Usertags: arm64
It would be nice if 0 A.D. would support ARM64. There are Android
based devices on ARM64 already and I suspect we'll be seeing Linux
desktop devices based on ARM64 soon as well.
I know this is really an upstream issue, but it would be great if you
could raise an upstream feature request.
I briefly looked into it and created a patch with some obvious
locations where ARM64 (or AARCH64, as it's officially called) should
be added, but I'm sure it's incomplete. I also noticed
libraries/source/nvtt where ARM is referenced.
Note that I followed the existing code in source/lib/byte_order.h but
imho this is not an optimal way to do things as e.g. MIPS and ARM can
be both little or big endian.
--
Martin Michlmayr
http://www.cyrius.com/
diff -urN a/0ad-0.0.18/build/premake/premake4.lua
0ad-0.0.18/build/premake/premake4.lua
--- 0ad-0.0.18/build/premake/premake4.lua 2015-06-27 22:16:37.000000000
+0000
+++ 0ad-0.0.18/build/premake/premake4.lua 2015-06-27 22:15:40.420000000
+0000
@@ -86,6 +86,8 @@
arch = "x86"
elseif string.find(machine, "arm") == 1 then
arch = "arm"
+ elseif string.find(machine, "aarch64") == 1 then
+ arch = "aarch64"
else
print("WARNING: Cannot determine architecture from GCC,
assuming x86")
end
diff -urN a/0ad-0.0.18/source/lib/byte_order.h
0ad-0.0.18/source/lib/byte_order.h
--- 0ad-0.0.18/source/lib/byte_order.h 2012-01-17 22:05:43.000000000 +0000
+++ 0ad-0.0.18/source/lib/byte_order.h 2015-06-27 22:12:51.870000000 +0000
@@ -33,7 +33,7 @@
#ifndef BYTE_ORDER
# define LITTLE_ENDIAN 0x4321
# define BIG_ENDIAN 0x1234
-# if ARCH_IA32 || ARCH_IA64 || ARCH_AMD64 || ARCH_ALPHA || ARCH_ARM ||
ARCH_MIPS || defined(__LITTLE_ENDIAN__)
+# if ARCH_IA32 || ARCH_IA64 || ARCH_AMD64 || ARCH_ALPHA || ARCH_ARM ||
ARCH_AARCH64 || ARCH_MIPS || defined(__LITTLE_ENDIAN__)
# define BYTE_ORDER LITTLE_ENDIAN
# else
# define BYTE_ORDER BIG_ENDIAN
diff -urN a/0ad-0.0.18/source/lib/sysdep/arch.h
0ad-0.0.18/source/lib/sysdep/arch.h
--- 0ad-0.0.18/source/lib/sysdep/arch.h 2010-09-05 09:38:30.000000000 +0000
+++ 0ad-0.0.18/source/lib/sysdep/arch.h 2015-06-27 22:10:59.160000000 +0000
@@ -58,6 +58,12 @@
#else
# define ARCH_ARM 0
#endif
+// .. AArch64 (ARM64)
+#if defined(__aarch64__)
+# define ARCH_AARCH64 1
+#else
+# define ARCH_AARCH64 0
+#endif
// .. MIPS
#if defined(__MIPS__) || defined(__mips__) || defined(__mips)
# define ARCH_MIPS 1
@@ -66,7 +72,7 @@
#endif
// ensure exactly one architecture has been detected
-#if (ARCH_IA32+ARCH_IA64+ARCH_AMD64+ARCH_ALPHA+ARCH_ARM+ARCH_MIPS) != 1
+#if
(ARCH_IA32+ARCH_IA64+ARCH_AMD64+ARCH_ALPHA+ARCH_ARM+ARCH_AARCH64+ARCH_MIPS) != 1
# error "architecture not correctly detected (either none or multiple ARCH_*
defined)"
#endif
diff -urN a/0ad-0.0.18/source/ps/GameSetup/HWDetect.cpp
0ad-0.0.18/source/ps/GameSetup/HWDetect.cpp
--- 0ad-0.0.18/source/ps/GameSetup/HWDetect.cpp 2015-01-24 14:46:52.000000000
+0000
+++ 0ad-0.0.18/source/ps/GameSetup/HWDetect.cpp 2015-06-27 22:12:17.480000000
+0000
@@ -223,6 +223,7 @@
scriptInterface.SetProperty(settings, "arch_ia32", ARCH_IA32);
scriptInterface.SetProperty(settings, "arch_amd64", ARCH_AMD64);
scriptInterface.SetProperty(settings, "arch_arm", ARCH_ARM);
+ scriptInterface.SetProperty(settings, "arch_aarch64", ARCH_AARCH64);
#ifdef NDEBUG
scriptInterface.SetProperty(settings, "build_debug", 0);
--- End Message ---
--- Begin Message ---
Source: 0ad
Source-Version: 0.0.19-1
We believe that the bug you reported is fixed in the latest version of
0ad, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Cheng <[email protected]> (supplier of updated 0ad package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 20 Dec 2015 19:56:20 -0800
Source: 0ad
Binary: 0ad 0ad-dbg
Architecture: source
Version: 0.0.19-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Vincent Cheng <[email protected]>
Description:
0ad - Real-time strategy game of ancient warfare
0ad-dbg - Real-time strategy game of ancient warfare (debug)
Closes: 790306 807447
Changes:
0ad (0.0.19-1) unstable; urgency=medium
.
* New upstream release. (Closes: #807447)
- Add support for arm64. (Closes: #790306)
- Replace dependency on libsdl1.2-dev with libsdl2-dev (>= 2.0.2).
- Remove gcc-5.1.patch, applied upstream.
- Refresh remaining patches.
* Fix typo in override target in d/rules.
* Update watch file.
Checksums-Sha1:
1da10262236ace31101548953002cd8bb1667575 2467 0ad_0.0.19-1.dsc
18f6e7af99e17bc826a025c8889f0cb63b2eb8e9 26192128 0ad_0.0.19.orig.tar.xz
2f0bd900875e85a63f22ed0124127a4ee79bf331 93672 0ad_0.0.19-1.debian.tar.xz
Checksums-Sha256:
bf63d41c9195731633862b9ff762c1fc0dd95571313f3035189886047541a3c6 2467
0ad_0.0.19-1.dsc
2d43262bbcedbfa19eee23b0e78ae20fc9e0b8f4589855fca95d9908c6839bb3 26192128
0ad_0.0.19.orig.tar.xz
949666b998ce18527d5d7695e6494de5e2fc37a0ba589c94d732ed5eea3b2856 93672
0ad_0.0.19-1.debian.tar.xz
Files:
a8c49dc9ff155c7112e9f82fadce7aa6 2467 games optional 0ad_0.0.19-1.dsc
1c16fdab6886ee21b076c69903054374 26192128 games optional 0ad_0.0.19.orig.tar.xz
d0aa6cda8a25f2a4c9218754a9f73257 93672 games optional
0ad_0.0.19-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWd4RVAAoJEI7tzBuqHzL/qHQP/0t8rvQHIn705eAODy68rO4G
+SrcWkFKhAMKn+CeswXDkzRMNpVOv4legTdBeP5Pbl2c2D3DJLCMvF/ba0OL4uop
3im+F5A7ZLBk5415+v5pwUOefQTPnotJOoYVU4Y/dAiUivm//c0CWRXjqIZs1wv7
VZM97sDeYePVT4DGKt+Pv6vg5f/mYjYx9e4f2mYBExZwBG+NszULES9RmbNAfxaR
KBbM1Gwb/HUSwwDwxxSvVu0WTkNsI1PZy+PwkVlDMqdPyYmt+leyAAS8gUPt2T7j
SX+ZB+/KulvNcfbuqmqFhlotzJr1gLYGPL8akTVZCfpFg8FTT+6pb/mapXKbQGu8
RbmsL7gUvNkmlTfTIjsgUFf5ymbOTx44cFXmx6QL7BMdfyfEa5qJoHFEZ42Bk2iD
FAKlu0w3oRF/tahaIqQrGpf+VygKaFeLcXELrzuNVpR6eA7RJSw/a08nb2CL4IM9
mMDSpjqiss8qYr8frung4kaFI4vPN2CmwjT9BRq5RjCVuVwYAD2i0ROnsBa84gvC
A0oFxW2j75EOGCOX5qrbpK3h8H39cw/Ri+rAFWZ9zGFiNJBHXntmIYXzh6VD4rMz
ixAWFlBM+MPy706+QNhkwFI+vlTGxu6fXSq7vEAp7EdJM7BYii7J2PxHGerJuD/N
6uhAouAwD3wFS1DkYQkn
=BCNT
-----END PGP SIGNATURE-----
--- End Message ---