[Boost-bugs] [Boost C++ Libraries] #12418: boost.smart_ptr: mips assembly doesn't compile in mips16e mode

Subject: [Boost-bugs] [Boost C++ Libraries] #12418: boost.smart_ptr: mips assembly doesn't compile in mips16e mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-29 08:32:15


#12418: boost.smart_ptr: mips assembly doesn't compile in mips16e mode
------------------------------+-----------------------
 Reporter: git@… | Owner: pdimov
     Type: Patches | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------
 gcc.compile.c++
 <builddir>/boost/bin.v2/libs/date_time/build/gcc-4.3.1/release/threading-
 multi/gregorian/greg_month.o

         "mipsel-poky-linux-musl-g++" "-mel" "-mabi=32" "-msoft-float"
 "-march=mips32r2" "-mips16" "-minterlink-compressed" "-mtune=24kec"
 "-mdsp" "-Wl,-O1" "-Wl,--as-needed" "-fstack-protector-strong"
 "-Wl,-z,relro,-z,now" "--sysroot=<sysroot>" -ftemplate-depth-128 -O2
 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-
 map=<srcdir>=/usr/src/debug/boost/1.61.0-r0 -fdebug-prefix-
 map=<sysroot_host>= -fdebug-prefix-map=<sysroot>= -fstack-protector-strong
 -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-
 security -fvisibility-inlines-hidden -O3 -finline-functions -Wno-inline
 -Wall -pthread -fPIC -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1
 -DDATE_TIME_INLINE -DNDEBUG -I"." -c -o
 "<builddir>/boost/bin.v2/libs/date_time/build/gcc-4.3.1/release/threading-
 multi/gregorian/greg_month.o"
 "libs/date_time/src/gregorian/greg_month.cpp"

     {standard input}: Assembler messages:
     {standard input}:17603: Warning: the `dsp' extension requires MIPS32
 revision 2 or greater
     {standard input}:17604: Error: unrecognized opcode `ll $3,4($16)'
     {standard input}:17606: Error: unrecognized opcode `sc $2,4($16)'
     {standard input}:17734: Error: unrecognized opcode `ll $3,8($16)'
     {standard input}:17736: Error: unrecognized opcode `sc $2,8($16)'
     {standard input}:18084: Error: unrecognized opcode `ll $3,4($4)'
     {standard input}:18086: Error: unrecognized opcode `sc $2,4($4)'
     {standard input}:18318: Error: unrecognized opcode `ll $3,8($4)'
     {standard input}:18320: Error: unrecognized opcode `sc $2,8($4)'
     {standard input}:19921: Error: unrecognized opcode `ll $3,4($2)'
     {standard input}:19923: Error: unrecognized opcode `sc $3,4($2)'
     {standard input}:20199: Error: unrecognized opcode `ll $4,4($16)'
     {standard input}:20201: Error: unrecognized opcode `sc $2,4($16)'
     {standard input}:23392: Error: unrecognized opcode `ll $4,8($16)'
     {standard input}:23394: Error: unrecognized opcode `sc $2,8($16)'
     ...failed updating 1 target...

     include/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp
     contains hand-written MIPS assembly, which is not compatible
     with the MIPS16e instruction set.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12418>
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:20 UTC