Bug#1014392: mingw-w64: ftbfs on riscv64(error: #error Unknown CPU architecture!)

2022-07-16 Thread Stephen Kitt
On Sat, 16 Jul 2022 14:12:56 +0200, Stephen Kitt wrote: > On Wed, 06 Jul 2022 09:52:41 +0800, Paul Wise wrote: > > On Wed, 2022-07-06 at 09:27 +0800, Bo YU wrote: > > > To my surprise this definition doesn't seem to take effect, > > > Either define or undef can build riscv64 package here.

Bug#1014392: mingw-w64: ftbfs on riscv64(error: #error Unknown CPU architecture!)

2022-07-16 Thread Stephen Kitt
On Wed, 06 Jul 2022 09:52:41 +0800, Paul Wise wrote: > On Wed, 2022-07-06 at 09:27 +0800, Bo YU wrote: > > To my surprise this definition doesn't seem to take effect, > > Either define or undef can build riscv64 package here. > > Probably the code that uses the definition is not adequately

Bug#1014392: mingw-w64: ftbfs on riscv64(error: #error Unknown CPU architecture!)

2022-07-05 Thread Paul Wise
On Wed, 2022-07-06 at 09:27 +0800, Bo YU wrote: > To my surprise this definition doesn't seem to take effect, > Either define or undef can build riscv64 package here. Probably the code that uses the definition is not adequately tested during the package build, if it was then there should be

Bug#1014392: mingw-w64: ftbfs on riscv64(error: #error Unknown CPU architecture!)

2022-07-05 Thread Bo YU
Hi, On Tue, Jul 05, 2022 at 10:47:26PM +0800, Paul Wise wrote: On Tue, 2022-07-05 at 17:42 +0800, Bo YU wrote: The patch attached is to fix the issue and I can build the package on my locally real riscv64 hardware(Unmatched board) with it. ... +#elif defined(__riscv) && __riscv_xlen == 64 +#

Bug#1014392: mingw-w64: ftbfs on riscv64(error: #error Unknown CPU architecture!)

2022-07-05 Thread Paul Wise
On Tue, 2022-07-05 at 17:42 +0800, Bo YU wrote: > The patch attached is to fix the issue and I can build the package > on my locally real riscv64 hardware(Unmatched board) with it. ... > +#elif defined(__riscv) && __riscv_xlen == 64 > +# define WORDS_BIGENDIAN I don't think this patch is

Bug#1014392: mingw-w64: ftbfs on riscv64(error: #error Unknown CPU architecture!)

2022-07-05 Thread Bo YU
Source: mingw-w64 Version: 10.0.0-2 Severity: minor Tags: ftbfs, patch User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org Dear mingw-w64 Maintainer, The package has a ftbfs issue on risv64: ``` ... mv -f src/.deps/widl-expr.Tpo src/.deps/widl-expr.Po