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



The following reply was made to PR pkg/52425; it has been noted by GNATS.

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/52425: pkgsrc/devel/boost-libs compile failed with earmv6hf;
 vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode
Date: Mon, 28 Aug 2017 12:58:25 +0200

 --mP3DRpeJDSE+ciuQ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 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
 --
 
 --mP3DRpeJDSE+ciuQ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="patch-libs_context_src_asm_jump_arm_aapcs_elf_gas.S"
 
 $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
 
 --mP3DRpeJDSE+ciuQ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="patch-libs_context_src_asm_ontop_arm_aapcs_elf_gas.S"
 
 $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
 
 --mP3DRpeJDSE+ciuQ--
 


Home | Main Index | Thread Index | Old Index