Your message dated Mon, 20 Apr 2020 17:38:08 +0000
with message-id <[email protected]>
and subject line Bug#951714: fixed in ruby2.7 2.7.0-6
has caused the Debian Bug report #951714,
regarding ruby2.7: Please include small workaround to fix the build on sh4
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.)


-- 
951714: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951714
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby2.5
Severity: normal
User: [email protected]
Usertags: sh4

Hello!

Due to a compiler bug in gcc-9 and newer, ruby2.5 (and ruby2.7) currently
gets miscompiled and crashes with an 'Illegal Instruction' error [1].

The problem can be easily worked around by passing -fno-crossjumping through
CFLAGS to the compiler. Could you include the small attached workaround in
the next upload of ruby2.5 (and ruby2.7) to fix the build on sh4 until
the compiler bug has been fixed upstream?

diff -Nru old/ruby2.5-2.5.7/debian/rules new/ruby2.5-2.5.7/debian/rules
--- old/ruby2.5-2.5.7/debian/rules      2019-10-23 17:48:04.000000000 +0200
+++ new/ruby2.5-2.5.7/debian/rules      2020-02-20 15:17:13.910784900 +0100
@@ -55,6 +55,11 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 configure_options += $(shell dpkg-buildflags --export=configure)
 
+# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808
+ifneq (,$(filter $(DEB_HOST_ARCH),sh3 sh4))
+export DEB_CFLAGS_MAINT_APPEND += -fno-crossjumping
+endif
+
 # Always build with /bin/bash, to get consistent rbconfig.rb (which embeds 
SHELL).
 export SHELL := /bin/bash

Thanks,
Adrian

> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/ruby2.5-2.5.7/debian/rules new/ruby2.5-2.5.7/debian/rules
--- old/ruby2.5-2.5.7/debian/rules      2019-10-23 17:48:04.000000000 +0200
+++ new/ruby2.5-2.5.7/debian/rules      2020-02-20 15:17:13.910784900 +0100
@@ -55,6 +55,11 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 configure_options += $(shell dpkg-buildflags --export=configure)
 
+# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808
+ifneq (,$(filter $(DEB_HOST_ARCH),sh3 sh4))
+export DEB_CFLAGS_MAINT_APPEND += -fno-crossjumping
+endif
+
 # Always build with /bin/bash, to get consistent rbconfig.rb (which embeds 
SHELL).
 export SHELL := /bin/bash
 

--- End Message ---
--- Begin Message ---
Source: ruby2.7
Source-Version: 2.7.0-6
Done: Lucas Kanashiro <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ruby2.7, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lucas Kanashiro <[email protected]> (supplier of updated ruby2.7 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 20 Apr 2020 10:39:35 -0300
Source: ruby2.7
Architecture: source
Version: 2.7.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<[email protected]>
Changed-By: Lucas Kanashiro <[email protected]>
Closes: 951714 954293
Changes:
 ruby2.7 (2.7.0-6) unstable; urgency=medium
 .
   * Add patch to fix FTBFS on x32: misdetected as i386 or amd64
     (Closes: #954293)
   * d/rules: add -fno-crossjumping to CFLAGS (Closes: #951714)
   * Make 64-bit-only symbols optional to fix FTBFS on i386/armhf
Checksums-Sha1:
 e748abffc9f3d4587b5925dc638b903824d4eebd 2492 ruby2.7_2.7.0-6.dsc
 de2ba4bc7cab697061ad0ccdbd69009b8c7449ab 111652 ruby2.7_2.7.0-6.debian.tar.xz
Checksums-Sha256:
 fe8caf817297e59a1603dfc92f8fea88474a7a82e62d966de2a955c6a4593feb 2492 
ruby2.7_2.7.0-6.dsc
 088c928ce2948202cb88075c407334b5f3676f4dc4b8a02a0c14448ab2646cd4 111652 
ruby2.7_2.7.0-6.debian.tar.xz
Files:
 39cdb1ef7eca29b20ca7477b8cabef47 2492 ruby optional ruby2.7_2.7.0-6.dsc
 ce0b9b8d43d2436110db8a243121300f 111652 ruby optional 
ruby2.7_2.7.0-6.debian.tar.xz

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

iQJJBAEBCAAzFiEEjtbD+LrJ23/BMKhw+COicpiDyXwFAl6d2MUVHGthbmFzaGly
b0BkZWJpYW4ub3JnAAoJEPgjonKYg8l81tsP/0NjoGgJrpQ4C7NyUkS2+ZqVSHld
eMyKP0KVz1RmICuS3GtwqryM5JpjjI1yF1ZBY5l+qekDE9tVxOSwWnmlWVqs7hTe
+nIjBLoiwJMCj3I7OZcbYSCViPqsBbhEni9syzVVbkox48V6cDUVP5C97maB6WsV
lPvysQmsoJtnA60F1H31VdRAbqt88dfjVoPEAR1XYE49/Ugb3idEzYuGa88liBs9
0aZQDWBdtW+25ZPj5YjAu+0UVMCBFtSzCTRXL9B6oEL74LHfuiOXAihP0aA5nyXl
aYEwXOIyA09PizJJM8UuCQGcWwAYLGBpREC6qfYNZUcBNU+Ssi76azyocOo/SXWz
uPNXhexZ7UuBSxDoPjxKworzsEEj5hqrJsuBXBI6AMrOAm5xv9lzfL73gHVHiESC
OV5rlXQrjyXOjzdg/XoIzyxn9RPMdT7PVCfROA0fLuOxLGl+tvjVgyifwri9DCcN
M3PsPRAjthGJEYzS5o8s5jbEJzzjZGyPgVtOK7G2IEaTphuyYgLWhRjMkFB1K1UE
rAn1kyhfxSYIs6K2guuSSYMQDtbfpgO76vtwti8qGt0gRD6vM9aNBRhS8EV264Wa
HoJnYZT6UPPOutA074nrOw3X/qzwih65y4so4rDBzviMx1cFnc3yK0TiyCOB/KP+
002/D3ZLv1fD4IZH
=nyKk
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to