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

Bug#897655: marked as done (xutils-dev: Please add support for riscv64)



Your message dated Wed, 09 Aug 2023 15:55:16 +0000
with message-id <E1qTlWm-00BPdm-Ne@fasolo.debian.org>
and subject line Bug#897655: fixed in xutils-dev 1:7.7+6.1
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 ---
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 ---
Source: xutils-dev
Source-Version: 1:7.7+6.1
Done: Héctor Orón Martínez <zumbi@debian.org>

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

Debian distribution maintenance software
pp.
Héctor Orón Martínez <zumbi@debian.org> (supplier of updated xutils-dev 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: Wed, 09 Aug 2023 13:24:31 +0200
Source: xutils-dev
Architecture: source
Version: 1:7.7+6.1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Héctor Orón Martínez <zumbi@debian.org>
Closes: 897655 1026002 1035848 1043221
Changes:
 xutils-dev (1:7.7+6.1) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster:
     + Build-Depends: Drop versioned constraint on dpkg-dev.
 .
   [ Héctor Orón Martínez ]
   * Non-maintainer upload.
   * Add 08_support_riscv64.patch to support riscv64. Thanks to
     Manuel A. Fernandez Montecelo (Closes: #897655, #1026002, #1035848)
     and Bo YU (Closes: #1043221)
Checksums-Sha1:
 ff604c4f3d3d689908747da5b27252ca4a499496 1625 xutils-dev_7.7+6.1.dsc
 63dd63cee9edf1110e0c9944bce1db3d40569df0 1240982 xutils-dev_7.7+6.1.tar.gz
 a6f9d82d643fbdcdaff61d85070b83b641f9a8ab 6592 xutils-dev_7.7+6.1_source.buildinfo
Checksums-Sha256:
 9b0ffd34e31fce484a2fb8c01b21a9ef064fd8f4318d914696460acf513e9596 1625 xutils-dev_7.7+6.1.dsc
 0357296d2377354353b5343974000994bf31896a330faaf0e7b9f1b0ed3288c1 1240982 xutils-dev_7.7+6.1.tar.gz
 70a5c677cd07d88e195fcf24cbae67e5ebd6e088e057be40423ddff81fc5b2e1 6592 xutils-dev_7.7+6.1_source.buildinfo
Files:
 18c29757481c669d8648943b883daeaa 1625 x11 optional xutils-dev_7.7+6.1.dsc
 ba80939bf48630b179c6b606b06e2158 1240982 x11 optional xutils-dev_7.7+6.1.tar.gz
 27d2eefe4b020fefba004ab1d523e2b7 6592 x11 optional xutils-dev_7.7+6.1_source.buildinfo

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

iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAmTTrUkACgkQryKDqnbi
rHvCdg//cM7ehFnmNlqqqo4xZwoRVh2mGAWdxPKqw6ksHX8/WCAW8b5+qPvF03FJ
VGXDUsFFCW5VbgyUkW3KKpxGUt3+XId7xndjwOlnQE1v6e0DtS3nVtGG0DH8+Fib
inns8hCQZjO+BUlYGmdxcGDvjqADX4lVaJr/ud8uiRNTDffmxdfE/mgL76z5Scl+
ofRqINr/C/fsSL3j2gQ8vvr8MxVmkogdkroqSx4aLWnk+7ZjGK1lqHPr4wZInYqV
AOIa8IQZs2hbB3nCrxJ+95n3v1AM9XWOJP8aWGwzbV7sb0Z13UCymYIL4n2O7OKF
ch3YMWsLRtlYfpdC4mDb79VTjU7BCqt/fRA8YulPkfxiRudOOMpt3k71HVqHE4Lm
y3dRuYp4rTEUttmOr6AzQznDIooSsRJnjabeu8l/JhOut8CKbIdLTfFg96LtrDFA
RzdI7pniEq90ux0gVj4r/LW+Um5jL0LqCtn9ehPqhO3RzroAg3j6o38bxFkUl+9Z
h8Z3pPAojijVTgBZCPawhWdGh5Pz87sDjDQ+2monF03Niyf6wkG4bCcRgXico/oP
L26DXOIwmI6zhKesCYSvZTwBi93spb9iYMZ9RLy98TvDaVPxvZrILcWY1O0HWf+n
aQHQJ2jeEjrirU55/iWS3v835okTFYuADorYTqMkWlM2iqqVB2M=
=KVHT
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: