[cfe-dev] [LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
Alexey Samsonov
samsonov at google.com
Thu Aug 22 00:31:26 PDT 2013
On Thu, Aug 22, 2013 at 11:23 AM, Steven Newbury <steve at snewbury.org.uk>wrote:
> On Wed, 2013-08-21 at 23:59 -0700, Dmitri Gribenko wrote:
> > On Wed, Aug 21, 2013 at 11:04 PM, Steven Newbury <steve at snewbury.org.uk>
> wrote:
> > > I've been trying
> > > to get x32 ABI support working in Clang and compiler-rt, I based off
> the
> > > previous clang patch, bringing it up to date with the changes in trunk,
> > > and hacked together handling of x32 "ARCH" support for compiler-rt.
> > > (there must be a better way??)
> >
> > If you are just trying to get basic things working, you don't need to
> > port compiler-rt immediately. It is still pretty important (for
> > example, to support features like Address Sanitizer), but not critical
> > -- you will still get a useable Clang without building compiler-rt.
> >
> > Dmitri
> >
>
> Having Clang working would of course be my primary goal, that said,
> being able to compile compiler-rt is a pretty good test all is working
> as it should be! :) It's also built/installed as part of the Gentoo
> llvm ebuild when the clang useflag is enabled, so from that point of
> view, I need to get it working.
>
I see, but it's not really good to build the libraries that are not
expected to work...I think you
should instead detect x32 host in the makefiles and avoid buidling
compiler-rt libraries in that case.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
--
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130822/6eca734b/attachment.html>
More information about the cfe-dev
mailing list