[Bug libstdc++/56779] [4.8/4.9 Regression] libstdc++.so: undefined reference to `libintl_textdomain'
fragabr at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 20 19:24:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list