boost: Fix fiber compilation for mips
authorRosen Penev <rosenp@gmail.com>
Fri, 15 Nov 2019 20:34:26 +0000 (12:34 -0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 17 Nov 2019 02:14:11 +0000 (18:14 -0800)
commitf00d0a018525bbfed8b24fa6ed5b75bf9890cc16
tree8684225bd297b9948d1bd5c05f38604db1743e50
parent6371fc55d98d2acf2d86d2a052d7b40b8ecac6a4
boost: Fix fiber compilation for mips

The issue was that the pause instruction was emitted through an asm
directive which was not correct for some mips platforms.

Simplified boost-fiber-exclude as a result.

Removed uClibc-ng math patch. It was not correct as it broke float and
long double support (std variants use function overloads). A different
solution was applied upstream. As it's quite annoying to backport, just
wait until a new release comes with that change. ARC as a platform is
barely supported anyways.

Swapped asio patch for the upstream submission, which is unfortunately, in
limbo.

Refreshed remaining patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from f795779c0a4080ccf497a0266e33f1842248efe8)
libs/boost/Makefile
libs/boost/patches/001-uclibc-asio.patch
libs/boost/patches/002-utime-filesystem.patch
libs/boost/patches/003-mips-pause.patch [new file with mode: 0644]
libs/boost/patches/101-uclibc-ng-math.patch [deleted file]