yq icon indicating copy to clipboard operation
yq copied to clipboard

armel: No binary for armel platform

Open JeremyLaurenson opened this issue 2 years ago • 1 comments

Please describe your feature request. I wish I could use yq on armel

JeremyLaurenson avatar Sep 27 '23 17:09 JeremyLaurenson

FYI Tried GOOS=linux GOARCH=arm GOARM=5 go build which produced an arm binary (run on a x64 machine) but which in turn just segfaults on the target cpu. This process works for other s/w we have. Go build itself could not run on the target cpu, it seems golang support is lacking for armel.

EDIT: seems to work fine on some CPUs, like ARM926EJ-S rev 5 (v5l):

# readelf -A /proc/self/exe
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "4T"
  Tag_CPU_arch: v4T
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-1
  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

# dpkg --print-architecture
armel

# ./yq --version
yq (https://github.com/mikefarah/yq/) version v4.43.1

sivann avatar May 03 '24 10:05 sivann