[llvm-commits] [Cygwin] No runtime lib profile patch

Aaron Gray aaronngray.lists at googlemail.com
Fri Jan 15 15:00:47 PST 2010


2010/1/13 Aaron Gray <aaronngray.lists at googlemail.com>

> Hi,
>
> I am getting the following build error on doing a full build on LLVM
> on Cygwin :-
>
> make[2]: Entering directory `/home/ang/build/llvm/runtime/libprofile'
> llvm[2]: Linking Debug Loadable Module profile_rt.dll
> /usr/bin/ld: warning: cannot find entry symbol __cygwin_dll_entry at 12;
> defaulting
>  to 67941000
> /home/ang/build/llvm/runtime/libprofile/Debug/BasicBlockTracing.o: In
> function `
> BBTraceAtExitHandler':
> Index: runtime/Makefile
> ===================================================================
> --- runtime/Makefile    (revision 93262)
> +++ runtime/Makefile    (working copy)
> @@ -20,8 +20,12 @@
>  PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
>  endif
>
> +ifeq ($(OS), Cygwin)
> +PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
> +endif
> +
>  endif
>
>  include $(LEVEL)/Makefile.common
>
>  install::
>
>
Could someone commit this patch. Dynamic libraries are not supported on
Cygwin. And unless someone needs profiling on Cygwin it can wait till
its actually needed.

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100115/17d1977e/attachment.html>


More information about the llvm-commits mailing list