[Boost-bugs] [Boost C++ Libraries] #10343: Error: selected processor does not support ARM mode

Subject: [Boost-bugs] [Boost C++ Libraries] #10343: Error: selected processor does not support ARM mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-11 17:13:34


#10343: Error: selected processor does not support ARM mode
----------------------------+------------------------------
 Reporter: rjgebis@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.56.0
 Severity: Problem | Keywords:
----------------------------+------------------------------
 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_at_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

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10343>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC