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

Bug#1065491: marked as done (qtwebkit-opensource-src: Add support for loongarch64)



Your message dated Sun, 10 Mar 2024 22:31:16 +0000
with message-id <E1rjRhM-00Bo9b-Fc@fasolo.debian.org>
and subject line Bug#1065491: fixed in qtwebkit-opensource-src 5.212.0~alpha4-35
has caused the Debian Bug report #1065491,
regarding qtwebkit-opensource-src: Add support for loongarch64
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 owner@bugs.debian.org
immediately.)


-- 
1065491: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065491
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtwebkit-opensource-src
Version: 5.212.0~alpha4-33
Severity: wishlist
Tags: ftbfs
User: debian-loongarch@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the qtwebkit-opensource-src failed for loong64 in the Debian Package Auto-Building environment.
The reason is the lack of loongarch64 support in qtwebkit-opensource-src.

I have added the patch(add loongarch64 support) to upstream, please see the pull-request https://github.com/qtwebkit/qtwebkit/pull/1096.
But the status of pull request from upstream is still open.

Reference to other architectures, I added the loongarch64 support to the qtwebkit-opensource-src source package.
Please consider the patch I attached.
If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

Description: Add loongarch64 support
Author: Dandan Zhang <zhangdandan@loongson.cn>
Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1096
Last-Update: 2024-03-05

--- qtwebkit-opensource-src-5.212.0~alpha4.orig/CMakeLists.txt
+++ qtwebkit-opensource-src-5.212.0~alpha4/CMakeLists.txt
@@ -63,6 +63,8 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR
     set(WTF_CPU_ARM64 1)
 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "alpha*")
     set(WTF_CPU_ALPHA 1)
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "loongarch64")
+    set(WTF_CPU_LOONGARCH64 1)
 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^mips")
     set(WTF_CPU_MIPS 1)
 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "sh4")
--- qtwebkit-opensource-src-5.212.0~alpha4.orig/Source/JavaScriptCore/CMakeLists.txt
+++ qtwebkit-opensource-src-5.212.0~alpha4/Source/JavaScriptCore/CMakeLists.txt
@@ -1280,6 +1280,7 @@ if (WTF_CPU_ARM)
 elseif (WTF_CPU_ARM64)
 elseif (WTF_CPU_ALPHA)
 elseif (WTF_CPU_HPPA)
+elseif (WTF_CPU_LOONGARCH64)
 elseif (WTF_CPU_PPC)
 elseif (WTF_CPU_PPC64)
 elseif (WTF_CPU_PPC64LE)
--- qtwebkit-opensource-src-5.212.0~alpha4.orig/Source/WTF/wtf/Platform.h
+++ qtwebkit-opensource-src-5.212.0~alpha4/Source/WTF/wtf/Platform.h
@@ -80,6 +80,11 @@
 #endif
 #endif
 
+/* CPU(LOONGARCH64) - LoongArch 64-bit */
+#if defined(__loongarch64)
+#define WTF_CPU_LOONGARCH64 1
+#endif
+
 /* CPU(MIPS) - MIPS 32-bit and 64-bit */
 #if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_) || defined(__mips64))
 #if defined(_ABI64) && (_MIPS_SIM == _ABI64)
@@ -713,7 +718,8 @@
     || CPU(MIPS64) \
     || CPU(PPC64) \
     || CPU(PPC64LE) \
-    || CPU(RISCV64)
+    || CPU(RISCV64) \
+    || CPU(LOONGARCH64)
 #define USE_JSVALUE64 1
 #else
 #define USE_JSVALUE32_64 1
--- qtwebkit-opensource-src-5.212.0~alpha4.orig/Source/WTF/wtf/dtoa/utils.h
+++ qtwebkit-opensource-src-5.212.0~alpha4/Source/WTF/wtf/dtoa/utils.h
@@ -49,7 +49,7 @@
 defined(__ARMEL__) || \
 defined(_MIPS_ARCH_MIPS32R2)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
-#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) || CPU(RISCV64)
+#elif CPU(MIPS) || CPU(MIPS64) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(ALPHA) || CPU(ARM64) || CPU(HPPA) || CPU(RISCV64) || CPU(LOONGARCH64)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
 #elif defined(_M_IX86) || defined(__i386__)
 #if defined(_WIN32)

--- End Message ---
--- Begin Message ---
Source: qtwebkit-opensource-src
Source-Version: 5.212.0~alpha4-35
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtwebkit-opensource-src, 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 1065491@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtwebkit-opensource-src 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 10 Mar 2024 23:41:26 +0300
Source: qtwebkit-opensource-src
Architecture: source
Version: 5.212.0~alpha4-35
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1065491
Changes:
 qtwebkit-opensource-src (5.212.0~alpha4-35) experimental; urgency=medium
 .
   * Backport a patch from upstream WebKit to fix build with libxml2 2.12.
   * Add a patch to support loongarch64 (thanks Dandan Zhang, closes:
     #1065491).
   * Replace pkg-config build-dependency with pkgconf.
   * Build against Qt 5.15.13.
Checksums-Sha1:
 de2184af16d3977c6b0f7d7fd31e164586536eab 3186 qtwebkit-opensource-src_5.212.0~alpha4-35.dsc
 5b422c0bae811b2b43c7ece6f0478512a6a6b701 67784 qtwebkit-opensource-src_5.212.0~alpha4-35.debian.tar.xz
 9a5bcbcaa2737d528549a9db09bba7c6f8473013 15799 qtwebkit-opensource-src_5.212.0~alpha4-35_source.buildinfo
Checksums-Sha256:
 ee33f72ed657775ed01db683caf241bf451edfeae8bc4de523ed5039a323863a 3186 qtwebkit-opensource-src_5.212.0~alpha4-35.dsc
 79823f5dd72d987a33cd876b1e63181f12e21d1451c6eb9cd28494adfe73a4f2 67784 qtwebkit-opensource-src_5.212.0~alpha4-35.debian.tar.xz
 e023aee30c6edf03fae636b4ba40fdad641f1c93380377193c8941af93ae0195 15799 qtwebkit-opensource-src_5.212.0~alpha4-35_source.buildinfo
Files:
 9b37db6d5cf3da90f3346da00736a2f2 3186 libs optional qtwebkit-opensource-src_5.212.0~alpha4-35.dsc
 dbcc9de6a11ffe198b2687df1ce519ff 67784 libs optional qtwebkit-opensource-src_5.212.0~alpha4-35.debian.tar.xz
 485371899b3d67b2dd9d633fe6c5486d 15799 libs optional qtwebkit-opensource-src_5.212.0~alpha4-35_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmXuG7oTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRCyZhS0UvRGtuAMD/4zVN+iW3FVbRpeHsM1i3l9vaUqSwLh
zgEw03rGW1AMfFS/DFvwItj0POyyGbkl/cKKp2LntUt1W4CsX4lp69feDdCY9YxH
ogh9W7DOvmNt0mjchCthmUAMcq59xX8uY9VuksYwrF6qwEiUmmQCbLiEJ1xw0TXK
MX5GiFsW2IvW98loZw21pRNTgaAAyn9YTwkZVOQ8TcFo9FuYJbqGmYdD8FKiHBNl
aKSuDEREkj9BnmrzaNuORulq9DNnmobTSHt+1C/Ohte/8mt0bql5GF1l2Rta2dsS
shwmKG24CSRRZoZ6VtW6SofR6ebFAjrM3iJ5FPjWfSPuaQPAClhyaIeVA9aVBqn8
NA8wdbLh/qY3BWq0ch/V6DiyxD1EAUe4jiwPOE54iPQiU5KaX5Wznrq+UOFrPgg9
F/bIeIn48VzST6nWiWr1qrINViDNh7o1otXyhtrUHwUojpOmDRjZus2TYfk6X+uo
kpwIGatQYW+Gh80vV+K3d8F48wnlG1LhIfLVdibTREpJSXAQ6lhzpH3H8aGEis7v
l27rdlTySbzNYG+LSI10UccQNRjgJ8DDHwKVJ6hPs2oNOgOFWb7dDmL3c4JfUf07
zWUbh2bsxKGhPWdQw6EORA5TSdxWxjOe8/La1KiOPk/1u1s27pTb0kugWkTBmzDL
gYFeO4uetaSJBg==
=CX12
-----END PGP SIGNATURE-----

Attachment: pgp4HSg1SbsGK.pgp
Description: PGP signature


--- End Message ---

Reply to: