<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Maybe it's time to update the Requirements section on Getting Started with the LLVM System [1]?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[1] <a href="http://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library">http://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-17 21:44 GMT+08:00 Hal Finkel via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm fairly sure the problem is that we still support building with gcc 4.8.x, and that version of gcc did not have std::to_string. It is not just an NDK issue.<br>
<br>
 -Hal<br>
<br>
<br>
On 05/17/2017 06:05 AM, Pavel Labath via llvm-dev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Diana,<br>
<br>
I am responsible for that bot, and probably a great number of those fixups.<br>
<br>
The root of the problem is that android NDK comes with a libstdc++<br>
which does not have std::to_string. I forgot the exact reason but Dan<br>
or Tamas (cc'ed) should know it. The NDK also comes with libc++, which<br>
does have working std::to_string, but this one is not compatible with<br>
older android devices. This part is being actively worked on though. I<br>
am going to sync up with Dan to see if I can give you any timeline on<br>
that.<br>
<br>
And yes, the bot does not build the AVR and other backends, that's why<br>
we get no std::string errors there.<br>
<br>
<br>
<br>
On 17 May 2017 at 11:12, Diana Picus via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I tried to use std::to_string somewhere and one of the bots yelled at<br>
me [1] because it couldn't find it.<br>
<br>
Searching through the mailing lists reveals a long stream of fixup<br>
patches trying to avoid std::to_string, but there are uses of it in<br>
tree in the AVR and Hexagon backends, libFuzzer and the Gold plugin. I<br>
can only imagine they got away with it because the particular bots<br>
that can't find std::to_string are probably not building them.<br>
<br>
Should we fix the bots and remove llvm::to_string? Or is it still too soon?<br>
Alternatively, should we replace all uses of std::to_string with<br>
llvm::to_string?<br>
<br>
Cheers,<br>
Diana<br>
<br>
[1] <a href="http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-buildserver/builds/8853/steps/build%20android/logs/stdio" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/build<wbr>ers/lldb-x86_64-ubuntu-14.04-<wbr>buildserver/builds/8853/steps/<wbr>build%20android/logs/stdio</a><br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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>
</blockquote>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Hal Finkel<br>
Lead, Compiler Technology and Programming Languages<br>
Leadership Computing Facility<br>
Argonne National Laboratory<br>
<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Wei-Ren Chen (陳韋任)<br>Homepage: <a href="https://people.cs.nctu.edu.tw/~chenwj" target="_blank">https://people.cs.nctu.edu.tw/~chenwj</a></div></div></div>
</div>