Your message dated Fri, 17 Jun 2022 15:42:35 +0800 with message-id <231c9320-81b9-e0d8-6f5a-a84d031bca21@sina.com> and subject line xutils-dev (1:7.7+6) had support riscv has caused the Debian Bug report #897655, regarding xutils-dev: Please add support for riscv64 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.) -- 897655: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897655 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: xutils-dev: Please add support for riscv64
- From: "Manuel A. Fernandez Montecelo" <mafm@debian.org>
- Date: Thu, 03 May 2018 22:56:19 +0200
- Message-id: <152538097948.6047.5411288796470261530.reportbug@reva.itsari.org>
Source: xutils-dev Version: 1:7.7+5 Severity: normal Tags: patch User: debian-riscv@lists.debian.org Usertags: riscv64 Hello, We need support in this package for the riscv64 architecture. I am attaching a patch that adds support. It applies cleanly when added last in the "series" file. A similar patch was sent by Fedora people ~1 month ago and rejected, since upstream are not interested in continuing support of this software. They already said something similar when I sent a patch back in 2014 for OpenRISC or1k. They were even surprised that people wanted to add support to it. I would gladly let it go, but it turns out that packages like for example emacs25 still need it (through xaw3d). It would be great if you could include these changes and release a new version for unstable, it lives in "unreleased" for the time being. Thanks and cheers. -- Manuel A. Fernandez Montecelo <mafm@debian.org>Description: Add support for riscv64 Upstream is not interested in adding these patches, they rejected changes when proposed by people from Fedora. . They were already reluctant to add support back in 2014 for other arches, e.g. OpenRISC or1k (I sent the support then). Author: Manuel A. Fernandez Montecelo <mafm@debian.org> Last-Update: 2018-05-03 --- a/xorg-cf-files/Imake.cf +++ b/xorg-cf-files/Imake.cf @@ -1037,6 +1037,10 @@ # define AArch64Architecture # undef __aarch64__ # endif +# if defined(__riscv) && (__riscv_xlen == 64) +# define RISCV64Architecture +# /* undef __riscv */ +# endif #endif /* linux || __GLIBC__ */ #if (defined(__Lynx__) || defined(Lynx)) && (defined(i386) || defined(__i386__) || defined(__x86__) || defined(__powerpc__) || defined(__sparc__) || defined(sparc)) --- a/xorg-cf-files/linux.cf +++ b/xorg-cf-files/linux.cf @@ -1111,6 +1111,15 @@ # define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64 #endif /* AArch64Architecture */ +#ifdef RISCV64Architecture +# ifndef OptimizedCDebugFlags +# define OptimizedCDebugFlags DefaultGcc2RISCV64Opt DefaultGcc2OptimizeOpt GccAliasingArgs +# endif +# define LinuxMachineDefines -D__riscv +# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME +# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64 +#endif /* RISCV64Architecture */ + #ifndef StandardDefines # ifdef __linux__ # define StandardDefines -Dlinux LinuxMachineDefines LinuxSourceDefines --- a/xorg-cf-files/xfree86.cf +++ b/xorg-cf-files/xfree86.cf @@ -2067,6 +2067,12 @@ # endif #endif +#if HasGcc2 && defined(RISCV64Architecture) +# ifndef DefaultGcc2RISCV64Opt +# define DefaultGcc2RISCV64Opt DefaultGcc2OptimizeOpt GccAliasingArgs +# endif +#endif + #if HasGcc2 && defined(AlphaArchitecture) # ifndef DefaultGcc2AxpOpt # define DefaultGcc2AxpOpt DefaultGcc2OptimizeOpt GccAliasingArgs --- a/xorg-cf-files/xorg.cf +++ b/xorg-cf-files/xorg.cf @@ -1584,6 +1584,12 @@ # endif #endif +#if HasGcc2 && defined(RISCV64Architecture) +# ifndef DefaultGcc2RISCV64Opt +# define DefaultGcc2RISCV64Opt DefaultGcc2OptimizeOpt GccAliasingArgs +# endif +#endif + #if HasGcc2 && defined(AMD64Architecture) # ifndef DefaultGcc2AMD64Opt # define DefaultGcc2AMD64Opt DefaultGcc2OptimizeOpt GccAliasingArgs
--- End Message ---
--- Begin Message ---
- To: 897655-done@bugs.debian.org
- Subject: xutils-dev (1:7.7+6) had support riscv
- From: xiao sheng wen(肖盛文) <atzlinux@sina.com>
- Date: Fri, 17 Jun 2022 15:42:35 +0800
- Message-id: <231c9320-81b9-e0d8-6f5a-a84d031bca21@sina.com>
control: fixed -1 1:7.7+6 Fixed in: git blame xorg-cf-files/config.guess|grep riscv16c4ad41 (Timo Aaltonen 2021-11-27 11:51:00 +0200 1128) riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)-- 肖盛文 xiao sheng wen Faris Xiao 微信(wechat):atzlinux 《铜豌豆 Linux》https://www.atzlinux.com 基于 Debian 的 Linux 中文 桌面 操作系统 Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com GnuPG Public Key: 0x00186602339240CBAttachment: OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---