[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
Tanya Lattner
lattner at apple.com
Tue Oct 20 20:03:59 PDT 2009
On Oct 20, 2009, at 4:16 PM, Aaron Gray wrote:
> 2009/10/20 Tanya Lattner <lattner at apple.com>:
>>
>> 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 still cannot access the link, even though I can get at my mailman
> settings.
>
> I tried building pre release 2 llvm-gcc and it still had the bug. Its
> actually an LLVM bug manifesting in llvm-gcc build.
>
> ~~~~~~~
> /home/ang/build/llvm-gcc-4.2-2.6/./gcc/xgcc -B/home/ang/build/llvm-
> gcc-4.2-2.6/.
> /gcc/ -B/home/ang/llvm-gcc-4.2-2.6/i686-pc-cygwin/bin/ -B/home/ang/
> llvm-gcc-4.2-
> 2.6/i686-pc-cygwin/lib/ -isystem /home/ang/llvm-gcc-4.2-2.6/i686-pc-
> cygwin/inclu
> de -isystem /home/ang/llvm-gcc-4.2-2.6/i686-pc-cygwin/sys-include -
> O2 -I/home/a
> ng/src/llvm-gcc-4.2-2.6/gcc/../winsup/w32api/include -O2 -g -O2 -
> DIN_GCC -W
> -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-
> style-defin
> ition -isystem ./include -g -DIN_LIBGCC2 -
> D__GCC_FLOAT_NOT_NEEDED -I. -I. -
> I/home/ang/src/llvm-gcc-4.2-2.6/gcc -I/home/ang/src/llvm-gcc-4.2-2.6/
> gcc/. -I/ho
> me/ang/src/llvm-gcc-4.2-2.6/gcc/../include -I/home/ang/src/llvm-
> gcc-4.2-2.6/gcc/
> ../libcpp/include -I/home/ang/src/llvm-gcc-4.2-2.6/gcc/../
> libdecnumber -I../lib
> decnumber -I/home/ang/build/llvm-2.6/include -I/home/ang/src/
> llvm-2.6/include -D
> L_popcountsi2 -c /home/ang/src/llvm-gcc-4.2-2.6/gcc/libgcc2.c -o
> libgcc/./_popco
> untsi2.o
> assertion "V == V2 && "Didn't find key?"" failed: file "/home/ang/
> src/llvm-2.6/l
> ib/Support/StringMap.cpp", line 172
> ~~~~~~~
>
> This is solved in TOT but I could not ascertain which patch soled it.
>
>> 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.
>
> I tried to solve this but a NO_INSTALL for Cygwin OS did not seem to
> work. If someone else could solve this and produce a patch.
>
> 'make check' is also failing to run llvm-as and llvm-dis.
>
Ok, since cygwin is not a release blocker, just fix these in TOT and
2.7 will be even better. I will not be merging in any more patches.
Thanks,
Tanya
> Aaron
>
>>
>> -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