From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B712413877A for ; Tue, 17 Jun 2014 02:26:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91EAFE0978; Tue, 17 Jun 2014 02:26:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 122CFE0978 for ; Tue, 17 Jun 2014 02:26:53 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3EDCE3400D5 for ; Tue, 17 Jun 2014 02:26:52 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2145) id 0272A2004F; Tue, 17 Jun 2014 02:26:50 +0000 (UTC) From: "Ryan Hill (rhill)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, rhill@gentoo.org Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/4.7.4/gentoo: 20_all_msgfmt-libstdc++-link.patch README.history X-VCS-Repository: gentoo X-VCS-Files: 20_all_msgfmt-libstdc++-link.patch README.history X-VCS-Directories: src/patchsets/gcc/4.7.4/gentoo X-VCS-Committer: rhill X-VCS-Committer-Name: Ryan Hill Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20140617022651.0272A2004F@flycatcher.gentoo.org> Date: Tue, 17 Jun 2014 02:26:50 +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: 13c5566e-7e3d-4672-9f71-694b4a2c89a6 X-Archives-Hash: 2fbc925d15ec8284c9cc0c5567fba294 rhill 14/06/17 02:26:50 Modified: README.history Added: 20_all_msgfmt-libstdc++-link.patch Log: Add patch by Martin von Gagern for bug #372377. Revision Changes Path 1.2 src/patchsets/gcc/4.7.4/gentoo/README.history file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history?r1=1.1&r2=1.2 Index: README.history =================================================================== RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.7.4/gentoo/README.history,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- README.history 17 Jun 2014 01:47:24 -0000 1.1 +++ README.history 17 Jun 2014 02:26:50 -0000 1.2 @@ -7,6 +7,7 @@ + 16_all_libgo-Werror-pr53679.patch + 17_all_libitm-Werror.patch + 18_all_libgcc-cross-canadian.patch + + 20_all_msgfmt-libstdc++-link.patch + 25_all_alpha-mieee-default.patch + 26_all_alpha-asm-mcpu.patch + 29_all_arm_armv4t-default.patch 1.1 src/patchsets/gcc/4.7.4/gentoo/20_all_msgfmt-libstdc++-link.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/20_all_msgfmt-libstdc++-link.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.7.4/gentoo/20_all_msgfmt-libstdc++-link.patch?rev=1.1&content-type=text/plain Index: 20_all_msgfmt-libstdc++-link.patch =================================================================== Ensure that msgfmt doesn't encounter problems during gcc bootstrapping. Solves error messages like the following: msgfmt: /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6) The libgcc_s.so used during build doesn't satisfy the needs of the libstdc++.so that msgfmt is linked against. On the other hand, msgfmt is used as a stand-alone application here, and what library it uses behind the scenes is of no concern to the gcc build process. Therefore, simply invoking it "as usual", i.e. without any special library path, will make it work as expected here. 2011-09-19 Martin von Gagern References: https://bugs.gentoo.org/372377 https://bugs.gentoo.org/295480 --- gcc-4.1.2.orig/libstdc++-v3/po/Makefile.am +++ gcc-4.1.2/libstdc++-v3/po/Makefile.am @@ -39,6 +39,7 @@ MSGFMT = msgfmt EXTRA_DIST = string_literals.cc POTFILES.in $(PACKAGE).pot $(LOCALE_IN) .po.mo: + env --unset=LD_LIBRARY_PATH \ $(MSGFMT) -o $@ $< all-local: all-local-$(USE_NLS) --- gcc-4.1.2.orig/libstdc++-v3/po/Makefile.in +++ gcc-4.1.2/libstdc++-v3/po/Makefile.in @@ -419,6 +419,7 @@ uninstall-am: uninstall-info-am .po.mo: + env --unset=LD_LIBRARY_PATH \ $(MSGFMT) -o $@ $< all-local: all-local-$(USE_NLS)