I’m using this docker image with latest master (as well as v1.3.1) https://github.com/stephwag/pytorch-alpine/blob/master/Dockerfile 16
According to what I’ve found elsewhere, libexecinfo-dev provides /usr/lib/libexecinfo.so which provides backtrace, but it doesn’t seem to find it.
Here is the error I am seeing:
[ 36%] Linking CXX executable ../../bin/c10_tempfile_test
/usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: ../../lib/libc10.so: undefined reference to `backtrace'
/usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: ../../lib/libc10.so: undefined reference to `backtrace_symbols'
collect2: error: ld returned 1 exit status
make[2]: *** [c10/test/CMakeFiles/c10_tempfile_test.dir/build.make:89: bin/c10_tempfile_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:2158: c10/test/CMakeFiles/c10_tempfile_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 36%] Building CXX object third_party/ideep/mkl-dnn/src/CMakeFiles/mkldnn.dir/cpu/gemm/s8x8s32/ref_gemm_s8x8s32.cpp.o
[ 36%] Generating src/x86_64-fma/blas/shdotxf.py.o
[ 37%] Linking CXX executable ../../bin/c10_typeid_test
/usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: ../../lib/libc10.so: undefined reference to `backtrace'
/usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: ../../lib/libc10.so: undefined reference to `backtrace_symbols'
collect2: error: ld returned 1 exit status
make[2]: *** [c10/test/CMakeFiles/c10_typeid_test.dir/build.make:89: bin/c10_typeid_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:2118: c10/test/CMakeFiles/c10_typeid_test.dir/all] Error 2