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

Bug#1004659: marked as done (gcc-11: Please include patch to default 32-bit mode to V8+ on sparc64)



Your message dated Wed, 23 Feb 2022 07:18:44 +0000
with message-id <E1nMlvA-0009XS-OK@fasolo.debian.org>
and subject line Bug#1004659: fixed in gcc-11 11.2.0-17
has caused the Debian Bug report #1004659,
regarding gcc-11: Please include patch to default 32-bit mode to V8+ on sparc64
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.)


-- 
1004659: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004659
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-11
Version: 11.2.0-14
Severity: normal
Tags: patch
User: debian-sparc@lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc@lists.debian.org

Hi!

GCC upstream is defaulting to the V8+ baseline now for 32-bit mode on sparc64 [1].

As this change is not going to be backported according to the responsible author [2],
I would like to ask this change to be backported in the gcc-11 package in Debian.

I'm attaching both the patch itself as well as a Debian patch which includes both
the patch and updates debian/rules.patch.

Could you include it for the next upload?

Thanks,
Adrian

> [1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=23987912ddb4207de0714d81237f93f613557d1f
> [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104189

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/gcc-11-11.2.0/debian/patches/sparc64-v8plus-default.diff new/gcc-11-11.2.0/debian/patches/sparc64-v8plus-default.diff
--- old/gcc-11-11.2.0/debian/patches/sparc64-v8plus-default.diff	1970-01-01 01:00:00.000000000 +0100
+++ new/gcc-11-11.2.0/debian/patches/sparc64-v8plus-default.diff	2022-01-31 10:54:27.448637243 +0100
@@ -0,0 +1,28 @@
+From 23987912ddb4207de0714d81237f93f613557d1f Mon Sep 17 00:00:00 2001
+From: Eric Botcazou <ebotcazou@adacore.com>
+Date: Mon, 31 Jan 2022 09:21:48 +0100
+Subject: [PATCH] Use V8+ default in 32-bit mode on SPARC64/Linux
+
+This is what has been done for ages on SPARC/Solaris and makes it possible
+to use 64-bit atomic instructions even in 32-bit mode.
+
+gcc/
+	PR target/104189
+	* config/sparc/linux64.h (TARGET_DEFAULT): Add MASK_V8PLUS.
+
+--- a/src/gcc/config/sparc/linux64.h
++++ b/src/gcc/config/sparc/linux64.h
+@@ -35,8 +35,8 @@ along with GCC; see the file COPYING3.  If not see
+ #if defined(TARGET_64BIT_DEFAULT) && TARGET_CPU_DEFAULT >= TARGET_CPU_v9
+ #undef TARGET_DEFAULT
+ #define TARGET_DEFAULT \
+-  (MASK_V9 + MASK_PTR64 + MASK_64BIT + MASK_STACK_BIAS + \
+-   MASK_APP_REGS + MASK_FPU + MASK_LONG_DOUBLE_128)
++  (MASK_V9 + MASK_64BIT + MASK_PTR64 + MASK_STACK_BIAS + \
++   MASK_V8PLUS + MASK_APP_REGS + MASK_FPU + MASK_LONG_DOUBLE_128)
+ #endif
+ 
+ /* This must be v9a not just v9 because by default we enable
+-- 
+2.31.1
+
diff -Nru old/gcc-11-11.2.0/debian/rules.patch new/gcc-11-11.2.0/debian/rules.patch
--- old/gcc-11-11.2.0/debian/rules.patch	2022-01-17 13:42:16.000000000 +0100
+++ new/gcc-11-11.2.0/debian/rules.patch	2022-01-31 10:54:47.009328741 +0100
@@ -50,6 +50,7 @@
 	gcc-auto-build \
 	libitm-no-fortify-source \
 	sparc64-biarch-long-double-128 \
+	sparc64-v8plus-default \
 	pr66368 \
 	pr67590 \
 	libffi-pax \
>From 23987912ddb4207de0714d81237f93f613557d1f Mon Sep 17 00:00:00 2001
From: Eric Botcazou <ebotcazou@adacore.com>
Date: Mon, 31 Jan 2022 09:21:48 +0100
Subject: [PATCH] Use V8+ default in 32-bit mode on SPARC64/Linux

This is what has been done for ages on SPARC/Solaris and makes it possible
to use 64-bit atomic instructions even in 32-bit mode.

gcc/
	PR target/104189
	* config/sparc/linux64.h (TARGET_DEFAULT): Add MASK_V8PLUS.

--- a/src/gcc/config/sparc/linux64.h
+++ b/src/gcc/config/sparc/linux64.h
@@ -35,8 +35,8 @@ along with GCC; see the file COPYING3.  If not see
 #if defined(TARGET_64BIT_DEFAULT) && TARGET_CPU_DEFAULT >= TARGET_CPU_v9
 #undef TARGET_DEFAULT
 #define TARGET_DEFAULT \
-  (MASK_V9 + MASK_PTR64 + MASK_64BIT + MASK_STACK_BIAS + \
-   MASK_APP_REGS + MASK_FPU + MASK_LONG_DOUBLE_128)
+  (MASK_V9 + MASK_64BIT + MASK_PTR64 + MASK_STACK_BIAS + \
+   MASK_V8PLUS + MASK_APP_REGS + MASK_FPU + MASK_LONG_DOUBLE_128)
 #endif
 
 /* This must be v9a not just v9 because by default we enable
-- 
2.31.1


--- End Message ---
--- Begin Message ---
Source: gcc-11
Source-Version: 11.2.0-17
Done: Matthias Klose <doko@debian.org>

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

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-11 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: SHA256

Format: 1.8
Date: Wed, 23 Feb 2022 08:04:43 +0100
Source: gcc-11
Architecture: source
Version: 11.2.0-17
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1004659
Changes:
 gcc-11 (11.2.0-17) unstable; urgency=medium
 .
   * Update to git 20220222 from the gcc-11 branch.
     - Fix PR debug/104557, PR rtl-optimization/104544, PR debug/104517,
       PR sanitizer/104449, PR target/104502 (x86), PR middle-end/104446,
       PR target/102140 (PPC), PR middle-end/104307, PR lto/104237,
       PR tree-optimization/104263, PR middle-end/100464, PR c++/100468,
       PR tree-optimization/102893, PR tree-optimization/45178,
       PR tree-optimization/103864, PR tree-optimization/103544,
       PR tree-optimization/103544, PR tree-optimization/103361,
       PR middle-end/100786, PR target/100784 (x86), PR target/103925 (x86),
       PR target/102952 (x86), PR target/102952 (x86), PR target/102952 (x86),
       PR target/103307 (x86), PR target/103627 (PPC), PR target/103627 (PPC),
       PR target/79754 (x86), PR target/101324 (PPC), PR target/104469 (x86),
       PR target/104462 (x86), PR target/104458 (x86), PR target/104451 (x86),
       PR tree-optimization/104288, PR target/104362 (x86),
       PR target/104090 (PPC), PR middle-end/95115, PR c/104510, PR c++/104513,
       PR c++/104472, PR middle-end/100464, PR c++/100468, PR c++/104410,
       PR fortran/66193, PR fortran/104211, PR fortran/100337,
       PR fortran/103790, PR fortran/104311, PR fortran/104331, PR go/100537,
       PR lto/104333, PR preprocessor/104147, PR libgomp/104385,
       PR libstdc++/102358, PR libstdc++/103904, PR libstdc++/103904,
       PR libstdc++/101231, PR libstdc++/103904, PR libstdc++/103904,
       PR libstdc++/104442.
   * Default 32-bit mode to V8+ on sparc64 (Adrian Glaubitz). Closes: #1004659.
   * Reenable Ada on alpha. See PR target/98724.
   * Stop building packages now built by gcc-12.
Checksums-Sha1:
 3f4b74f25e976507d4b25513441fcfa54b5bed34 22381 gcc-11_11.2.0-17.dsc
 b127cd5f31ff495b58d612ce97122a6f0868040e 2066280 gcc-11_11.2.0-17.debian.tar.xz
 2f334aa46c9b01ed7321f9f201f85b3c75fcc05a 9701 gcc-11_11.2.0-17_source.buildinfo
Checksums-Sha256:
 04c457c6e53d3bed6f127eed332afc9b357b96f896392de24e04fc6bc11a3bbc 22381 gcc-11_11.2.0-17.dsc
 038e1b5015b9af0cdb09c18054fb01ba5efb33128a256ae8e3a19661ccf0ff42 2066280 gcc-11_11.2.0-17.debian.tar.xz
 651da8fbc8307dea01d59c030547138893e7ac7caa231dec55b83276c4ea75f0 9701 gcc-11_11.2.0-17_source.buildinfo
Files:
 0d86876b5b18d3d8ace98da2c85839f0 22381 devel optional gcc-11_11.2.0-17.dsc
 50537d7d9e0f2fd2abadab01eaff98dc 2066280 devel optional gcc-11_11.2.0-17.debian.tar.xz
 874fce0d635214f520b2f108af11294b 9701 devel optional gcc-11_11.2.0-17_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmIV3MgQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9QxcEADOGLmERFAejaFAvE5eO5ZrU3haH/o8ibRT
Dil5iLhTWSFZc4U4QScnDe1GBIsGEIWi9UkcD4EzmqqZLqij1PSC8ddvPh+I03Pc
dIIf6I0GDz52+5bFjJHLBE0MtcpHuEGr6oKHfPErQSSqLAFKQ7OXFritCxI29zfw
uGLx7Tf0n4uEJPGZ2EuwoaCagSbR3/620sCtJA96g7DFQ1i5H04RaMMCV5CcV6kB
TCj4Y3ZLtukjj+JKLtaKj1ij7e+EBJyHTQqFBxJTMFtoYHdBXCbjY41ppuyDhHxZ
V+3sTyY+8e2HuWroXC5sHyS20AUAns08av8rFbwBKGDakxIL08VdywZyMQeLEpRA
aC2BEf+QC1oew3SMcPW96dfh1GSMHeKDmNIa2bcWwHk8gZDgbRhtm4UoCT7BGEF2
80RZHEQAD0JnRah64B/qAMKfOp4b/PF3qCohgF8+MjHpiAt1E+/e0CL7MCKMml8x
ASH9TEHQF+MDM4VD0J0t5ZPQKen7CvKj84DBjlruOZ9Av5uzokePmudRFd3c7rE0
IVr2Xtz3VFzk0XuqtBbV2YYKVUe23qwVZEHeQGcbvZJDfSyg3F5B/xmU+lySY7FH
usyqv+tzkRos2xTv7SQ91bVk/DP63eZNp1Pjgc2YnmCl5nM5pG4rzMsbN7FGr22D
siMdV96uYw==
=dyrS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: