/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -DRGKDE3 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=i686 -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new-fno-common -fno-gcse -fexceptions -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -o libRosegardenSequencer.la -rpath /usr/lib -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/lib -module -no-undefined AlsaDriver.lo AlsaPort.lo JackDriver.lo PlayableAudioFile.lo SoundDriver.lo SoundDriverFactory.lo -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread libRosegardenSound.la ../base/libbase.la -lasound -lm -ldl -lpthread-ljack -lmad -llrdf -lrt /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: .libs/PlayableAudioFile.o(.text+0x1d98): unresolvable relocation against symbol `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@@GLIBCXX_3.4' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[2]: *** [libRosegardenSequencer.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/rosegarden-4.1.0/work/rosegarden-4-1.0/sound' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rosegarden-4.1.0/work/rosegarden-4-1.0' make: *** [all] Error 2 !!! ERROR: media-sound/rosegarden-4.1.0 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 52760 [details] emerge info
You messed with LDFLAGS. Please unset whatever you have going there and try again.
It MUST be compiled with my LDFLAGS it is normal flags. nothing incorrect
SAME w/o LDFLAGS /bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -DRGKDE3 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=i686 -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new-fno-common -fno-gcse -fexceptions -o libRosegardenSequencer.la -rpath /usr/lib -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/lib -module -no-undefined AlsaDriver.lo AlsaPort.lo JackDriver.loPlayableAudioFile.lo SoundDriver.lo SoundDriverFactory.lo -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread libRosegardenSound.la ../base/libbase.la -lasound -lm -ldl -lpthread -ljack -lmad -llrdf -lrt /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: .libs/PlayableAudioFile.o(.text+0x1d98): unresolvable relocation against symbol `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@@GLIBCXX_3.4' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[2]: *** [libRosegardenSequencer.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/rosegarden-4.1.0/work/rosegarden-4-1.0/sound' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rosegarden-4.1.0/work/rosegarden-4-1.0' make: *** [all] Error 2
please notify rosegarden developers ?
I think there is needed patch for "clean" compilation
the version FROM CVS compiled well w/o any errors with MY LDFLAGS you have to update ebuild in portage that will be referred to latest version of rosegarden CU
ok, I found what was a problem. The ebuild must strip flag -fvisibility-inlines-hidden from CXXFLAGS please fix current ebuild, and please, notify developers about incompatibility with this flag. Thanks.
fixed in cvs, thanks.