make pybind11
- Dominant language
- Shell
- Stars
- 15.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
g++ -std=c++11 -I.. -isystem /ceph/sz_ts80_new/fyz/kaldi/tools/openfst-1.6.7/include -O1 -Wno-sign-compare -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_MKL -I/ceph/sz_ts80_new/mkl/include -m64 -msse -msse2 -pthread -g -fPIC -DHAVE_CUDA -I/usr/local/cuda/include -fPIC -pthread -isystem /ceph/sz_ts80_new/fyz/kaldi/tools/openfst-1.6.7/include -I/ceph/sz_ts80_new/fyz/anaconda3/include/python3.7m -I/ceph/sz_ts80_new/fyz/anaconda3/lib/python3.7/site-packages/pybind11-2.5.dev1-py3.7.egg/pybind11/include -O3 -flto -I. -shared -o kaldi_pybind.cpython-37m-x86_64-linux-gnu.so chain/chain_den_graph_pybind.o chain/chain_pybind.o chain/chain_supervision_pybind.o chain/chain_training_pybind.o ctc/ctc_pybind.o cudamatrix/cu_device_pybind.o cudamatrix/cu_matrix_pybind.o cudamatrix/cu_vector_pybind.o cudamatrix/cudamatrix_pybind.o decoder/decodable_matrix_pybind.o decoder/decoder_pybind.o decoder/decoder_wrappers_pybind.o decoder/lattice_faster_decoder_pybind.o dlpack/dlpack_deleter.o dlpack/dlpack_pybind.o dlpack/dlpack_submatrix.o dlpack/dlpack_subvector.o feat/feat_pybind.o feat/feature_pybind.o feat/online_feature_pybind.o feat/wave_reader_pybind.o fst/arc_pybind.o fst/compile_pybind.o fst/fst_pybind.o fst/symbol_table_pybind.o fst/vector_fst_pybind.o fst/weight_pybind.o fstext/fstext_pybind.o fstext/kaldi_fst_io_pybind.o fstext/lattice_weight_pybind.o hmm/hmm_pybind.o hmm/hmm_topology_pybind.o hmm/transition_model_pybind.o itf/context_dep_itf_pybind.o itf/decodable_itf_pybind.o itf/itf_pybind.o itf/options_itf_pybind.o kaldi_pybind.o lat/determinize_lattice_pruned_pybind.o lat/kaldi_lattice_pybind.o lat/lat_pybind.o matrix/compressed_matrix_pybind.o matrix/kaldi_matrix_pybind.o matrix/kaldi_vector_pybind.o matrix/matrix_common_pybind.o matrix/matrix_pybind.o matrix/sparse_matrix_pybind.o nnet3/nnet3_pybind.o nnet3/nnet_chain_example_pybind.o nnet3/nnet_common_pybind.o nnet3/nnet_component_itf_pybind.o nnet3/nnet_convolutional_component_pybind.o nnet3/nnet_example_pybind.o nnet3/nnet_nnet_pybind.o nnet3/nnet_normalize_component_pybind.o nnet3/nnet_simple_component_pybind.o tests/test_dlpack_subvector.o util/kaldi_holder_pybind.o util/kaldi_io_pybind.o util/parse_options_pybind.o util/table_types_pybind.o util/util_pybind.o -Wl,--no-whole-archive -Wl,-rpath=/ceph/sz_ts80_new/fyz/kaldi/src/pybind/../lib -Wl,-rpath=/ceph/sz_ts80_new/fyz/kaldi/tools/openfst-1.6.7/lib -rdynamic -flto -fuse-ld=gold -Wl,-rpath=/ceph/sz_ts80_new/fyz/kaldi/src/pybind/../../tools/openfst/lib -Wl,-rpath=/ceph/sz_ts80_new/fyz/kaldi/src/pybind/ctc/warp-ctc/build ../base/libkaldi-base.so ../chain/libkaldi-chain.so ../cudamatrix/libkaldi-cudamatrix.so ../decoder/libkaldi-decoder.so ../feat/libkaldi-feat.so ../fstext/libkaldi-fstext.so ../hmm/libkaldi-hmm.so ../lat/libkaldi-lat.so ../matrix/libkaldi-matrix.so ../nnet3/libkaldi-nnet3.so ../util/libkaldi-util.so ../../tools/openfst/lib/libfstscript.so ctc/warp-ctc/build/libwarpctc.so /ceph/sz_ts80_new/fyz/kaldi/tools/openfst-1.6.7/lib/libfst.so -L/ceph/sz_ts80_new/mkl/lib/intel64 -Wl,-rpath=/ceph/sz_ts80_new/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -ldl -lpthread -lm -lm -lpthread -ldl ../base/libkaldi-base.so ../chain/libkaldi-chain.so ../cudamatrix/libkaldi-cudamatrix.so ../decoder/libkaldi-decoder.so ../feat/libkaldi-feat.so ../fstext/libkaldi-fstext.so ../hmm/libkaldi-hmm.so ../lat/libkaldi-lat.so ../matrix/libkaldi-matrix.so ../nnet3/libkaldi-nnet3.so ../util/libkaldi-util.so ../../tools/openfst/lib/libfstscript.so ctc/warp-ctc/build/libwarpctc.so
/usr/bin/ld.gold: error: ../chain/libkaldi-chain.so: symbol 'kaldi::CuDevice::this_thread_device_' used as both __thread and non-__thread
/usr/bin/ld.gold: chain/chain_den_graph_pybind.o: previous definition here
/usr/bin/ld.gold: error: ../cudamatrix/libkaldi-cudamatrix.so: symbol 'kaldi::CuDevice::this_thread_device_' used as both __thread and non-__thread
/usr/bin/ld.gold: chain/chain_den_graph_pybind.o: previous definition here
collect2: error: ld returned 1 exit status
make: *** [kaldi_pybind.cpython-37m-x86_64-linux-gnu.so] Error 1
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the make target for kaldi_pybind.cpython-37m-x86_64-linux-gnu.so and inspect the linker diagnostic for CuDevice::this_thread_device_ being defined as both __thread and non-__thread. Done means the pybind11 shared library links successfully without this symbol conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100