Am Donnerstag, 8. September 2011, 14:13:12 schrieb David Kastrup: > When configured with > > ./configure CXXFLAGS=-fkeep-inline-functions > > (which does not optimize unused functions away) > > make test fails in the flower subdirectory in the linking stage with > quite inscrutable error messages.
I'm able to reproduce this (with "./configure CXXFLAGS=-fkeep-inline-functions --disable-optimising"). If I do "cd flower; make clean; make test", I get the following error: g++ -o out/test-flower ./out/test-file-name.o ./out/test-file-path.o ./out/test-std.o ./out/test-string.o ./out/../../flower/out/library.a ./out/test-file-name.o: In function `recursive_init_error': /usr/include/c++/4.5/cxxabi.h:623: undefined reference to `vtable for __gnu_cxx::recursive_init_error' collect2: ld returned 1 exit status make: *** [out/test-flower] Fehler 1 A quick google search for the error message brings this up: http://www.daniweb.com/software-development/cpp/threads/114299 http://gcc.gnu.org/faq.html#vtables The problem appears to be in flower/include/yaffut.hh, because if I strop down test-file-name.cc to only include that file (instead of yaffuf-parameters.hh) and remove all other code there, I still get the linker error... Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
