Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84260 - could not compile media-sound/rosegarden-4.1.0 with gcc version 3.4.3 20050110
Summary: could not compile media-sound/rosegarden-4.1.0 with gcc version 3.4.3 20050110
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High blocker
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 19:40 UTC by Alexey Maximov
Modified: 2005-03-09 13:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emergeinfo.txt,2.71 KB, text/plain)
2005-03-05 19:42 UTC, Alexey Maximov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Maximov 2005-03-05 19:40:51 UTC
/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.
Comment 1 Alexey Maximov 2005-03-05 19:42:11 UTC
Created attachment 52760 [details]
emerge info
Comment 2 Chris White (RETIRED) gentoo-dev 2005-03-07 22:08:24 UTC
You messed with LDFLAGS.  Please unset whatever you have going there and try again.
Comment 3 Alexey Maximov 2005-03-08 02:03:49 UTC
It MUST be compiled with my LDFLAGS
it is normal flags. nothing incorrect


Comment 4 Alexey Maximov 2005-03-08 02:18:33 UTC
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
Comment 5 Alexey Maximov 2005-03-08 02:19:31 UTC
please notify rosegarden developers ?
Comment 6 Alexey Maximov 2005-03-08 02:20:39 UTC
I think there is needed patch for "clean" compilation
Comment 7 Alexey Maximov 2005-03-08 03:37:29 UTC
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
Comment 8 Alexey Maximov 2005-03-08 13:22:39 UTC
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.
Comment 9 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-09 13:49:53 UTC
fixed in cvs, thanks.