pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52425: pkgsrc/devel/boost-libs compile failed with earmv6hf; vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode
On Tue, Jul 25, 2017 at 01:15:00AM +0000, jun%soum.co.jp@localhost wrote:
> [...]
> libs/context/src/asm/jump_arm_aapcs_elf_gas.S: Assembler messages:
> libs/context/src/asm/jump_arm_aapcs_elf_gas.S:55: Error: selected processor does not support `vstmia sp,{d8-d15}' in ARM mode
> libs/context/src/asm/jump_arm_aapcs_elf_gas.S:66: Error: selected processor does not support `vldmia sp,{d8-d15}' in ARM mode
Adding the attached patches to meta-pkgs/boost/patches/ fixes this issue for
me. But then I run in another problem with exceptions (port-arm/52509).
Maybe we should default to a vfp3 FPU when configuring the compiler for
earmv6hf or earmv7hf targets ?
BTW, AFAIK vfpv4 has more FP registers than vfpv3. Does anyone known if
boost's context library is complete for vfpv3 or vfpv4 FPUs ?
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
$NetBSD: $
--- libs/context/src/asm/jump_arm_aapcs_elf_gas.S.orig 2017-08-27 12:57:18.881402433 +0200
+++ libs/context/src/asm/jump_arm_aapcs_elf_gas.S 2017-08-27 12:58:09.211149398 +0200
@@ -39,6 +39,9 @@
*******************************************************/
.text
+#if (defined(__VFP_FP__) && !defined(__SOFTFP__))
+.fpu vfpv3
+#endif
.globl jump_fcontext
.align 2
.type jump_fcontext,%function
$NetBSD: $
--- libs/context/src/asm/ontop_arm_aapcs_elf_gas.S.orig 2017-08-27 12:57:18.888935619 +0200
+++ libs/context/src/asm/ontop_arm_aapcs_elf_gas.S 2017-08-27 12:58:25.812105545 +0200
@@ -39,6 +39,9 @@
*******************************************************/
.text
+#if (defined(__VFP_FP__) && !defined(__SOFTFP__))
+.fpu vfpv3
+#endif
.globl ontop_fcontext
.align 2
.type ontop_fcontext,%function
Home |
Main Index |
Thread Index |
Old Index