Your message dated Fri, 25 Apr 2025 15:05:58 -0500
with message-id <[email protected]>
and subject line Fixed
has caused the Debian Bug report #1101431,
regarding openxr-sdk-source: Please add loongarch64 support
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.)


-- 
1101431: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101431
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: openxr-sdk-source
Version: 1.0.34~ds-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: loong64

Dear maintainers,

Compiling the openxr-sdk-source failed for loong64 in the Debian Package Auto-Building environment.
The error log is as follows,
```
......
In file included from /<<PKGBUILDDIR>>/src/loader/loader_platform.hpp:17,
                 from /<<PKGBUILDDIR>>/src/loader/runtime_interface.hpp:12,
                 from /<<PKGBUILDDIR>>/src/loader/runtime_interface.cpp:10:
/<<PKGBUILDDIR>>/src/common/platform_utils.hpp:75:2: error: #error "No architecture string known!"
   75 | #error "No architecture string known!"
      |  ^~~~~
......
```
The full build log can be found at https://buildd.debian.org/status/fetch.php?pkg=openxr-sdk-source&arch=loong64&ver=1.0.34%7Eds-1&stamp=1742455087&raw=0.

Please consider the patch I attached.
Based on attached patch, I have built openxr-sdk-source (1.0.34~ds-1+loong64) successfully on locally.
```
......
   dh_builddeb
dpkg-deb: building package 'libopenxr-dev' in '../libopenxr-dev_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'libopenxr-utils' in '../libopenxr-utils_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'libopenxr-loader1' in '../libopenxr-loader1_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'openxr-layer-corevalidation-dbgsym' in '../openxr-layer-corevalidation-dbgsym_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'openxr-layer-apidump-dbgsym' in '../openxr-layer-apidump-dbgsym_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'libopenxr-loader1-dbgsym' in '../libopenxr-loader1-dbgsym_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'libopenxr-utils-dbgsym' in '../libopenxr-utils-dbgsym_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'openxr-layer-corevalidation' in '../openxr-layer-corevalidation_1.0.34~ds-1+loong64_loong64.deb'. dpkg-deb: building package 'openxr-layer-apidump' in '../openxr-layer-apidump_1.0.34~ds-1+loong64_loong64.deb'.  dpkg-genbuildinfo -O../openxr-sdk-source_1.0.34~ds-1+loong64_loong64.buildinfo
 dpkg-genchanges -O../openxr-sdk-source_1.0.34~ds-1+loong64_loong64.changes

```

Your opinions are welcome.

Best regards,
Dandan Zhang

Description: Add loongarch64 support. 
 .
 openxr-sdk-source (1.0.34~ds-1+loong64) unstable; urgency=medium
 .
   * Add loongarch64 support.
Author: Dandan Zhang <[email protected]>

---
Last-Update: 2025-03-27

--- openxr-sdk-source-1.0.34~ds.orig/specification/loader/runtime.adoc
+++ openxr-sdk-source-1.0.34~ds/specification/loader/runtime.adoc
@@ -377,6 +377,11 @@ architectures and ABIs is used.
   | `sparc64`
   | 64-bit SPARC architecture
 
+|`loongarch64`
+  |
+  | `loongarch64`
+  | 64-bit LoongArch architecture, little endian
+
 |===
 
 [[android-arm32-note]]
--- openxr-sdk-source-1.0.34~ds.orig/src/common/platform_utils.hpp
+++ openxr-sdk-source-1.0.34~ds/src/common/platform_utils.hpp
@@ -71,6 +71,8 @@
 #define XR_ARCH_ABI "riscv64"
 #elif defined(__sparc__) && defined(__arch64__)
 #define XR_ARCH_ABI "sparc64"
+#elif defined(__loongarch_lp64)
+#define XR_ARCH_ABI "loongarch64"
 #else
 #error "No architecture string known!"
 #endif

--- End Message ---
--- Begin Message ---
Version: 1.1.47~ds-2

The upstream pull request was merged so the recent 1.1.47 upload
contains the fix.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to