Summary: | sys-devel/gcc-4.2.4 - /usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.2.4/libstdc++.so: undefined reference to `libintl_gettext' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oleh Kravchenko <oleg> |
Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Oleh Kravchenko
2008-11-02 09:52:53 UTC
Created attachment 170523 [details]
emerge --info
localhost ~ # uname -a
Linux localhost 2.6.27 #9 PREEMPT Tue Oct 28 22:06:43 EET 2008 armv5tel XScale-PXA270 rev 7 (v5l) Asus P535 GNU/Linux
I am copy libc-2.7.so from host cross-armv5te-iwmmxt-linux-gnueabi/glibc-2.7-r2 to pda. And it's work. But why native libc-2.7.so don't work? Apparently you need to copy over libintl as well. Or something providing that. > I am copy libc-2.7.so from host cross-armv5te-iwmmxt-linux-gnueabi/glibc-2.7-r2
> to pda. And it's work. But why native libc-2.7.so don't work?
>
I am sorry, I am copy file libstdc++.so.6.0.9 from toolchain :)
About problem linker, I am create libstdc++.so.wrapper:
OUTPUT_FORMAT(elf32-littlearm)
GROUP ( /usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.2.4/libstdc++.so.6.0.9 /usr/lib/libintl.so )
And make soft link ibstdc++.so to libstdc++.so.wrapper
g++ now work fine! :)
May be this is a bug of ebuild gcc?
I wouldn't know. It clearly is beyond the scope of building and installing a Gentoo Linux distro. Portage offers ways to install files to the "live" filesystems which you weren't using, it seems. How would "not having copied an essential file over" be a Gentoo problem? (In reply to comment #6) > I wouldn't know. It clearly is beyond the scope of building and installing a > Gentoo Linux distro. Portage offers ways to install files to the "live" > filesystems which you weren't using, it seems. How would "not having copied an > essential file over" be a Gentoo problem? > The native arm g++ cannot compile the program on pda. I consider it as a problem. *sigh* libstdc++.so should not have linked against libintl/gettext in the first place as that stuff is provided by glibc post full build logs with recent versions of tools ... lafilefixer --justfixit emerge -e world resolve problem |