[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing

Tanya Lattner lattner at apple.com
Tue Oct 20 12:16:53 PDT 2009


On Oct 20, 2009, at 12:05 PM, Aaron Gray wrote:

> 2009/10/20 Tanya Lattner <lattner at apple.com>:
>>
>> On Oct 20, 2009, at 5:49 AM, Jay Foad wrote:
>>
>>>> To test clang:
>>>> 1) Compile llvm and clang from source.
>>>
>>> LLVM fails to build for me on Cygwin. I get:
>>>
>>
>> Does TOT build? If not, please file a bug.
>
> No. Theres the runtime install bug (below), and llvm-gcc has a bug
> that I thought there was a patch for in prerelease 1, but did not make
> it into prerelease 2 for some reason.
>

The bug for llvm-gcc did go into the release:
http://lists.cs.uiuc.edu/mailman/private/llvm-branch-commits/2009-September/000579.html

I never got a patch or link to the commit to TOT for the runtime  
install bug, but now I do see a mention of it in a previous email that  
you sent me. Since this is a Makefile only change and only for cygwin,  
I'll see if Chris will let me include it. I normally don't do this,  
but its really safe since it won't impact anything except cygwin  
install.

-Tanya


>> Unfortunately Cygwin is not in our release criteria. I'd like to have
>> a buildbot running (if there is not one already) and then get someone
>> to qualify it for the release.
>
> No theres no buildbot for Cygwin.
>
> Aaron
>
>> -Tanya
>>
>>> make[1]: Entering directory `/home/foad/llvm/objdir-2.6/runtime'
>>> make[2]: Entering directory `/home/foad/llvm/objdir-2.6/runtime/
>>> libprofile'
>>> llvm[2]: Compiling BasicBlockTracing.c for Release build (PIC)
>>> llvm[2]: Compiling BlockProfiling.c for Release build (PIC)
>>> llvm[2]: Compiling CommonProfiling.c for Release build (PIC)
>>> llvm[2]: Compiling EdgeProfiling.c for Release build (PIC)
>>> llvm[2]: Compiling FunctionProfiling.c for Release build (PIC)
>>> llvm[2]: Linking Release Loadable Module profile_rt.dll
>>> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
>>> warning: cannot find entry symbol __cygwin_dll_entry at 12;  
>>> defaulting to
>>> 61ec1000
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> BasicBlockTracing.o:BasicBlockTracing.c:(.text+0x36):
>>> undefined reference to `_free'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> BasicBlockTracing.o:BasicBlockTracing.c:(.text+0xca):
>>> undefined reference to `_malloc'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> BasicBlockTracing.o:BasicBlockTracing.c:(.text+0xe8):
>>> undefined reference to `_atexit'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> BlockProfiling.o:BlockProfiling.c:(.text+0x65):
>>> undefined reference to `_atexit'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x76):
>>> undefined reference to `_strdup'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x9a):
>>> undefined reference to `_memmove'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0xe3):
>>> undefined reference to `_memmove'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x105):
>>> undefined reference to `_printf'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x113):
>>> undefined reference to `_puts'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x13c):
>>> undefined reference to `_strlen'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x14e):
>>> undefined reference to `_malloc'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x182):
>>> undefined reference to `_strlen'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x19b):
>>> undefined reference to `_memcpy'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x1fb):
>>> undefined reference to `_write'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x21a):
>>> undefined reference to `_write'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x23b):
>>> undefined reference to `_write'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x25e):
>>> undefined reference to `_open'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x296):
>>> undefined reference to `_write'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x2b5):
>>> undefined reference to `_write'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x2d6):
>>> undefined reference to `_write'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x30d):
>>> undefined reference to `_write'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x332):
>>> undefined reference to `_fprintf'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x33e):
>>> undefined reference to `_perror'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> EdgeProfiling.o:EdgeProfiling.c:(.text+0x65):
>>> undefined reference to `_atexit'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> FunctionProfiling.o:FunctionProfiling.c:(.text+0x65):
>>> undefined reference to `_atexit'
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [/home/foad/llvm/objdir-2.6/Release/lib/profile_rt.dll]
>>> Error 1
>>> make[2]: Leaving directory `/home/foad/llvm/objdir-2.6/runtime/
>>> libprofile'
>>> make[1]: *** [libprofile/.makeall] Error 2
>>> make[1]: Leaving directory `/home/foad/llvm/objdir-2.6/runtime'
>>> make: *** [all] Error 1
>>>
>>>> When reporting your results, please provide details on what
>>>> platform you compiled on, and how
>>>> you built LLVM (src == obj, or src != obj), clang, and/or llvm-gcc.
>>>
>>> $ uname -a
>>> CYGWIN_NT-5.1 foad-pc 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
>>>
>>> src != obj
>>>
>>> clang
>>>
>>> Thanks,
>>> Jay.
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>




More information about the llvm-dev mailing list