Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578434

Summary: gcc's libstdc++.so will have undefined symbols if dev-libs/libintl installed
Product: Gentoo Linux Reporter: Alexey Shvetsov <alexxy>
Component: [OLD] Core systemAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 574822    
Bug Blocks:    

Description Alexey Shvetsov archtester gentoo-dev 2016-03-28 08:38:02 UTC
Recent changes to virtula/libintl on prefix now pull dev-libs/libintl to dep tree.
This lead to troubles if you build/rebuild gcc no matter what version it is, and does nls flag set or not. However if i unmerge libintl and build gcc with --nodeps it works fine and dont have unresolved symbols

$ ldd -r ~/prefix/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so
undefined symbol: libintl_gettext	(/home/alexxy/prefix/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so)
undefined symbol: libintl_textdomain	(/home/alexxy/prefix/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so)
undefined symbol: libintl_bindtextdomain	(/home/alexxy/prefix/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so)
	linux-vdso.so.1 =>  (0x00007fffe8dfe000)
	libm.so.6 => /usr/lib64/libm.so.6 (0x00002b3a9e3c6000)
	libc.so.6 => /usr/lib64/libc.so.6 (0x00002b3a9e6c8000)
	/lib64/ld-linux-x86-64.so.2 (0x00002b3a9de9e000)
	libgcc_s.so.1 => /home/alexxy/prefix/usr/x86_64-pc-linux-gnu/lib/gcc/libgcc_s.so.1 (0x00002b3a9ea89000)

Reproducible: Always
Comment 1 Alexey Shvetsov archtester gentoo-dev 2016-03-28 08:40:18 UTC
Bug looks similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56779
Comment 2 Fabian Groffen gentoo-dev 2016-04-20 07:50:46 UTC
I'm wondering if this would be fixed by Michael's fix from bug #574822.
Comment 3 Fabian Groffen gentoo-dev 2016-04-25 12:46:44 UTC
This appears fixed on my recent bootstrap on RHEL 6.5