<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - lldb fails to build under GNU/Linux i386"
   href="http://llvm.org/bugs/show_bug.cgi?id=20255">20255</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lldb fails to build under GNU/Linux i386
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>