[llvm-bugs] [Bug 35849] New: strtoll undefined

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 7 10:18:39 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=35849

            Bug ID: 35849
           Summary: strtoll undefined
           Product: new-bugs
           Version: 3.5
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mail at gabucino.hu
                CC: llvm-bugs at lists.llvm.org

Somebody riddle me this: ever since 3.5.0 llvm+cfe doesn't build on FreeBSD
8.4. Due to this:

[  5%] Building CXX object
lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o
/data/nfs/tgp/src/llvm-3.5.0.src/lib/TableGen/TGLexer.cpp: In member function
'llvm::tgtok::TokKin
/data/nfs/tgp/src/llvm-3.5.0.src/lib/TableGen/TGLexer.cpp:392:19: error:
'strtoll' was not declare
      CurIntVal = strtoll(NumStart, nullptr, 16);
                  ^~~~~~~

But earlier in the output there's this:

-- Looking for strtoll
-- Looking for strtoll - found

So what gives? I've tried all GCC from 4 to 7.2.0.

LLVM+CFE 3.4.2 builds OK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180107/e56d9100/attachment.html>


More information about the llvm-bugs mailing list