<div dir="ltr">Hello Dimitry and thanks for your answer.<br><br>I am pretty sure it does indeed support long double. It's configured with vfpv3-d16 - but I noticed that c++config.h in gcc has _GLIBCXX__HAS_FABSL and friends are undefined. I think I need to look deeper at the configuration of our toolchain.<div><br></div><div>long double support is required in libc++ then I gather?</div><div><br></div><div>-- Tobias<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 11:47 AM, Dimitry Andric <span dir="ltr"><<a href="mailto:dimitry@andric.com" target="_blank">dimitry@andric.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At first glance, it looks like long double functions (such as fabsl and friends) are missing from your sysroot's <math.h>.  Does your target support long double at all?<br>
<br>
-Dimitry<br>
<div><div class="h5"><br>
> On 6 Feb 2018, at 09:51, Tobias Hieta via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I am trying to cross-compile libc++ from my x86_64 linux system to armv7hf. We have our own gcc compiler that we build with crosstools-ng (based on gcc 6.3.0) and I set my environment like this:<br>
><br>
> CC=armv7a-plex-linux-<wbr>gnueabihf-gcc<br>
> CXX=armv7a-plex-linux-<wbr>gnueabihf-g++<br>
> CFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path><br>
> CXXFLAGS=-fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=<path><br>
> LDFLAGS=-static-libgcc --sysroot=<path><br>
><br>
> then run cmake:<br>
><br>
> cmake -GNinja -DLIBCXXABI_USE_LLVM_UNWINDER=<wbr>ON DLLVM_TARGET_ARCH=ARM -DLLVM_DEFAULT_TARGET_TRIPLE=<wbr>arm-linux-gnueabihf -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CROSSCOMPILING=True ..<br>
><br>
> This errors out as shown below. It's like it's missing some definitions of different math functions that I can't seem to be able to see anywhere else. Is this a known problem? Or is it something with my compiler / toolchain setup that creates this problem?<br>
><br>
> Thanks for any assistance.<br>
><br>
> -- Tobias<br>
><br>
> armv7a-plex-linux-gnueabihf-g+<wbr>+  -DLLVM_BUILD_GLOBAL_ISEL -DNDEBUG -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_<wbr>SYSTEM_HEADER -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iprojects/libcxx/lib -I../projects/libcxx/lib -Iinclude -I../include -Iprojects/libcxx/include/c++<wbr>build -I../projects/libcxx/include -fPIC -DPIC -mfloat-abi=hard -march=armv7-a -Os -mfpu=vfpv3-d16 --sysroot=armv7a-plex-linux-<wbr>gnueabihf/sysroot -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-<wbr>initializers  -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -g   -DLIBCXX_BUILDING_LIBCXXABI -std=c++11 -nostdinc++ -fvisibility-inlines-hidden -Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wno-literal-suffix -Wno-c++14-compat -Wno-noexcept-type -Wno-error -fPIC -MD -MT projects/libcxx/lib/<wbr>CMakeFiles/cxx_objects.dir/__/<wbr>src/algorithm.cpp.o -MF projects/libcxx/lib/<wbr>CMakeFiles/cxx_objects.dir/__/<wbr>src/algorithm.cpp.o.d -o projects/libcxx/lib/<wbr>CMakeFiles/cxx_objects.dir/__/<wbr>src/algorithm.cpp.o -c ../projects/libcxx/src/<wbr>algorithm.cpp<br>
> In file included from ../projects/libcxx/include/<wbr>cmath:305:0,<br>
>                  from ../projects/libcxx/include/<wbr>random:1638,<br>
>                  from ../projects/libcxx/src/<wbr>algorithm.cpp:11:<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double abs(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:742:45: error: '::fabsl' has not been declared<br>
>  abs(long double __lcpp_x) _NOEXCEPT {return ::fabsl(__lcpp_x);}<br>
>                                              ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double acos(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:749:91: error: '::acosl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return ::acosl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double asin(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:761:91: error: '::asinl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __lcpp_x) _NOEXCEPT {return ::asinl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double atan(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:773:91: error: '::atanl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __lcpp_x) _NOEXCEPT {return ::atanl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> In file included from ../projects/libcxx/include/<wbr>cmath:305:0,<br>
>                  from ../projects/libcxx/include/<wbr>random:1638,<br>
>                  from ../projects/libcxx/src/<wbr>algorithm.cpp:11:<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double atan2(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:785:114: error: '::atan2l' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double atan2(long double __lcpp_y, long double __lcpp_x) _NOEXCEPT {return ::atan2l(__lcpp_y, __lcpp_x);}<br>
>                                                                                                                   ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double ceil(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:808:91: error: '::ceill' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double ceil(long double __lcpp_x) _NOEXCEPT {return ::ceill(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double cos(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:820:90: error: '::cosl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double cos(long double __lcpp_x) _NOEXCEPT {return ::cosl(__lcpp_x);}<br>
>                                                                                           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double cosh(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:832:91: error: '::coshl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double cosh(long double __lcpp_x) _NOEXCEPT {return ::coshl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double exp(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:844:90: error: '::expl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double exp(long double __lcpp_x) _NOEXCEPT {return ::expl(__lcpp_x);}<br>
>                                                                                           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double fabs(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:856:91: error: '::fabsl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double fabs(long double __lcpp_x) _NOEXCEPT {return ::fabsl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double floor(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:868:92: error: '::floorl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double floor(long double __lcpp_x) _NOEXCEPT {return ::floorl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double fmod(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:880:113: error: '::fmodl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double fmod(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::fmodl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                  ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double frexp(long double, int*)':<br>
> ../projects/libcxx/include/<wbr>math.h:903:107: error: '::frexpl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double frexp(long double __lcpp_x, int* __lcpp_e) _NOEXCEPT {return ::frexpl(__lcpp_x, __lcpp_e);}<br>
>                                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double ldexp(long double, int)':<br>
> ../projects/libcxx/include/<wbr>math.h:915:106: error: '::ldexpl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double ldexp(long double __lcpp_x, int __lcpp_e) _NOEXCEPT {return ::ldexpl(__lcpp_x, __lcpp_e);}<br>
>                                                                                                           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double log(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:927:90: error: '::logl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double log(long double __lcpp_x) _NOEXCEPT {return ::logl(__lcpp_x);}<br>
>                                                                                           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double log10(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:939:92: error: '::log10l' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double log10(long double __lcpp_x) _NOEXCEPT {return ::log10l(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double modf(long double, long double*)':<br>
> ../projects/libcxx/include/<wbr>math.h:951:114: error: '::modfl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double modf(long double __lcpp_x, long double* __lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                   ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double pow(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:958:112: error: '::powl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::powl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                 ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double sin(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:981:90: error: '::sinl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double sin(long double __lcpp_x) _NOEXCEPT {return ::sinl(__lcpp_x);}<br>
>                                                                                           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double sinh(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:993:91: error: '::sinhl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double sinh(long double __lcpp_x) _NOEXCEPT {return ::sinhl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double sqrt(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1005:91: error: '::sqrtl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double sqrt(long double __lcpp_x) _NOEXCEPT {return ::sqrtl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double tan(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1017:90: error: '::tanl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double tan(long double __lcpp_x) _NOEXCEPT {return ::tanl(__lcpp_x);}<br>
>                                                                                           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double tanh(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1029:91: error: '::tanhl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double tanh(long double __lcpp_x) _NOEXCEPT {return ::tanhl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double acosh(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1040:92: error: '::acoshl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double acosh(long double __lcpp_x) _NOEXCEPT {return ::acoshl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double asinh(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1050:92: error: '::asinhl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double asinh(long double __lcpp_x) _NOEXCEPT {return ::asinhl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double atanh(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1060:92: error: '::atanhl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double atanh(long double __lcpp_x) _NOEXCEPT {return ::atanhl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double cbrt(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1070:91: error: '::cbrtl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double cbrt(long double __lcpp_x) _NOEXCEPT {return ::cbrtl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double copysign(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1085:10: error: '::copysignl' has not been declared<br>
>    return ::copysignl(__lcpp_x, __lcpp_y);<br>
>           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double erf(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1107:90: error: '::erfl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double erf(long double __lcpp_x) _NOEXCEPT {return ::erfl(__lcpp_x);}<br>
>                                                                                           ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double erfc(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1117:91: error: '::erfcl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double erfc(long double __lcpp_x) _NOEXCEPT {return ::erfcl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double exp2(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1127:91: error: '::exp2l' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double exp2(long double __lcpp_x) _NOEXCEPT {return ::exp2l(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double expm1(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1137:92: error: '::expm1l' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double expm1(long double __lcpp_x) _NOEXCEPT {return ::expm1l(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double fdim(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1147:113: error: '::fdiml' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double fdim(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::fdiml(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                  ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double fma(long double, long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1168:134: error: '::fmal' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double fma(long double __lcpp_x, long double __lcpp_y, long double __lcpp_z) _NOEXCEPT {return ::fmal(__lcpp_x, __lcpp_y, __lcpp_z);}<br>
>                                                                                                                                       ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double fmax(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1191:113: error: '::fmaxl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double fmax(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::fmaxl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                  ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double fmin(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1212:113: error: '::fminl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double fmin(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::fminl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                  ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double hypot(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1233:114: error: '::hypotl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double hypot(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::hypotl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                   ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'int ilogb(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1254:84: error: '::ilogbl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY int ilogb(long double __lcpp_x) _NOEXCEPT {return ::ilogbl(__lcpp_x);}<br>
>                                                                                     ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double lgamma(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1264:93: error: '::lgammal' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double lgamma(long double __lcpp_x) _NOEXCEPT {return ::lgammal(__lcpp_x);}<br>
>                                                                                              ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long long int llrint(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1274:91: error: '::llrintl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long long llrint(long double __lcpp_x) _NOEXCEPT {return ::llrintl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long long int llround(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1284:92: error: '::llroundl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long long llround(long double __lcpp_x) _NOEXCEPT {return ::llroundl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double log1p(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1294:92: error: '::log1pl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double log1p(long double __lcpp_x) _NOEXCEPT {return ::log1pl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double log2(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1304:91: error: '::log2l' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double log2(long double __lcpp_x) _NOEXCEPT {return ::log2l(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double logb(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1314:91: error: '::logbl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double logb(long double __lcpp_x) _NOEXCEPT {return ::logbl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long int lrint(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1324:85: error: '::lrintl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long lrint(long double __lcpp_x) _NOEXCEPT {return ::lrintl(__lcpp_x);}<br>
>                                                                                      ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long int lround(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1334:86: error: '::lroundl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long lround(long double __lcpp_x) _NOEXCEPT {return ::lroundl(__lcpp_x);}<br>
>                                                                                       ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double nearbyint(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1346:96: error: '::nearbyintl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double nearbyint(long double __lcpp_x) _NOEXCEPT {return ::nearbyintl(__lcpp_x);}<br>
>                                                                                                 ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double nextafter(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1356:118: error: '::nextafterl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double nextafter(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::nextafterl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                       ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double nexttoward(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1377:119: error: '::nexttowardl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double nexttoward(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::nexttowardl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                        ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double remainder(long double, long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1387:118: error: '::remainderl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double remainder(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::remainderl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                                       ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double remquo(long double, long double, int*)':<br>
> ../projects/libcxx/include/<wbr>math.h:1408:130: error: '::remquol' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double remquo(long double __lcpp_x, long double __lcpp_y, int* __lcpp_z) _NOEXCEPT {return ::remquol(__lcpp_x, __lcpp_y, __lcpp_z);}<br>
>                                                                                                                                   ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double rint(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1429:91: error: '::rintl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double rint(long double __lcpp_x) _NOEXCEPT {return ::rintl(__lcpp_x);}<br>
>                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double round(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1439:92: error: '::roundl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double round(long double __lcpp_x) _NOEXCEPT {return ::roundl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double scalbln(long double, long int)':<br>
> ../projects/libcxx/include/<wbr>math.h:1449:109: error: '::scalblnl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double scalbln(long double __lcpp_x, long __lcpp_y) _NOEXCEPT {return ::scalblnl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                              ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double scalbn(long double, int)':<br>
> ../projects/libcxx/include/<wbr>math.h:1459:107: error: '::scalbnl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double scalbn(long double __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbnl(__lcpp_x, __lcpp_y);}<br>
>                                                                                                            ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double tgamma(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1469:93: error: '::tgammal' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double tgamma(long double __lcpp_x) _NOEXCEPT {return ::tgammal(__lcpp_x);}<br>
>                                                                                              ^~<br>
> ../projects/libcxx/include/<wbr>math.h: In function 'long double trunc(long double)':<br>
> ../projects/libcxx/include/<wbr>math.h:1479:92: error: '::truncl' has not been declared<br>
>  inline _LIBCPP_INLINE_VISIBILITY long double trunc(long double __lcpp_x) _NOEXCEPT {return ::truncl(__lcpp_x);}<br>
>                                                                                             ^~<br>
> In file included from ../projects/libcxx/include/<wbr>random:1638:0,<br>
>                  from ../projects/libcxx/src/<wbr>algorithm.cpp:11:<br>
> ../projects/libcxx/include/<wbr>cmath: At global scope:<br>
> ../projects/libcxx/include/<wbr>cmath:464:9: error: '::acosl' has not been declared<br>
>  using ::acosl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:465:9: error: '::asinl' has not been declared<br>
>  using ::asinl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:466:9: error: '::atanl' has not been declared<br>
>  using ::atanl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:467:9: error: '::atan2l' has not been declared<br>
>  using ::atan2l;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:468:9: error: '::ceill' has not been declared<br>
>  using ::ceill;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:469:9: error: '::cosl' has not been declared<br>
>  using ::cosl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:470:9: error: '::coshl' has not been declared<br>
>  using ::coshl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:471:9: error: '::expl' has not been declared<br>
>  using ::expl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:472:9: error: '::fabsl' has not been declared<br>
>  using ::fabsl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:473:9: error: '::floorl' has not been declared<br>
>  using ::floorl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:474:9: error: '::fmodl' has not been declared<br>
>  using ::fmodl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:475:9: error: '::frexpl' has not been declared<br>
>  using ::frexpl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:476:9: error: '::ldexpl' has not been declared<br>
>  using ::ldexpl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:477:9: error: '::logl' has not been declared<br>
>  using ::logl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:478:9: error: '::log10l' has not been declared<br>
>  using ::log10l;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:479:9: error: '::modfl' has not been declared<br>
>  using ::modfl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:480:9: error: '::powl' has not been declared<br>
>  using ::powl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:481:9: error: '::sinl' has not been declared<br>
>  using ::sinl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:482:9: error: '::sinhl' has not been declared<br>
>  using ::sinhl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:483:9: error: '::sqrtl' has not been declared<br>
>  using ::sqrtl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:484:9: error: '::tanl' has not been declared<br>
>  using ::tanl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:486:9: error: '::tanhl' has not been declared<br>
>  using ::tanhl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:487:9: error: '::acoshl' has not been declared<br>
>  using ::acoshl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:488:9: error: '::asinhl' has not been declared<br>
>  using ::asinhl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:489:9: error: '::atanhl' has not been declared<br>
>  using ::atanhl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:490:9: error: '::cbrtl' has not been declared<br>
>  using ::cbrtl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:492:9: error: '::copysignl' has not been declared<br>
>  using ::copysignl;<br>
>          ^~~~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:494:9: error: '::erfl' has not been declared<br>
>  using ::erfl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:495:9: error: '::erfcl' has not been declared<br>
>  using ::erfcl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:496:9: error: '::exp2l' has not been declared<br>
>  using ::exp2l;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:497:9: error: '::expm1l' has not been declared<br>
>  using ::expm1l;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:498:9: error: '::fdiml' has not been declared<br>
>  using ::fdiml;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:499:9: error: '::fmal' has not been declared<br>
>  using ::fmal;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:500:9: error: '::fmaxl' has not been declared<br>
>  using ::fmaxl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:501:9: error: '::fminl' has not been declared<br>
>  using ::fminl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:502:9: error: '::hypotl' has not been declared<br>
>  using ::hypotl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:503:9: error: '::ilogbl' has not been declared<br>
>  using ::ilogbl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:504:9: error: '::lgammal' has not been declared<br>
>  using ::lgammal;<br>
>          ^~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:505:9: error: '::llrintl' has not been declared<br>
>  using ::llrintl;<br>
>          ^~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:506:9: error: '::llroundl' has not been declared<br>
>  using ::llroundl;<br>
>          ^~~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:507:9: error: '::log1pl' has not been declared<br>
>  using ::log1pl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:508:9: error: '::log2l' has not been declared<br>
>  using ::log2l;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:509:9: error: '::logbl' has not been declared<br>
>  using ::logbl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:510:9: error: '::lrintl' has not been declared<br>
>  using ::lrintl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:511:9: error: '::lroundl' has not been declared<br>
>  using ::lroundl;<br>
>          ^~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:512:9: error: '::nanl' has not been declared<br>
>  using ::nanl;<br>
>          ^~~~<br>
> ../projects/libcxx/include/<wbr>cmath:513:9: error: '::nearbyintl' has not been declared<br>
>  using ::nearbyintl;<br>
>          ^~~~~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:514:9: error: '::nextafterl' has not been declared<br>
>  using ::nextafterl;<br>
>          ^~~~~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:515:9: error: '::nexttowardl' has not been declared<br>
>  using ::nexttowardl;<br>
>          ^~~~~~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:516:9: error: '::remainderl' has not been declared<br>
>  using ::remainderl;<br>
>          ^~~~~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:517:9: error: '::remquol' has not been declared<br>
>  using ::remquol;<br>
>          ^~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:518:9: error: '::rintl' has not been declared<br>
>  using ::rintl;<br>
>          ^~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:519:9: error: '::roundl' has not been declared<br>
>  using ::roundl;<br>
>          ^~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:520:9: error: '::scalblnl' has not been declared<br>
>  using ::scalblnl;<br>
>          ^~~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:521:9: error: '::scalbnl' has not been declared<br>
>  using ::scalbnl;<br>
>          ^~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:522:9: error: '::tgammal' has not been declared<br>
>  using ::tgammal;<br>
>          ^~~~~~~<br>
> ../projects/libcxx/include/<wbr>cmath:523:9: error: '::truncl' has not been declared<br>
>  using ::truncl;<br>
>          ^~~~~~<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br>
</blockquote></div><br></div></div></div>