Hello community,

here is the log from the commit of package gcc10 for openSUSE:Factory checked 
in at 2020-11-23 15:36:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc10 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc10.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc10"

Mon Nov 23 15:36:39 2020 rev:9 rq:849355 version:10.2.1+git958

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc10/cross-aarch64-gcc10.changes        
2020-11-03 15:15:29.831978350 +0100
+++ /work/SRC/openSUSE:Factory/.gcc10.new.5913/cross-aarch64-gcc10.changes      
2020-11-23 18:42:17.236858326 +0100
@@ -1,0 +2,18 @@
+Thu Nov 19 08:34:33 UTC 2020 - Richard Biener <rguent...@suse.com>
+
+- Add gcc10-amdgcn-llvm-as.patch to fix build of amdgcn offload
+  compiler with llvm11.
+
+-------------------------------------------------------------------
+Tue Nov 17 10:39:16 UTC 2020 - Richard Biener <rguent...@suse.com>
+
+- Update to gcc-10 branch head (98ba03ffe0b9f37b4916ce6238), git958.
+  * Includes fix for memcpy miscompilation on aarch64.
+    [bsc#1178624, bsc#1178577]
+
+-------------------------------------------------------------------
+Wed Nov 11 15:20:35 UTC 2020 - Richard Biener <rguent...@suse.com>
+
+- Fix 32bit libgnat.so link.  [bsc#1178675]
+
+-------------------------------------------------------------------
cross-amdgcn-gcc10.changes: same change
cross-arm-gcc10.changes: same change
cross-arm-none-gcc10-bootstrap.changes: same change
cross-arm-none-gcc10.changes: same change
cross-avr-gcc10-bootstrap.changes: same change
cross-avr-gcc10.changes: same change
cross-epiphany-gcc10-bootstrap.changes: same change
cross-epiphany-gcc10.changes: same change
cross-hppa-gcc10.changes: same change
cross-i386-gcc10.changes: same change
cross-m68k-gcc10.changes: same change
cross-mips-gcc10.changes: same change
cross-nvptx-gcc10.changes: same change
cross-ppc64-gcc10.changes: same change
cross-ppc64le-gcc10.changes: same change
cross-riscv64-elf-gcc10-bootstrap.changes: same change
cross-riscv64-elf-gcc10.changes: same change
cross-riscv64-gcc10.changes: same change
cross-rx-gcc10-bootstrap.changes: same change
cross-rx-gcc10.changes: same change
cross-s390x-gcc10.changes: same change
cross-sparc-gcc10.changes: same change
cross-sparc64-gcc10.changes: same change
cross-x86_64-gcc10.changes: same change
gcc10-testresults.changes: same change
gcc10.changes: same change

Old:
----
  gcc-10.2.1+git872.tar.xz

New:
----
  gcc-10.2.1+git958.tar.xz
  gcc10-amdgcn-llvm-as.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cross-aarch64-gcc10.spec ++++++
--- /var/tmp/diff_new_pack.W2LqLD/_old  2020-11-23 18:42:58.228900953 +0100
+++ /var/tmp/diff_new_pack.W2LqLD/_new  2020-11-23 18:42:58.232900957 +0100
@@ -113,7 +113,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        10.2.1+git872
+Version:        10.2.1+git958
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -136,6 +136,7 @@
 Patch15:        gcc7-avoid-fixinc-error.diff
 Patch16:        gcc9-reproducible-builds.patch
 Patch17:        gcc9-reproducible-builds-buildid-for-checksum.patch
+Patch18:        gcc10-amdgcn-llvm-as.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 Patch52:        gcc10-foffload-default.patch
@@ -299,6 +300,9 @@
 %patch15
 %patch16
 %patch17 -p1
+%if "%{TARGET_ARCH}" == "amdgcn"
+%patch18 -p1
+%endif
 %patch51
 %patch52
 %patch60

cross-amdgcn-gcc10.spec: same change
cross-arm-gcc10.spec: same change
cross-arm-none-gcc10-bootstrap.spec: same change
cross-arm-none-gcc10.spec: same change
cross-avr-gcc10-bootstrap.spec: same change
cross-avr-gcc10.spec: same change
cross-epiphany-gcc10-bootstrap.spec: same change
cross-epiphany-gcc10.spec: same change
cross-hppa-gcc10.spec: same change
cross-i386-gcc10.spec: same change
cross-m68k-gcc10.spec: same change
cross-mips-gcc10.spec: same change
cross-nvptx-gcc10.spec: same change
cross-ppc64-gcc10.spec: same change
cross-ppc64le-gcc10.spec: same change
cross-riscv64-elf-gcc10-bootstrap.spec: same change
cross-riscv64-elf-gcc10.spec: same change
cross-riscv64-gcc10.spec: same change
cross-rx-gcc10-bootstrap.spec: same change
cross-rx-gcc10.spec: same change
cross-s390x-gcc10.spec: same change
cross-sparc-gcc10.spec: same change
cross-sparc64-gcc10.spec: same change
cross-x86_64-gcc10.spec: same change
gcc10-testresults.spec: same change
++++++ gcc10.spec ++++++
--- /var/tmp/diff_new_pack.W2LqLD/_old  2020-11-23 18:42:58.832901581 +0100
+++ /var/tmp/diff_new_pack.W2LqLD/_new  2020-11-23 18:42:58.836901585 +0100
@@ -259,7 +259,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        10.2.1+git872
+Version:        10.2.1+git958
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -317,6 +317,7 @@
 Patch15:        gcc7-avoid-fixinc-error.diff
 Patch16:        gcc9-reproducible-builds.patch
 Patch17:        gcc9-reproducible-builds-buildid-for-checksum.patch
+Patch18:        gcc10-amdgcn-llvm-as.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 Patch52:        gcc10-foffload-default.patch
@@ -1802,6 +1803,9 @@
 %patch15
 %patch16
 %patch17 -p1
+%if "%{TARGET_ARCH}" == "amdgcn"
+%patch18 -p1
+%endif
 %patch51
 %patch52
 %patch60
@@ -2373,7 +2377,7 @@
 %if %{biarch}
 mv %{buildroot}/%{versmainlibdirbi}/adalib/lib*-*.so 
%{buildroot}/%{mainlibdirbi}/
 ln -sf %{mainlibdirbi}/libgnarl%{binsuffix}.so 
%{buildroot}/%{versmainlibdirbi}/adalib/libgnarl.so
-ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so 
%{buildroot}/%{versmainlibdirbi}/adalib/libgnarl.so
+ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so 
%{buildroot}/%{versmainlibdirbi}/adalib/libgnat.so
 chmod a+x %{buildroot}/%{mainlibdirbi}/libgna*-*.so
 %endif
 %endif

++++++ gcc-10.2.1+git872.tar.xz -> gcc-10.2.1+git958.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc10/gcc-10.2.1+git872.tar.xz 
/work/SRC/openSUSE:Factory/.gcc10.new.5913/gcc-10.2.1+git958.tar.xz differ: 
char 15, line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.W2LqLD/_old  2020-11-23 18:42:59.004901760 +0100
+++ /var/tmp/diff_new_pack.W2LqLD/_new  2020-11-23 18:42:59.004901760 +0100
@@ -263,7 +263,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          https://gcc.gnu.org/
-Version: 10.2.1+git872
+Version: 10.2.1+git958
 Release:      1
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -323,6 +323,7 @@
 Patch15:       gcc7-avoid-fixinc-error.diff
 Patch16:       gcc9-reproducible-builds.patch
 Patch17:       gcc9-reproducible-builds-buildid-for-checksum.patch
+Patch18:       gcc10-amdgcn-llvm-as.patch
 # A set of patches from the RH srpm
 Patch51:       gcc41-ppc32-retaddr.patch
 Patch52:       gcc10-foffload-default.patch
@@ -1080,6 +1081,9 @@
 %patch15
 %patch16
 %patch17 -p1
+%if "%{TARGET_ARCH}" == "amdgcn"
+%patch18 -p1
+%endif
 %patch51
 %patch52
 %patch60
@@ -1654,7 +1658,7 @@
 %if %{biarch}
 mv %{buildroot}/%{versmainlibdirbi}/adalib/lib*-*.so 
%{buildroot}/%{mainlibdirbi}/
 ln -sf %{mainlibdirbi}/libgnarl%{binsuffix}.so 
%{buildroot}/%{versmainlibdirbi}/adalib/libgnarl.so
-ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so 
%{buildroot}/%{versmainlibdirbi}/adalib/libgnarl.so
+ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so 
%{buildroot}/%{versmainlibdirbi}/adalib/libgnat.so
 chmod a+x %{buildroot}/%{mainlibdirbi}/libgna*-*.so
 %endif
 %endif

++++++ gcc10-amdgcn-llvm-as.patch ++++++
varasm.c: Always output flags in merged .section for LLVM assembler 
compatibility [PR97827]

For compatibility with LLVM 11's 'mc' assembler, the flags have to be
repeated every time. See also LLVM Bug 48201 for this issue and
https://reviews.llvm.org/D73999 for the patch causing the issue.

gcc/
        PR target/97827
        * varasm.c (default_elf_asm_named_section): Always output all
        flags if SECTION_MERGE, even if already declared before.

diff --git a/gcc/varasm.c b/gcc/varasm.c
index ada99940f65..51a507393a8 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -6738,9 +6738,11 @@ default_elf_asm_named_section (const char *name, 
unsigned int flags,
   /* If we have already declared this section, we can use an
      abbreviated form to switch back to it -- unless this section is
      part of a COMDAT groups, in which case GAS requires the full
-     declaration every time.  */
+     declaration every time.  LLVM's MC linker requires that the
+     flags are identical, thus avoid the abbreviated form with MERGE.  */
   if (!(HAVE_COMDAT_GROUP && (flags & SECTION_LINKONCE))
-      && (flags & SECTION_DECLARED))
+      && (flags & SECTION_DECLARED)
+      && !(flags & SECTION_MERGE))
     {
       fprintf (asm_out_file, "\t.section\t%s\n", name);
       return;
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to