NetBSD Problem Report #52425

From www@NetBSD.org  Tue Jul 25 01:10:29 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 007597A183
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Jul 2017 01:10:28 +0000 (UTC)
Message-Id: <20170725011027.5E1157A1FC@mollari.NetBSD.org>
Date: Tue, 25 Jul 2017 01:10:27 +0000 (UTC)
From: jun@soum.co.jp
Reply-To: jun@soum.co.jp
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/devel/boost-libs compile failed with earmv6hf; vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode
X-Send-Pr-Version: www-1.0

>Number:         52425
>Category:       pkg
>Synopsis:       pkgsrc/devel/boost-libs compile failed with earmv6hf; vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bouyer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 25 01:15:00 +0000 2017
>Closed-Date:    Sat Sep 02 18:45:11 +0000 2017
>Last-Modified:  Wed Sep 06 05:40:00 +0000 2017
>Originator:     Jun Ebihara
>Release:        NetBSD 8.99.1 /pkgsrc 2017-07-25
>Organization:
SOUM Corporation
>Environment:
NetBSD rpi 8.99.1 NetBSD 8.99.1 (RPI2) #1: Thu Jun 22 21:06:04 JST 2017  jun@amikuro.soum.co.jp:/usr/obj/kernel/earmv6hf/RPI2 evbarm
>Description:
On Raspberrypi(earmv6hf):
pkgsrc/devel/boost-libs compile failed.

rpi# make
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for boost-libs-1.64.0nb1
ulimit -s `ulimit -H -s`; ulimit -d `ulimit -H -d`;  cd /mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/boost_1_64_0 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr BZIP2_INCLUDE=/usr/include BZIP2_LIBPATH=/usr/lib EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=/usr/lib ICU_PATH=/usr/pkg ZLIB_INCLUDE=/usr/include ZLIB_LIBPATH=/usr/lib CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -std=c++14 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -pthread\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.cwrapper/bin:/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/
 .buildlink/bin:/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.tools/bin:/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.gcc/bin:/usr/pkg/bin:/home/jun/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.home CWRAPPERS_CONFIG_DIR=/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.cwrapper/config CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_M
 AN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.buildlink/lib/pkgconfig:/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/mnt/earmv6hf/pkgsrc/dev
 el/boost-libs/work.earmv6hf/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/.cwrapper/config /usr/pkg/bin/bjam --without-python pch=off --without-fiber -j2 --builddir=/mnt/earmv6hf/pkgsrc/devel/boost-libs/work.earmv6hf/boost_1_64_0/build --layout=system --toolset=gcc --disable-long-double variant=release threading=multi link=shared,static linkflags=\ \ \ -L/usr/pkg/lib\ -pthread\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib cxxflags=-std=c++14 --prefix=/usr/pkg stage
Performing configuration checks

    - 32-bit                   : yes (cached)
    - arm                      : yes (cached)
    - symlinks supported       : yes (cached)
    - C++11 mutex              : no  (cached)
    - lockfree boost::atomic_flag : yes (cached)
    - has_icu builds           : yes (cached)
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
    - zlib                     : yes (cached)
    - bzip2                    : yes (cached)
    - iconv (libc)             : yes (cached)
    - icu                      : yes (cached)
    - native-atomic-int32-supported : yes (cached)
    - native-syslog-supported  : yes (cached)
    - pthread-supports-robust-mutexes : no  (cached)
    - compiler-supports-visibility : yes (cached)
    - gcc visibility           : yes (cached)
    - long double support      : yes (cached)
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
    - zlib                     : yes (cached)
    - bzip2                    : yes (cached)

Component configuration:

    - atomic                   : building
    - chrono                   : building
    - container                : building
    - context                  : building
    - coroutine                : building
    - coroutine2               : building
    - date_time                : building
    - exception                : building
    - fiber                    : not building
    - filesystem               : building
    - graph                    : building
    - graph_parallel           : building
    - iostreams                : building
    - locale                   : building
    - log                      : building
    - math                     : building
    - metaparse                : building
    - mpi                      : building
    - program_options          : building
    - python                   : not building
    - random                   : building
    - regex                    : building
    - serialization            : building
    - signals                  : building
    - system                   : building
    - test                     : building
    - thread                   : building
    - timer                    : building
    - type_erasure             : building
    - wave                     : building

...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...found 13502 targets...
...updating 12 targets...
gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi/asm/jump_arm_aapcs_elf_gas.o
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

    "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi/asm/jump_arm_aapcs_elf_gas.o" "libs/context/src/asm/jump_arm_aapcs_elf_gas.S"

...failed gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi/asm/jump_arm_aapcs_elf_gas.o...
gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi/asm/ontop_arm_aapcs_elf_gas.o
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S: Assembler messages:
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:55: Error: selected processor does not support `vstmia sp,{d8-d15}' in ARM mode
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:69: Error: selected processor does not support `vldmia sp,{d8-d15}' in ARM mode

    "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi/asm/ontop_arm_aapcs_elf_gas.o" "libs/context/src/asm/ontop_arm_aapcs_elf_gas.S"

...failed gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi/asm/ontop_arm_aapcs_elf_gas.o...
...skipped <pstage/lib>libboost_context.so.1.64.0 for lack of <pbin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi>asm/jump_arm_aapcs_elf_gas.o...
...skipped <pstage/lib>libboost_context.so for lack of <pstage/lib>libboost_context.so.1.64.0...
...skipped <pbin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi>libboost_context.so.1.64.0 for lack of <pbin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi>asm/jump_arm_aapcs_elf_gas.o...
...skipped <pstage/lib>libboost_coroutine.so.1.64.0 for lack of <pbin.v2/libs/context/build/gcc-5.4.0/release/pch-off/threading-multi>libboost_context.so.1.64.0...
...skipped <pstage/lib>libboost_coroutine.so for lack of <pstage/lib>libboost_coroutine.so.1.64.0...
gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi/asm/ontop_arm_aapcs_elf_gas.o
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S: Assembler messages:
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:55: Error: selected processor does not support `vstmia sp,{d8-d15}' in ARM mode
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:69: Error: selected processor does not support `vldmia sp,{d8-d15}' in ARM mode

    "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi/asm/ontop_arm_aapcs_elf_gas.o" "libs/context/src/asm/ontop_arm_aapcs_elf_gas.S"

...failed gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi/asm/ontop_arm_aapcs_elf_gas.o...
gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi/asm/jump_arm_aapcs_elf_gas.o
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

    "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi/asm/jump_arm_aapcs_elf_gas.o" "libs/context/src/asm/jump_arm_aapcs_elf_gas.S"

...failed gcc.compile.asm bin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi/asm/jump_arm_aapcs_elf_gas.o...
...skipped <pbin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi>libboost_context.a(clean) for lack of <pbin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi>asm/jump_arm_aapcs_elf_gas.o...
...skipped <pbin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi>libboost_context.a for lack of <pbin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi>asm/jump_arm_aapcs_elf_gas.o...
...skipped <pstage/lib>libboost_context.a for lack of <pbin.v2/libs/context/build/gcc-5.4.0/release/link-static/pch-off/threading-multi>libboost_context.a...
...failed updating 4 targets...
...skipped 8 targets...
*** Error code 1

Stop.
make[1]: stopped in /mnt/earmv6hf/pkgsrc/devel/boost-libs
*** Error code 1

>How-To-Repeat:
1. set up NetBSD on Raspberry PI.

http://mail-index.netbsd.org/port-arm/2017/07/13/msg004307.html

2. extract pkgsrc

3. cd /usr/pkgsrc/devel/boost-libs

4. make package-install

>Fix:

>Release-Note:

>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
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 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>
      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--

State-Changed-From-To: open->feedback
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Sat, 02 Sep 2017 10:45:09 +0000
State-Changed-Why:
Can you try again with up to date meta-pkgs/boost sources ?
Also if running netbsd-8, you'll need a very recent system (newer than
Sep 1, 12H UTC) and rebuild all you pkg binaries.


From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52425 CVS commit: pkgsrc/meta-pkgs/boost
Date: Sat, 2 Sep 2017 10:42:12 +0000

 Module Name:	pkgsrc
 Committed By:	bouyer
 Date:		Sat Sep  2 10:42:12 UTC 2017

 Modified Files:
 	pkgsrc/meta-pkgs/boost: distinfo
 Added Files:
 	pkgsrc/meta-pkgs/boost/patches:
 	    patch-libs_context_src_asm_jump_arm_aapcs_elf_gas.S
 	    patch-libs_context_src_asm_ontop_arm_aapcs_elf_gas.S

 Log Message:
 If we have a VFP, assume it is VFP3. In the default mode on NetBSD, the
 assembler complains:
 libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:55: Error: selected processor does not support `vstmia sp,{d8-d15}' in ARM mode
 libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:69: Error: selected processor does not support `vldmia sp,{d8-d15}' in ARM mode

 XXX what about VFP4 ?

 Should fix PR pkg/52425.

 No PKGREVISION change, as this doesn't change packages which did sucessfully
 build before.


 To generate a diff of this commit:
 cvs rdiff -u -r1.104 -r1.105 pkgsrc/meta-pkgs/boost/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/meta-pkgs/boost/patches/patch-libs_context_src_asm_jump_arm_aapcs_elf_gas.S \
     pkgsrc/meta-pkgs/boost/patches/patch-libs_context_src_asm_ontop_arm_aapcs_elf_gas.S

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/52425: pkgsrc/devel/boost-libs compile failed with earmv6hf;
 vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode
Date: Sat, 2 Sep 2017 12:43:14 +0200

 On Mon, Aug 28, 2017 at 12:58:25PM +0200, Manuel Bouyer wrote:
 > On Tue, Jul 25, 2017 at 01:15:00AM +0000, jun@soum.co.jp 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).

 Now that port-arm/52509 has been fixed in netbsd-8, I commited these
 patches.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

Responsible-Changed-From-To: pkg-manager->bouyer
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 02 Sep 2017 18:45:11 +0000
Responsible-Changed-Why:


State-Changed-From-To: feedback->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 02 Sep 2017 18:45:11 +0000
State-Changed-Why:
Patch committed.


From: Jun Ebihara <jun@soum.co.jp>
To: gnats-bugs@NetBSD.org, bouyer@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/52425 (pkgsrc/devel/boost-libs compile failed with
 earmv6hf; vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode)
Date: Wed, 06 Sep 2017 14:37:50 +0900 (JST)

 From: bouyer@NetBSD.org
 Subject: Re: pkg/52425 (pkgsrc/devel/boost-libs compile failed with earmv6hf; vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode)
 Date: Sat,  2 Sep 2017 10:45:09 +0000 (UTC)

 > Can you try again with up to date meta-pkgs/boost sources ?
 > Also if running netbsd-8, you'll need a very recent system (newer than
 > Sep 1, 12H UTC) and rebuild all you pkg binaries.

 rebuild well done. thanx!
 --
 Jun Ebihara

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.