From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DCA3B138359 for ; Sat, 18 Jul 2020 16:23:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA3B6E088C; Sat, 18 Jul 2020 16:23:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF0E9E088C for ; Sat, 18 Jul 2020 16:23:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6694634EF93 for ; Sat, 18 Jul 2020 16:23:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5532A9C for ; Sat, 18 Jul 2020 16:23:17 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1595089382.35cb82bd164e19b0b37a90b1a62da71dd4ddd950.dilfridge@gentoo> Subject: [gentoo-commits] proj/toolchain/glibc-patches:master commit in: 9999/ X-VCS-Repository: proj/toolchain/glibc-patches X-VCS-Files: 9999/0100-Fix-miscompilation-on-ia64-s-gcc-10.patch X-VCS-Directories: 9999/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 35cb82bd164e19b0b37a90b1a62da71dd4ddd950 X-VCS-Branch: master Date: Sat, 18 Jul 2020 16:23:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef85ee8b-baf3-4fd8-a470-644922dfef43 X-Archives-Hash: afcab72072ef9337dc76d400f0cb1e3b commit: 35cb82bd164e19b0b37a90b1a62da71dd4ddd950 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Jul 18 16:22:30 2020 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Jul 18 16:23:02 2020 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/glibc-patches.git/commit/?id=35cb82bd Add ia64 gcc-10 miscompilation fix; didn't go anywhere upstream yet Signed-off-by: Andreas K. Hüttel gentoo.org> .../0100-Fix-miscompilation-on-ia64-s-gcc-10.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/9999/0100-Fix-miscompilation-on-ia64-s-gcc-10.patch b/9999/0100-Fix-miscompilation-on-ia64-s-gcc-10.patch new file mode 100644 index 0000000..45ce958 --- /dev/null +++ b/9999/0100-Fix-miscompilation-on-ia64-s-gcc-10.patch @@ -0,0 +1,32 @@ +From 902100a88969641673e91408ff41352d08fa2aa7 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Sat, 11 Jul 2020 20:06:51 +0300 +Subject: [PATCH] Fix miscompilation on ia64's gcc-10 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Bug: https://bugs.gentoo.org/723268 +Signed-off-by: Andreas K. Hüttel +--- + sysdeps/unix/sysv/linux/ia64/dl-sysdep.h | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h b/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h +index 78fa6dd2c9..e526e02ff4 100644 +--- a/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h ++++ b/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h +@@ -32,7 +32,9 @@ + #ifndef __ASSEMBLER__ + /* Don't declare this as a function---we want it's entry-point, not + it's function descriptor... */ +-extern int _dl_sysinfo_break attribute_hidden; ++/* Use section ".text" to force far GPREL64 relocation instead of ++ GPREL22 . */ ++extern int _dl_sysinfo_break attribute_hidden __attribute__((section(".text"))); + # define DL_SYSINFO_DEFAULT ((uintptr_t) &_dl_sysinfo_break) + # define DL_SYSINFO_IMPLEMENTATION \ + asm (".text\n\t" \ +-- +2.26.2 +