[lldb-dev] [Bug 20255] New: lldb fails to build under GNU/Linux i386

Todd Fiala tfiala at google.com
Wed Jul 9 06:55:29 PDT 2014


I'll take this.  I have several bugs I need to look at on debian related to
builds.  Just need to carve out time...


On Wed, Jul 9, 2014 at 1:12 AM, <bugzilla-daemon at llvm.org> wrote:

>  Bug ID 20255 <http://llvm.org/bugs/show_bug.cgi?id=20255>  Summary lldb
> fails to build under GNU/Linux i386  Product lldb  Version unspecified
> Hardware PC  OS Linux  Status NEW  Severity release blocker  Priority P
> Component All Bugs  Assignee lldb-dev at cs.uiuc.edu  Reporter
> sylvestre at debian.org  Classification Unclassified
>
>  With gcc 4.8
>
> /tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp:
> In constructor '{anonymous}::ReadOperation::ReadOperation(lldb::addr_t, void*,
> lldb::addr_t, size_t&)':
> /tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp:507:29:
> error: invalid initialization of reference of type 'lldb::addr_t& {aka long
> long unsigned int&}' from expression of type 'size_t {aka unsigned int}'
>              m_result (result)
>
> [...]
>
>                 ^
> /tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp:
> In member function 'virtual lldb_private::Error
> lldb_private::NativeProcessLinux::ReadMemory(lldb::addr_t, void*, lldb::addr_t,
> lldb::addr_t&)':
> /tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp:3072:49:
> error: no matching function for call to
> '{anonymous}::ReadOperation::ReadOperation(lldb::addr_t&, void*&,
> lldb::addr_t&, lldb::addr_t&)'
>      ReadOperation op(addr, buf, size, bytes_read);
>
> Full command:
>
> if  g++-4.8
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/include
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/include
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux
>  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/../../../../include
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/../../../../include
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/clang/include
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/clang/include
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/../../../../source
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/../../../../source/Utility
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/../../../../source/Plugins/Process/Utility
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/../../../../source/Plugins/Process/POSIX
> -I/usr/include/python2.7 -I/usr/include/i386-linux-gnu/python2.7
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fomit-frame-pointer
> -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fPIC
> -Woverloaded-virtual -ffunction-sections -fdata-sections -Wcast-qual
> -fno-strict-aliasing -std=c++0x -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
> -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
> -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
> -I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/../../../../source/Plugins/Utility
> -D_FORTIFY_SOURCE=2  -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter
> -Wwrite-strings  -Wno-unknown-pragmas -Wno-sign-compare -Wno-sign-compare
> -Wno-unused-function   -Wno-maybe-uninitialized -Wno-missing-field-initializers
> -c -MMD -MP -MF
> "/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/Release/NativeProcessLinux.d.tmp"
> -MT
> "/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/Release/NativeProcessLinux.o"
> -MT
> "/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/Release/NativeProcessLinux.d"
> /tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
> -o
> /tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/Release/NativeProcessLinux.o
> ; \
>             then /bin/mv -f
> "/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/Release/NativeProcessLinux.d.tmp"
> "/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/Release/NativeProcessLinux.d";
> else /bin/rm
> "/tmp/buildd/llvm-toolchain-snapshot-3.5~svn212585/build-llvm/tools/lldb/source/Plugins/Process/Linux/Release/NativeProcessLinux.d.tmp";
> exit 1; fi
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You are the assignee for the bug.
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140709/6d3d05b7/attachment.html>


More information about the lldb-dev mailing list