[cfe-commits] r146051 - /cfe/trunk/runtime/compiler-rt/Makefile

Kostya Serebryany kcc at google.com
Wed Dec 7 13:01:08 PST 2011


Thanks!

Question:
There seem to be no way to build 32- and 64-bit linux libraries with a
single make command.
Am I right?
Do you plan to change this?

This change requires to fix the asan driver
in tools/clang/lib/Driver/Tools.cpp, I'll prepare a patch unless you have
it ready.

Evgeniy, could you please prepare a similar patch for linux/arm (take
r146051 and r145950 as an example)

--kcc



On Wed, Dec 7, 2011 at 11:35 AM, Daniel Dunbar <daniel at zuster.org> wrote:

> Author: ddunbar
> Date: Wed Dec  7 13:35:10 2011
> New Revision: 146051
>
> URL: http://llvm.org/viewvc/llvm-project?rev=146051&view=rev
> Log:
> runtime/Linux: Include the profile and ASAN libs on x86.
>
> Modified:
>    cfe/trunk/runtime/compiler-rt/Makefile
>
> Modified: cfe/trunk/runtime/compiler-rt/Makefile
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/compiler-rt/Makefile?rev=146051&r1=146050&r2=146051&view=diff
>
> ==============================================================================
> --- cfe/trunk/runtime/compiler-rt/Makefile (original)
> +++ cfe/trunk/runtime/compiler-rt/Makefile Wed Dec  7 13:35:10 2011
> @@ -93,10 +93,12 @@
>
>  # We currently only try to generate runtime libraries on x86.
>  ifeq ($(ARCH),x86)
> -RuntimeLibrary.linux.Configs += full-i386
> +RuntimeLibrary.linux.Configs += \
> +       full-i386 profile-i386 asan-i386
>  endif
>  ifeq ($(ARCH),x86_64)
> -RuntimeLibrary.linux.Configs += full-x86_64
> +RuntimeLibrary.linux.Configs += \
> +       full-x86_64 profile-x86_64 asan-x86_64
>  endif
>
>  endif
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111207/2f4531a9/attachment.html>


More information about the cfe-commits mailing list