<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY>
<DIV>
<DIV style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">We noticed this too, but assumed it was just progress on the uptake of cpp11 features. We would rather not need to upgrade to 4.8 either, but understand if this is just the path that is being taken.<BR><BR>Colin</DIV></DIV>
<DIV dir=ltr>
<HR>
<SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">From: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:sylvestre@debian.org">Sylvestre Ledru</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Sent: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">‎24/‎11/‎2013 11:17</SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">To: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">[lldb-dev] lldb 3.4 rc1 is failing with gcc 4.6</SPAN><BR><BR></DIV>Hello,<BR><BR>I am working on the port of lldb on the various Debian architectures<BR>[1]. On some of them (sparc, s390x, powerpc, ia64, ...),<BR>the version of gcc used is 4.6 and lldb fails to build because of this<BR>declaration.<BR>    Mutex *m_mutex = nullptr;<BR>in include/lldb/Utility/Iterable.h<BR><BR>It fails with:<BR><BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h:197:22: sorry, unimplemented: non-static data member initializers<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h:197:22: error: 'constexpr' needed for in-class initialization of static data member 'm_mutex' of non-integral type<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h: In constructor 'lldb_private::LockingAdaptedIterable<C, E, A>::LockingAdaptedIterable(C&, lldb_private::Mutex&)':<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h:201:9: error: class 'lldb_private::LockingAdaptedIterable<C, E, A>' does not have any field named 'm_mutex'<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h:203:9: error: 'm_mutex' was not declared in this scope<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h: In constructor 'lldb_private::LockingAdaptedIterable<C, E, A>::LockingAdaptedIterable(lldb_private::LockingAdaptedIterable<C, E, A>&&)':<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h:208:9: error: class 'lldb_private::LockingAdaptedIterable<C, E, A>' does not have any field named 'm_mutex'<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h: In destructor 'lldb_private::LockingAdaptedIterable<C, E, A>::~LockingAdaptedIterable()':<BR>/«BUILDDIR»/llvm-toolchain-3.4-3.4~+rc1/tools/lldb/source/../include/lldb/Utility/Iterable.h:215:13: error: 'm_mutex' was not declared in this scope<BR><BR><BR>Is there a workaround to tackle this limitation ? I could switch to gcc<BR>4.8 but it would break the backport of lldb on http://llvm.org/apt/<BR>(especially on old Ubuntu without gcc 4.8)<BR><BR>Thanks,<BR>Sylvestre<BR><BR><BR><BR>[1] https://buildd.debian.org/status/package.php?p=llvm-toolchain-3.4<BR>_______________________________________________<BR>lldb-dev mailing list<BR>lldb-dev@cs.uiuc.edu<BR>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev<BR></BODY></HTML>