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

Sylvestre Ledru sylvestre at debian.org
Sun Dec 8 13:55:53 PST 2013


Hello,

On 26/11/2013 14:54, Ed Maste wrote:
> 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.
Actually, your patch fixed my build issue. I was a mix up in the patches
on my side (sorry!)

The llvm toolchain is now fine on debian kfreebsd-{i386,amd64}
https://buildd.debian.org/status/package.php?p=llvm-toolchain-3.4

You can apply this patch.

Thanks,
Sylvestre




More information about the lldb-dev mailing list