Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 287037 Details for
Bug 372377
sys-devel/gcc[nls] fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
gentoo372377a.patch (text/plain), 1.51 KB, created by
Martin von Gagern
on 2011-09-19 18:21:09 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2011-09-19 18:21:09 UTC
Size:
1.51 KB
patch
obsolete
>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 > >Index: gcc-4.1.2/libstdc++-v3/po/Makefile.am >=================================================================== >--- 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) >Index: gcc-4.1.2/libstdc++-v3/po/Makefile.in >=================================================================== >--- 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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 372377
:
277609
|
277611
|
277615
|
277617
| 287037