[lldb-dev] [Bug 20400] Ubuntu & Debian failing to find architecture for native binaries (and many other test failures)
Azat Khuzhin
a3at.mail at gmail.com
Thu Feb 26 02:10:11 PST 2015
On Thu, Feb 26, 2015 at 01:55:09AM -0800, Chaoren Lin wrote:
> > How is a fix for 32 bit builds only a solution for this issue?
>
> It's not. That's why I said "I think it's better to apply Azat's solution
> of using ArchSpec::IsCompatibleMatch() instead to prevent this issue from
> resurfacing on other platforms in the future."
>
> Feel free to add yourself as a reviewer here: http://reviews.llvm.org/D7897
I'm fine with this patch, and indeed it must fix not only 32bit builds.
Cheers,
Azat.
>
> On Thu, Feb 26, 2015 at 1:32 AM, René J.V. <rjvbertin at gmail.com> wrote:
>
> > On Thursday February 26 2015 06:27:35 bugzilla-daemon at llvm.org wrote:
> >
> > How is a fix for 32 bit builds only a solution for this issue?
> > I confirm Sylvestre's comment that the issue also affects 64 bit builds;
> > I'm running KUbuntu 14.04.2LTS and my own llvm/lldb PPA with
> > Debian/Experimental's 1:3.5.1-1~exp1 package.
> >
> > R.
> >
> > >http://llvm.org/bugs/show_bug.cgi?id=20400
> > >
> > >Chaoren Lin <chaorenl at google.com> changed:
> > >
> > > What |Removed |Added
> >
> > >----------------------------------------------------------------------------
> > > Status|NEW |RESOLVED
> > > Resolution|--- |FIXED
> > >
> > >--- Comment #13 from Chaoren Lin <chaorenl at google.com> ---
> > >Configuring cmake with LLVM_DEFAULT_TARGET_TRIPLE=i386-linux-gnu seems to
> > fix
> > >this issue on 32 bit builds. The default of i686-pc-linux-gnu is
> > compatible but
> > >not necessarily identical to the inferior binaries, so I think it's
> > better to
> > >apply Azat's solution of using ArchSpec::IsCompatibleMatch() instead to
> > prevent
> > >this issue from resurfacing on other platforms in the future.
More information about the lldb-dev
mailing list