Boost C++ Libraries: Ticket #12418: boost.smart_ptr: mips assembly doesn't compile in mips16e mode https://svn.boost.org/trac10/ticket/12418 <blockquote> <p> gcc.compile.c++ &lt;builddir&gt;/boost/bin.v2/libs/date_time/build/gcc-4.3.1/release/threading-multi/gregorian/greg_month.o </p> </blockquote> <blockquote> <blockquote> <p> "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=&lt;sysroot&gt;" -ftemplate-depth-128 -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=&lt;srcdir&gt;=/usr/src/debug/boost/1.61.0-<a class="missing changeset" title="No changeset 0 in the repository">r0</a> -fdebug-prefix-map=&lt;sysroot_host&gt;= -fdebug-prefix-map=&lt;sysroot&gt;= -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 "&lt;builddir&gt;/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" </p> </blockquote> </blockquote> <p> </p> <blockquote> <p> {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... </p> </blockquote> <p> </p> <blockquote> <p> 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. </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12418 Trac 1.4.3 git@… Mon, 29 Aug 2016 08:33:15 GMT attachment set https://svn.boost.org/trac10/ticket/12418 https://svn.boost.org/trac10/ticket/12418 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">0001-smart_ptr-mips-assembly-doesn-t-compile-in-mips16e-m.patch</span> </li> </ul> <p> use <span class="underline">sync intrinsics when in mips16e mode </span></p> Ticket Peter Dimov Fri, 02 Sep 2016 17:18:20 GMT <link>https://svn.boost.org/trac10/ticket/12418#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12418#comment:1</guid> <description> <p> In <a class="ext-link" href="https://github.com/boostorg/smart_ptr/commit/840e9fc96e9e1672f93c785ee78b5edc4bc4af01"><span class="icon">​</span>https://github.com/boostorg/smart_ptr/commit/840e9fc96e9e1672f93c785ee78b5edc4bc4af01</a>. </p> </description> <category>Ticket</category> </item> </channel> </rss>