bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tests for flower appear to miss instantiations of classes


From: David Kastrup
Subject: Re: tests for flower appear to miss instantiations of classes
Date: Thu, 08 Sep 2011 14:44:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> 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 don't have the error message handy right now, but since this has been
> bugging me on and off for at least a month (basically the only thing
> failing with make check for me) and I have not been able to make any
> progress on figuring out just what to do (spent about a day on it), I
> decided to report this before I forget again.

make[1]: Entering directory `/usr/local/tmp/lilypond/flower'
rm -f ./out/test-file-name.dep; DEPENDENCIES_OUTPUT="./out/test-file-name.dep ./
out/test-file-name.o" g++ -c   -I/usr/include/python2.7 -I/usr/include/python2.7
 -fno-strict-aliasing -g   -g -fwrapv     -DHAVE_CONFIG_H  -DNDEBUG -I./include 
-I./out -I../flower/include -I../flower/./out  -fkeep-inline-functions -fno-cros
sjumping  -O2 -finline-functions -g -pipe -pthread -I/usr/include/freetype2   -p
thread -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
 -I/usr/lib/i386-linux-gnu/glib-2.0/include    -W -Wall -Wconversion -o out/test
-file-name.o test-file-name.cc
In file included from ./include/yaffut-parameters.hh:4:0,
                 from test-file-name.cc:3:
./include/yaffut.hh: In constructor 'yaffut::Test<Suite, Case>::Test() [with Sui
te = File_name, Case = CaseB]':   
test-file-name.cc:11:29:   instantiated from here
./include/yaffut.hh:271:31: warning: variable 'r' set but not used [-Wunused-but
-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Suite, Case>::Test() [with Sui
te = File_name, Case = {anonymous}::Mingw_slashify]':
test-file-name.cc:14:1:   instantiated from here
./include/yaffut.hh:271:31: warning: variable 'r' set but not used [-Wunused-but
-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Suite, Case>::Test() [with Sui
te = File_name, Case = {anonymous}::Mingw_slashify_2]':
test-file-name.cc:20:1:   instantiated from here
./include/yaffut.hh:271:31: warning: variable 'r' set but not used [-Wunused-but
-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Suite, Case>::Test() [with Sui
te = File_name, Case = {anonymous}::Mingw_slashify_3]':
test-file-name.cc:26:1:   instantiated from here
./include/yaffut.hh:271:31: warning: variable 'r' set but not used [-Wunused-but
-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Suite, Case>::Test() [with Sui
te = File_name, Case = {anonymous}::Mingw_slashify_4]':
test-file-name.cc:32:1:   instantiated from here
./include/yaffut.hh:271:31: warning: variable 'r' set but not used [-Wunused-but
-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Suite, Case>::Test() [with Sui
te = File_name, Case = {anonymous}::Canonicalize]':
test-file-name.cc:38:1:   instantiated from here
./include/yaffut.hh:271:31: warning: variable 'r' set but not used [-Wunused-but
-set-variable]
rm -f ./out/test-file-path.dep; DEPENDENCIES_OUTPUT="./out/test-file-path.dep ./
out/test-file-path.o" g++ -c   -I/usr/include/python2.7 -I/usr/include/python2.7
 -fno-strict-aliasing -g   -g -fwrapv     -DHAVE_CONFIG_H  -DNDEBUG -I./include 
-I./out -I../flower/include -I../flower/./out  -fkeep-inline-functions -fno-cros
sjumping  -O2 -finline-functions -g -pipe -pthread -I/usr/include/freetype2   -p
thread -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
 -I/usr/lib/i386-linux-gnu/glib-2.0/include    -W -Wall -Wconversion -o out/test
-file-path.o test-file-path.cc
In file included from test-file-path.cc:5:0:
./include/yaffut.hh: In constructor 'yaffut::Test<Suite, Case>::Test() [with 
Suite = File_path, Case = {anonymous}::Find]':
test-file-path.cc:8:1:   instantiated from here
./include/yaffut.hh:271:31: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
test-file-path.cc: In constructor '{anonymous}::Find::Find()':
test-file-path.cc:13:25: warning: ignoring return value of 'char* getcwd(char*, 
size_t)', declared with attribute warn_unused_result [-Wunused-result]
rm -f ./out/test-std.dep; DEPENDENCIES_OUTPUT="./out/test-std.dep 
./out/test-std.o" g++ -c   -I/usr/include/python2.7 -I/usr/include/python2.7 
-fno-strict-aliasing -g   -g -fwrapv     -DHAVE_CONFIG_H  -DNDEBUG -I./include 
-I./out -I../flower/include -I../flower/./out  -fkeep-inline-functions 
-fno-crossjumping  -O2 -finline-functions -g -pipe -pthread 
-I/usr/include/freetype2   -pthread -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include    -W -Wall -Wconversion -o 
out/test-std.o test-std.cc
In file included from test-std.cc:13:0:
./include/yaffut.hh: In constructor 'yaffut::Test<Case, void>::Test() [with 
Case = {anonymous}::vector_erase]':
test-std.cc:41:1:   instantiated from here
./include/yaffut.hh:295:30: warning: variable 'r' set but not used [-Wunused-but
-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Case, void>::Test() [with 
Case = {anonymous}::vector_sorting]':
test-std.cc:77:1:   instantiated from here
./include/yaffut.hh:295:30: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Case, void>::Test() [with 
Case = {anonymous}::vector_insert]':
test-std.cc:94:1:   instantiated from here
./include/yaffut.hh:295:30: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Case, void>::Test() [with 
Case = {anonymous}::parray_concat]':
test-std.cc:119:1:   instantiated from here
./include/yaffut.hh:295:30: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Case, void>::Test() [with 
Case = {anonymous}::parray_uniq]':
test-std.cc:158:1:   instantiated from here
./include/yaffut.hh:295:30: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
./include/yaffut.hh: In constructor 'yaffut::Test<Case, void>::Test() [with 
Case = {anonymous}::vector_search]':
test-std.cc:169:1:   instantiated from here
./include/yaffut.hh:295:30: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
rm -f ./out/test-string.dep; DEPENDENCIES_OUTPUT="./out/test-string.dep 
./out/test-string.o" g++ -c   -I/usr/include/python2.7 -I/usr/include/python2.7 
-fno-strict-aliasing -g   -g -fwrapv     -DHAVE_CONFIG_H  -DNDEBUG -I./include 
-I./out -I../flower/include -I../flower/./out  -fkeep-inline-functions 
-fno-crossjumping  -O2 -finline-functions -g -pipe -pthread 
-I/usr/include/freetype2   -pthread -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include    -W -Wall -Wconversion -o 
out/test-string.o test-string.cc
In file included from test-string.cc:8:0:
./include/yaffut.hh: In constructor 'yaffut::Test<Case, void>::Test() [with 
Case = {anonymous}::string_split_join]':
test-string.cc:16:1:   instantiated from here
./include/yaffut.hh:295:30: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
make -C ../flower &&  true
make[2]: Entering directory `/usr/local/tmp/lilypond/flower'
make PACKAGE=LILYPOND package=lilypond -C include all && true
make[3]: Entering directory `/usr/local/tmp/lilypond/flower/include'
true
make[3]: Leaving directory `/usr/local/tmp/lilypond/flower/include'
make[2]: Leaving directory `/usr/local/tmp/lilypond/flower'
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.6/cxxabi.h:618: undefined reference to `vtable for 
__gnu_cxx::recursive_init_error'
collect2: ld returned 1 exit status
make[1]: *** [out/test-flower] Error 1
make[1]: Leaving directory `/usr/local/tmp/lilypond/flower'
make: *** [check] Error 2

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]