Opened 8 years ago

Closed 8 years ago

#10343 closed Bugs (invalid)

Error: selected processor does not support ARM mode

Reported by: rjgebis@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.56.0 Severity: Problem
Keywords: Cc:

Description

I am trying to build 1_55 and not just released 1_56 on ARM and I am betting errors such as. also passing --without-context does not bypasses it.

root@imx6qsabrelite:~# g++ --version g++ (GCC) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

./b2 -j2 --prefix=/usr/local/boost-1.56.0 debug-symbols=off --without-context --without-mpi cxxflags='-fPIC -std=c++11 -mcpu=cortex-a9 -mfpu=neon' threading=multi variant=release

talking out all cxxflags does not change anything related to below errors

libs/context/src/asm/jump_arm_aapcs_elf_gas.S: Assembler messages: libs/context/src/asm/jump_arm_aapcs_elf_gas.S:62: Error: selected processor does not support ARM mode `vstmia a4,{d8-d15}' libs/context/src/asm/jump_arm_aapcs_elf_gas.S:66: Error: selected processor does not support ARM mode `vldmia a4,{d8-d15}’

read elf on g++ shows

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_HardFP_use: SP and DP Tag_ABI_VFP_args: VFP registers Tag_CPU_unaligned_access: v6

readelf -a as

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_HardFP_use: SP and DP Tag_ABI_VFP_args: VFP registers Tag_CPU_unaligned_access: v6

/proc/cpuinfo

Features : swp half thumb fastmult vfp edsp neon vfpv3 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 10

Change History (2)

comment:1 by anonymous, 8 years ago

Ok looks like passing --without-context --without-coroutine bypasses these errors for now

comment:2 by olli, 8 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.