bazelisk icon indicating copy to clipboard operation
bazelisk copied to clipboard

Doesn't work for arm64-llvm-musl

Open xorrvin opened this issue 1 year ago • 0 comments

Partly related to #290

I'm running Gentoo LLVM musl profile on arm64 (pi 4). Trying to use bazelisk downloads the binary for linux-arm64, but binary is broken:

~/.cache/bazelisk/downloads/sha256/16e41fe8fb791ffb9835643435e4828384a1890b0f916fd84b750fa01f783807/bin $ ./bazel
-bash: ./bazel: No such file or directory
~/.cache/bazelisk/downloads/sha256/16e41fe8fb791ffb9835643435e4828384a1890b0f916fd84b750fa01f783807/bin $ ldd bazel 
	/lib/ld-linux-aarch64.so.1 (0x7f8de0b000)
	librt.so.1 => /lib/ld-linux-aarch64.so.1 (0x7f8de0b000)
	libdl.so.2 => /lib/ld-linux-aarch64.so.1 (0x7f8de0b000)
	libpthread.so.0 => /lib/ld-linux-aarch64.so.1 (0x7f8de0b000)
	libm.so.6 => /lib/ld-linux-aarch64.so.1 (0x7f8de0b000)
Error loading shared library libstdc++.so.6: No such file or directory (needed by bazel)
Error loading shared library libgcc_s.so.1: No such file or directory (needed by bazel)
	libc.so.6 => /lib/ld-linux-aarch64.so.1 (0x7f8de0b000)
Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by bazel)
Error relocating bazel: _Znwm: symbol not found
Error relocating bazel: _ZdlPv: symbol not found
Error relocating bazel: _ZNSsC1ERKSs: symbol not found
Error relocating bazel: _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_: symbol not found
Error relocating bazel: __cxa_begin_catch: symbol not found
Error relocating bazel: __cxa_rethrow: symbol not found
Error relocating bazel: __cxa_end_catch: symbol not found
Error relocating bazel: _Unwind_Resume: symbol not found
Error relocating bazel: _ZNSs4_Rep9_S_createEmmRKSaIcE: symbol not found
Error relocating bazel: _ZSt19__throw_logic_errorPKc: symbol not found
Error relocating bazel: _ZNSsD1Ev: symbol not found
Error relocating bazel: _ZNSs4_Rep10_M_destroyERKSaIcE: symbol not found
Error relocating bazel: _ZNSs4swapERSs: symbol not found
Error relocating bazel: _ZSt25__throw_bad_function_callv: symbol not found
Error relocating bazel: _ZNSs6assignERKSs: symbol not found
Error relocating bazel: _ZSt20__throw_length_errorPKc: symbol not found
Error relocating bazel: _ZNSsC1EmcRKSaIcE: symbol not found
Error relocating bazel: _ZNSs12_M_leak_hardEv: symbol not found
Error relocating bazel: _ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev: symbol not found
Error relocating bazel: _ZNSsC1EPKcRKSaIcE: symbol not found
Error relocating bazel: _ZNSt6localeD1Ev: symbol not found
Error relocating bazel: _ZNSt8ios_baseD2Ev: symbol not found
Error relocating bazel: _ZSt17__throw_bad_allocv: symbol not found
Error relocating bazel: _ZNSsC1ERKSaIcE: symbol not found
Error relocating bazel: _ZNSs7reserveEm: symbol not found
Error relocating bazel: _ZNSs6appendEPKcm: symbol not found
Error relocating bazel: _ZNSs6appendERKSs: symbol not found
Error relocating bazel: _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base: symbol not found
Error relocating bazel: _ZNSsC1EPKcmRKSaIcE: symbol not found
Error relocating bazel: _ZSt20__throw_system_errori: symbol not found
Error relocating bazel: _ZNSs6insertEmPKcm: symbol not found
Error relocating bazel: _ZNSt8ios_baseC2Ev: symbol not found
Error relocating bazel: _ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E: symbol not found
Error relocating bazel: _ZNSt6localeC1Ev: symbol not found
Error relocating bazel: _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l: symbol not found
Error relocating bazel: _ZNSs7replaceEmmPKcm: symbol not found
Error relocating bazel: _ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base: symbol not found
Error relocating bazel: _ZNSdD2Ev: symbol not found
Error relocating bazel: _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base: symbol not found
Error relocating bazel: __cxa_guard_acquire: symbol not found
Error relocating bazel: _ZNKSs4findEcm: symbol not found
Error relocating bazel: _ZNSsC1ERKSsmm: symbol not found
Error relocating bazel: __cxa_guard_release: symbol not found
Error relocating bazel: __cxa_guard_abort: symbol not found
Error relocating bazel: _ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm: symbol not found
Error relocating bazel: _ZSt11_Hash_bytesPKvmm: symbol not found
Error relocating bazel: _ZNSt8ios_base4InitC1Ev: symbol not found
Error relocating bazel: _ZNSt8ios_base4InitD1Ev: symbol not found
Error relocating bazel: _ZNSt6chrono3_V212system_clock3nowEv: symbol not found
Error relocating bazel: _ZNKSs7compareEmmRKSs: symbol not found
Error relocating bazel: _ZNSs6assignEPKcm: symbol not found
Error relocating bazel: _ZNKSs7compareEPKc: symbol not found
Error relocating bazel: _ZNSt6thread4joinEv: symbol not found
Error relocating bazel: _ZSt9terminatev: symbol not found
Error relocating bazel: __gxx_personality_v0: symbol not found
Error relocating bazel: _ZNSolsEi: symbol not found
Error relocating bazel: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev: symbol not found
Error relocating bazel: _ZNKSs7compareEmmPKc: symbol not found
Error relocating bazel: __cxa_pure_virtual: symbol not found
Error relocating bazel: _ZNSs12_S_constructEmcRKSaIcE: symbol not found
Error relocating bazel: _ZNSs6resizeEmc: symbol not found
Error relocating bazel: _ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev: symbol not found
Error relocating bazel: _ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode: symbol not found
Error relocating bazel: _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate: symbol not found
Error relocating bazel: _ZNSirsERi: symbol not found
Error relocating bazel: _ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv: symbol not found
Error relocating bazel: _ZNSt12__basic_fileIcED1Ev: symbol not found
Error relocating bazel: _ZNSt13basic_filebufIcSt11char_traitsIcEED1Ev: symbol not found
Error relocating bazel: _ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev: symbol not found
Error relocating bazel: __realpath_chk: symbol not found
Error relocating bazel: _ZNSo3putEc: symbol not found
Error relocating bazel: _ZNSo5flushEv: symbol not found
Error relocating bazel: _ZNKSt5ctypeIcE13_M_widen_initEv: symbol not found
Error relocating bazel: _ZSt16__throw_bad_castv: symbol not found
Error relocating bazel: _ZNSolsEPSt15basic_streambufIcSt11char_traitsIcEE: symbol not found
Error relocating bazel: _ZNSt8__detail15_List_node_base7_M_hookEPS0_: symbol not found
Error relocating bazel: __cxa_allocate_exception: symbol not found
Error relocating bazel: _ZNSt12bad_weak_ptrD1Ev: symbol not found
Error relocating bazel: __cxa_throw: symbol not found
Error relocating bazel: _ZNSs15_M_replace_safeEmmPKcm: symbol not found
Error relocating bazel: _ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_: symbol not found
Error relocating bazel: __memcpy_chk: symbol not found
Error relocating bazel: __fdelt_chk: symbol not found
Error relocating bazel: __strdup: symbol not found
Error relocating bazel: _ZNSt13random_device7_M_initERKSs: symbol not found
Error relocating bazel: _ZNSt13random_device9_M_getvalEv: symbol not found
Error relocating bazel: _ZNSt13random_device7_M_finiEv: symbol not found
Error relocating bazel: _ZNSt8__detail15_List_node_base9_M_unhookEv: symbol not found
Error relocating bazel: __strncpy_chk: symbol not found
Error relocating bazel: _ZnwmRKSt9nothrow_t: symbol not found
Error relocating bazel: _ZdaPv: symbol not found
Error relocating bazel: _Znam: symbol not found
Error relocating bazel: _ZNKSs17find_first_not_ofEPKcmm: symbol not found
Error relocating bazel: _ZNSt9exceptionD2Ev: symbol not found
Error relocating bazel: __longjmp_chk: symbol not found
Error relocating bazel: _ZNSs9_M_mutateEmmm: symbol not found
Error relocating bazel: _ZNSs6appendEmc: symbol not found
Error relocating bazel: _ZNSt6thread20hardware_concurrencyEv: symbol not found
Error relocating bazel: _ZNSt12out_of_rangeD1Ev: symbol not found
Error relocating bazel: __cxa_free_exception: symbol not found
Error relocating bazel: __once_proxy: symbol not found
Error relocating bazel: _ZNSs5clearEv: symbol not found
Error relocating bazel: _ZNSs6appendEPKc: symbol not found
Error relocating bazel: _ZNKSs5rfindEcm: symbol not found
Error relocating bazel: _ZNSs6appendERKSsmm: symbol not found
Error relocating bazel: _ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base: symbol not found
Error relocating bazel: _ZNKSs4findEPKcmm: symbol not found
Error relocating bazel: _ZNSo9_M_insertImEERSoT_: symbol not found
Error relocating bazel: _ZNSo9_M_insertIlEERSoT_: symbol not found
Error relocating bazel: _ZNSt9bad_allocD2Ev: symbol not found
Error relocating bazel: __getauxval: symbol not found
Error relocating bazel: _ZSt11__once_call: symbol not found
Error relocating bazel: _ZSt15__once_callable: symbol not found
Error relocating bazel: _ZTISt9bad_alloc: symbol not found
Error relocating bazel: _ZTVSt11logic_error: symbol not found
Error relocating bazel: _ZNSt12out_of_rangeD1Ev: symbol not found
Error relocating bazel: _ZTVSt15basic_streambufIcSt11char_traitsIcEE: symbol not found
Error relocating bazel: _ZNSs4_Rep20_S_empty_rep_storageE: symbol not found
Error relocating bazel: _ZTTSt14basic_ifstreamIcSt11char_traitsIcEE: symbol not found
Error relocating bazel: _ZTISt9exception: symbol not found
Error relocating bazel: _ZTVSt12bad_weak_ptr: symbol not found
Error relocating bazel: _ZSt7nothrow: symbol not found
Error relocating bazel: _ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE: symbol not found
Error relocating bazel: _ZTVSt13basic_filebufIcSt11char_traitsIcEE: symbol not found
Error relocating bazel: _ZTVSt12out_of_range: symbol not found
Error relocating bazel: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE: symbol not found
Error relocating bazel: _ZTVN10__cxxabiv119__pointer_type_infoE: symbol not found
Error relocating bazel: _ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE: symbol not found
Error relocating bazel: _ZTVSt9basic_iosIcSt11char_traitsIcEE: symbol not found
Error relocating bazel: _ZTVSt18basic_stringstreamIcSt11char_traitsIcESaIcEE: symbol not found
Error relocating bazel: _ZTISt12bad_weak_ptr: symbol not found
Error relocating bazel: _ZTVN10__cxxabiv117__class_type_infoE: symbol not found
Error relocating bazel: _ZTVN10__cxxabiv121__vmi_class_type_infoE: symbol not found
Error relocating bazel: _ZTVN10__cxxabiv120__si_class_type_infoE: symbol not found
Error relocating bazel: _ZTISt12out_of_range: symbol not found
Error relocating bazel: _ZTVSt14basic_ifstreamIcSt11char_traitsIcEE: symbol not found
Error relocating bazel: _ZTVN10__cxxabiv120__function_type_infoE: symbol not found
Error relocating bazel: _ZSt4cerr: symbol not found
Error relocating bazel: _ZTTSt18basic_stringstreamIcSt11char_traitsIcESaIcEE: symbol not found

xorrvin avatar Aug 28 '24 21:08 xorrvin