2017-10-09, 02:49
Clean-building kodi18/head,
for RPi2
on
I get an executable
but checking the ARM ELF Binary
I notice the
whereas prior builds' value was, historically,
Afaict, these labels are generated from binutils/readelf.c.
The RPi2's, of course, an ARMv7 Cortex-A7 quad-core, not a v8. I assume (?) NEON v8 extensions are a problem, here.
The build's CMakeCache.txt's flags contain:
What config's needed to ensure the right NEON extensions for the right ARM version are identified/used, as in the past?
Code:
git log | head
commit 623d2ce19aa6e117c791532cc17185da802d0544
Merge: 1111b281b0d 25e53ba3689
Author: Rechi <[email protected]>
Date: Sun Oct 8 20:03:36 2017 +0200
Merge pull request #12887 from Rechi/dxvaVP9
[dxva] add VP9 profile 0 hardware decoder
commit 1111b281b0db27f5b607f8121c65c0aa21bcea0c
for RPi2
Code:
-DCORE_PLATFORM_NAME=rbpi
on
Code:
lsb_release -rd
Description: Raspbian GNU/Linux 9.1 (stretch)
Release: 9.1
I get an executable
Code:
/usr/local/kodi/lib/kodi/kodi.bin -v
18.0-ALPHA1 Git:20171008-623d2ce Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tv
file /usr/local/kodi/lib/kodi/kodi.bin
/usr/local/kodi/lib/kodi/kodi.bin: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=ac156f90f5e7d9aa3952061add7171ecd720a617, stripped
but checking the ARM ELF Binary
Code:
readelf -A /usr/local/kodi/lib/kodi/kodi.bin
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "ARM v7"
Tag_CPU_arch: v7
Tag_CPU_arch_profile: Application
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-2
Tag_FP_arch: VFPv4
Tag_Advanced_SIMD_arch: NEON for ARMv8
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_rounding: Needed
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_user_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align_needed: 8-byte
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: Deprecated
Tag_ABI_VFP_args: VFP registers
Tag_CPU_unaligned_access: v6
Tag_MPextension_use: Allowed
Tag_DIV_use: Allowed in v7-A with integer division extension
Tag_Virtualization_use: TrustZone and Virtualization Extensions
Code:
Tag_Advanced_SIMD_arch: NEON for ARMv8
whereas prior builds' value was, historically,
Code:
Tag_Advanced_SIMD_arch: NEONv1 with Fused-MAC
Afaict, these labels are generated from binutils/readelf.c.
The RPi2's, of course, an ARMv7 Cortex-A7 quad-core, not a v8. I assume (?) NEON v8 extensions are a problem, here.
The build's CMakeCache.txt's flags contain:
Code:
-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -mtune=cortex-a7 -mcpu=cortex-a7
What config's needed to ensure the right NEON extensions for the right ARM version are identified/used, as in the past?