1 |
blueness 15/02/10 00:39:38 |
2 |
|
3 |
Modified: README.history |
4 |
Added: 20_all_msgfmt-libstdc++-link.patch |
5 |
Log: |
6 |
Add 20_all_msgfmt-libstdc++-link.patch from 4.7.4 to 4.8.4 and 4.9.2 |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 src/patchsets/gcc/4.8.4/gentoo/README.history |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.4/gentoo/README.history?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.4/gentoo/README.history?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.4/gentoo/README.history?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: README.history |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.8.4/gentoo/README.history,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- README.history 26 Dec 2014 20:41:26 -0000 1.1 |
22 |
+++ README.history 10 Feb 2015 00:39:38 -0000 1.2 |
23 |
@@ -1,3 +1,6 @@ |
24 |
+1.1 09 Feb 2015 |
25 |
+ + 20_all_msgfmt-libstdc++-link.patch |
26 |
+ |
27 |
1.0 26 Dec 2014 |
28 |
+ 09_all_default-ssp.patch |
29 |
+ 10_all_default-fortify-source.patch |
30 |
|
31 |
|
32 |
|
33 |
1.1 src/patchsets/gcc/4.8.4/gentoo/20_all_msgfmt-libstdc++-link.patch |
34 |
|
35 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.4/gentoo/20_all_msgfmt-libstdc++-link.patch?rev=1.1&view=markup |
36 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.4/gentoo/20_all_msgfmt-libstdc++-link.patch?rev=1.1&content-type=text/plain |
37 |
|
38 |
Index: 20_all_msgfmt-libstdc++-link.patch |
39 |
=================================================================== |
40 |
Ensure that msgfmt doesn't encounter problems during gcc bootstrapping. |
41 |
|
42 |
Solves error messages like the following: |
43 |
|
44 |
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) |
45 |
|
46 |
The libgcc_s.so used during build doesn't satisfy the needs of the |
47 |
libstdc++.so that msgfmt is linked against. On the other hand, msgfmt |
48 |
is used as a stand-alone application here, and what library it uses |
49 |
behind the scenes is of no concern to the gcc build process. |
50 |
Therefore, simply invoking it "as usual", i.e. without any special |
51 |
library path, will make it work as expected here. |
52 |
|
53 |
2011-09-19 Martin von Gagern |
54 |
|
55 |
References: |
56 |
https://bugs.gentoo.org/372377 |
57 |
https://bugs.gentoo.org/295480 |
58 |
|
59 |
--- gcc-4.1.2.orig/libstdc++-v3/po/Makefile.am |
60 |
+++ gcc-4.1.2/libstdc++-v3/po/Makefile.am |
61 |
@@ -39,6 +39,7 @@ MSGFMT = msgfmt |
62 |
EXTRA_DIST = string_literals.cc POTFILES.in $(PACKAGE).pot $(LOCALE_IN) |
63 |
|
64 |
.po.mo: |
65 |
+ env --unset=LD_LIBRARY_PATH \ |
66 |
$(MSGFMT) -o $@ $< |
67 |
|
68 |
all-local: all-local-$(USE_NLS) |
69 |
--- gcc-4.1.2.orig/libstdc++-v3/po/Makefile.in |
70 |
+++ gcc-4.1.2/libstdc++-v3/po/Makefile.in |
71 |
@@ -419,6 +419,7 @@ uninstall-am: uninstall-info-am |
72 |
|
73 |
|
74 |
.po.mo: |
75 |
+ env --unset=LD_LIBRARY_PATH \ |
76 |
$(MSGFMT) -o $@ $< |
77 |
|
78 |
all-local: all-local-$(USE_NLS) |