This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/56779] [4.8/4.9 Regression] libstdc++.so: undefined reference to `libintl_textdomain'
- From: "fragabr at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Jan 2014 19:24:21 +0000
- Subject: [Bug libstdc++/56779] [4.8/4.9 Regression] libstdc++.so: undefined reference to `libintl_textdomain'
- Auto-submitted: auto-generated
- References: <bug-56779-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56779
--- Comment #14 from DÃniel Fraga <fragabr at gmail dot com> ---
(In reply to Jonathan Wakely from comment #12)
> So I need to know which GNU/Linux distro you are using, and why it does not
> provide textdomain in glibc.
Hi Jonathan:
1) I'm using a customized installation, more like Linux from scratch (remember
that everything worked fine before gcc 4.8.0)
2) Regarding libintl.h, I have from both glibc and gettext:
/usr/include/libintl.h (glibc)
/usr/local/include/libintl.h (gettext)
3) g++ -E -x c++ - <<< '#include <libintl.h>' | head
# 1 "<stdin>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "<stdin>"
# 1 "/usr/local/include/libintl.h" 1 3
# 20 "/usr/local/include/libintl.h" 3
# 1 "/usr/include/locale.h" 1 3 4
# 25 "/usr/include/locale.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
4) which msgfmt
/usr/local/bin/msgfmt
5) I tested the patch and it didn't work. Same problem:
/usr/local/lib64/libstdc++.so: undefined reference to `libintl_gettext'
/usr/local/lib64/libstdc++.so: undefined reference to `libintl_textdomain'
/usr/local/lib64/libstdc++.so: undefined reference to
`libintl_bindtextdomain'
collect2: error: ld returned 1 exit status
***********
Any other hints? Just ask and I'll test anything you want. Thanks.