You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.18
Custom code
No
OS platform and distribution
Linux Ubuntu 22.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
8.3.0
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I am trying to build with cross compile for armv6 raspberry pi 0. In the instruction of the cross compile lite rt, given toolchain link is not compatible with armv6, its not even running simple cross compiled hello_world.cpp, When we check the attributes of file, the arch of toolchain is armv7, but raspberry pi zero's arch is armv6.
Standalone code to reproduce the issue
#In the host computer:~/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ hello.cpp -march=armv6 -mfpu=vfp -mfloat-abi=hard -funsafe-math-optimizations -o hello
#Raspberry Pi Zero:
./hello
readelf -A hello
Original Issue: tensorflow/tensorflow#82920
Original Author: @YigitKaanBingol
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.18
Custom code
No
OS platform and distribution
Linux Ubuntu 22.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
8.3.0
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I am trying to build with cross compile for armv6 raspberry pi 0. In the instruction of the cross compile lite rt, given toolchain link is not compatible with armv6, its not even running simple cross compiled hello_world.cpp, When we check the attributes of file, the arch of toolchain is armv7, but raspberry pi zero's arch is armv6.
Standalone code to reproduce the issue
Relevant log output
Raspberry Pi Zero output: Illegal instruction File attributes Tag_CPU_name: "7-A" Tag_CPU_arch: v7 Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_rounding: Needed Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: int Tag_ABI_VFP_args: VFP registers Tag_CPU_unaligned_access: v6
The text was updated successfully, but these errors were encountered: