[lldb-dev] lldb 3.4 rc1 is failing with gcc 4.6

Ed Maste emaste at freebsd.org
Tue Nov 26 05:54:54 PST 2013


On 24 November 2013 06:15, Sylvestre Ledru <sylvestre at debian.org> wrote:
> Hello,
>
> I am working on the port of lldb on the various Debian architectures
> [1].

The kFreeBSD-amd64 failure there is a missing
lldb_private::Host::LaunchProcess.  Is testing for __GLIBC__ as well
reasonable?

diff --git a/source/Host/common/Host.cpp b/source/Host/common/Host.cpp
index d812ae0..787d165 100644
--- a/source/Host/common/Host.cpp
+++ b/source/Host/common/Host.cpp
@@ -1569,7 +1569,7 @@ Host::RunShellCommand (const char *command,
     return error;
 }

-#if defined(__linux__) or defined(__FreeBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__GLIBC__)
 // The functions below implement process launching via posix_spawn() for Linux
 // and FreeBSD.



More information about the lldb-dev mailing list