pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52425: pkgsrc/devel/boost-libs compile failed with earmv6hf; vstmia sp,{d8-d15}'/vldmia sp,{d8-d15}' in ARM mode



>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:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 25 01:15: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@localhost:/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:



Home | Main Index | Thread Index | Old Index