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 882A9138334 for ; Sat, 29 Sep 2018 20:31:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F019E083E; Sat, 29 Sep 2018 20:31:31 +0000 (UTC) Received: from smtp.gentoo.org (unknown [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 F03B5E083E for ; Sat, 29 Sep 2018 20:31:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2104E335CF2 for ; Sat, 29 Sep 2018 20:31:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 251E53CB for ; Sat, 29 Sep 2018 20:31:07 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1538253002.8cc4d3b9a21d903a0516b9595c365c5b6fba386e.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 3.4.6/gentoo/92_all_libtool-pass-all.patch 3.4.6/gentoo/README.history X-VCS-Directories: 3.4.6/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8cc4d3b9a21d903a0516b9595c365c5b6fba386e X-VCS-Branch: master Date: Sat, 29 Sep 2018 20:31:07 +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-Archives-Salt: 649e9de7-0084-4a83-b650-4e60c28d433e X-Archives-Hash: 50bf70d32acfb6eeca1014ceb5c008b3 commit: 8cc4d3b9a21d903a0516b9595c365c5b6fba386e Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Sep 29 20:30:02 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 29 20:30:02 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=8cc4d3b9 3.4.6: add 92_all_libtool-pass-all.patch Fix stared library detection by libtool. Before the patch libtool was not able to see through linker scripts and rejected -lc and -lm existence. Signed-off-by: Sergei Trofimovich gentoo.org> 3.4.6/gentoo/92_all_libtool-pass-all.patch | 170 +++++++++++++++++++++++++++++ 3.4.6/gentoo/README.history | 1 + 2 files changed, 171 insertions(+) diff --git a/3.4.6/gentoo/92_all_libtool-pass-all.patch b/3.4.6/gentoo/92_all_libtool-pass-all.patch new file mode 100644 index 0000000..27d493f --- /dev/null +++ b/3.4.6/gentoo/92_all_libtool-pass-all.patch @@ -0,0 +1,170 @@ +Unbreak libc and libm detection by libtool when those +are linker scripts: use file presence as a signal, +not the output of 'file' command on linux-gnu*. + +Backport of upstream patch: + +From 7f93fe7a469fb4d342d90736e801fcafb23b5a8b Mon Sep 17 00:00:00 2001 +From: kcook +Date: Wed, 24 Nov 2004 22:04:38 +0000 +Subject: [PATCH] 2004-11-24 Kelley Cook + + * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case + from CVS libtool to always pass_all. + * boehm-gc/configure: Regenerate. + * libffi/configure: Regenerate. + * libgfortran/configure: Regenerate. + * libjava/configure: Regenerate. + * libobjc/configure: Regenerate. + * libstdc++-v3/configure: Regenerate. + * zlib/configure: Regenerate. + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91200 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + ChangeLog | 5 + + boehm-gc/ChangeLog | 4 + + boehm-gc/configure | 11 +- + libffi/ChangeLog | 4 + + libffi/configure | 11 +- + libgfortran/ChangeLog | 4 + + libgfortran/configure | 13 +- + libjava/ChangeLog | 4 + + libjava/aclocal.m4 | 2 +- + libjava/configure | 322 +++++++++++++++++++++++++---------------- + libobjc/ChangeLog | 4 + + libobjc/configure | 13 +- + libstdc++-v3/ChangeLog | 4 + + libstdc++-v3/configure | 13 +- + libtool.m4 | 9 +- + zlib/ChangeLog.gcj | 4 + + zlib/configure | 11 +- + 17 files changed, 249 insertions(+), 189 deletions(-) + +--- a/boehm-gc/configure ++++ b/boehm-gc/configure +@@ -4317,14 +4317,7 @@ irix5* | irix6*) + + # This must be Linux ELF. + linux-gnu*) +- case $host_cpu in +- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) +- lt_cv_deplibs_check_method=pass_all ;; +- *) +- # glibc up to 2.1.1 does not perform some relocations on ARM +- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; +- esac +- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ++ lt_cv_deplibs_check_method=pass_all + ;; + + netbsd* | knetbsd*-gnu) +--- a/libffi/configure ++++ b/libffi/configure +@@ -3454,14 +3454,7 @@ irix5* | irix6*) + + # This must be Linux ELF. + linux-gnu*) +- case $host_cpu in +- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) +- lt_cv_deplibs_check_method=pass_all ;; +- *) +- # glibc up to 2.1.1 does not perform some relocations on ARM +- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; +- esac +- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ++ lt_cv_deplibs_check_method=pass_all + ;; + + netbsd* | knetbsd*-gnu) +--- a/libjava/configure ++++ b/libjava/configure +@@ -4337,14 +4347,7 @@ irix5* | irix6*) + + # This must be Linux ELF. + linux-gnu*) +- case $host_cpu in +- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) +- lt_cv_deplibs_check_method=pass_all ;; +- *) +- # glibc up to 2.1.1 does not perform some relocations on ARM +- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; +- esac +- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ++ lt_cv_deplibs_check_method=pass_all + ;; + + netbsd* | knetbsd*-gnu) +--- a/libobjc/configure ++++ b/libobjc/configure +@@ -3269,14 +3269,7 @@ irix5* | irix6*) + + # This must be Linux ELF. + linux-gnu*) +- case $host_cpu in +- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) +- lt_cv_deplibs_check_method=pass_all ;; +- *) +- # glibc up to 2.1.1 does not perform some relocations on ARM +- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; +- esac +- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ++ lt_cv_deplibs_check_method=pass_all + ;; + + netbsd* | knetbsd*-gnu) +index e87d8b27130..0024e82faa2 100755 +--- a/libstdc++-v3/configure ++++ b/libstdc++-v3/configure +@@ -3995,14 +3995,7 @@ irix5* | irix6*) + + # This must be Linux ELF. + linux-gnu*) +- case $host_cpu in +- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) +- lt_cv_deplibs_check_method=pass_all ;; +- *) +- # glibc up to 2.1.1 does not perform some relocations on ARM +- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; +- esac +- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ++ lt_cv_deplibs_check_method=pass_all + ;; + + netbsd* | knetbsd*-gnu) +--- a/libtool.m4 ++++ b/libtool.m4 +@@ -679,14 +679,7 @@ irix5* | irix6*) + + # This must be Linux ELF. + linux-gnu*) +- case $host_cpu in +- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) +- lt_cv_deplibs_check_method=pass_all ;; +- *) +- # glibc up to 2.1.1 does not perform some relocations on ARM +- lt_cv_deplibs_check_method=['file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'] ;; +- esac +- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ++ lt_cv_deplibs_check_method=pass_all + ;; + + netbsd* | knetbsd*-gnu) +--- a/zlib/configure ++++ b/zlib/configure +@@ -3423,14 +3423,7 @@ irix5* | irix6*) + + # This must be Linux ELF. + linux-gnu*) +- case $host_cpu in +- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) +- lt_cv_deplibs_check_method=pass_all ;; +- *) +- # glibc up to 2.1.1 does not perform some relocations on ARM +- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; +- esac +- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ++ lt_cv_deplibs_check_method=pass_all + ;; + + netbsd* | knetbsd*-gnu) diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history index a2e067e..15cf5c5 100644 --- a/3.4.6/gentoo/README.history +++ b/3.4.6/gentoo/README.history @@ -1,6 +1,7 @@ 1.9 [pending] - 00_all_gcc-trampolinewarn.patch + 91_all_ucontext-to-ucontext_t.patch + + 92_all_libtool-pass-all.patch 1.8 06 Apr 2015 + 10_all_gcc-3.4.6-c-parse-bison-3.patch