Andreas Enge <andr...@enge.fr> writes:
> The error message is: > [228/274] Compiling example-clients/simdtests.cpp > ... > [243/274] Linking build/example-clients/jack_simdtests > ... > ld: example-clients/simdtests.cpp.28.o: undefined reference to symbol > '__gxx_personality_v0@@CXXABI_1.3' > ld: > /gnu/store/9xmlrmk7vnlzwq5049500r9lrcf6ikqq-gcc-7.5.0-lib/lib/libstdc++.so.6: > error adding symbols: DSO missing from command line > collect2: error: ld returned 1 exit status > ... > Waf: Leaving directory `/tmp/guix-build-jack2-1.9.13.drv-0/jack2-1.9.13/build' > Build failed > -> task in 'jack_simdtests' failed with exit status 1 (run with -v to > display more information) > command "python" "waf" "build" failed with status 1 > > Following the advice and running "python waf build -v", the executed gcc > command is printed: > Build failed > -> task in 'jack_simdtests' failed with exit status 1: > {task 281472893294736: cprogram simdtests.cpp.28.o -> jack_simdtests} > ['/gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc', > '-Wl,-rpath=/gnu/store/bwmp037cg6gfz31j9q441j800mvk7wva-jack2-1.9.13/lib', > 'example-clients/simdtests.cpp.28.o', > '-o/tmp/guix-build-jack2-1.9.13.drv-0/jack2-1.9.13/build/example-clients/jack_simdtests', > '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lcommon', > '-L/gnu/store/zwrg5jwyj1222vyjdpmppijzhz04sqid-opus-1.3.1/lib', > '-L/gnu/store/mpm43myhw7difa8p3a9xnag3zb6pnn4b-dbus-1.12.16/lib', '-ljack', > '-lpthread', '-lopus', '-ldb', '-lrt', '-ldl', '-ldbus-1', '-lm'] > > Andreas undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3 looks like a potentially gcc flag order issues. Seems -lstdc++ should be at the end of the g++ command invocation. I'll see if I'll have time today to look into this more. Mike