Nicolas Raynaud
2009-Apr-03 01:16 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Thanks for your help Dale, I got a little bit more clue (in snipped the begining the build messages) : ar cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Alarm.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Disassembler.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/DynamicLibrary.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Host.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/IncludeFile.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Memory.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Mutex.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Path.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Process.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Program.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Signals.o /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/TimeValue.o ar: /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a: Opération invalide make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a] Error 1 make: *** [all] Error 1 it looks like ar did an invalid operation (I suppose it got killed by a signal). I don't know what to do to diagnostic this. here is the ar version string for ar, is this what's expected ? nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ ar --version GNU ar (GNU Binutils) 2.19 Nico. On Fri, Apr 3, 2009 at 2:50 AM, Dale Johannesen <dalej at apple.com> wrote:> make VERBOSE=1 might tell you something. Apparently the shared > library link is failing for some reason. > > On Apr 2, 2009, at 5:45 PMPDT, Nicolas Raynaud wrote: > >> Hi all, llvm doesn't seems to build but it doesn't give me any useful >> error message : >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ make >> llvm[1]: Compiling Alarm.cpp for Debug build >> llvm[1]: Compiling Disassembler.cpp for Debug build >> llvm[1]: Compiling DynamicLibrary.cpp for Debug build >> llvm[1]: Compiling Host.cpp for Debug build >> llvm[1]: Compiling IncludeFile.cpp for Debug build >> llvm[1]: Compiling Memory.cpp for Debug build >> llvm[1]: Compiling Mutex.cpp for Debug build >> llvm[1]: Compiling Path.cpp for Debug build >> llvm[1]: Compiling Process.cpp for Debug build >> llvm[1]: Compiling Program.cpp for Debug build >> llvm[1]: Compiling Signals.cpp for Debug build >> llvm[1]: Compiling TimeValue.cpp for Debug build >> llvm[1]: Building Debug Archive Library libLLVMSystem.a >> make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/ >> libLLVMSystem.a] >> Error 1 >> make: *** [all] Error 1 >> >> it looks like the file is empty : >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/build$ ls -l >> Debug/lib/libLLVMSystem.a >> -rw-r--r-- 1 nraynaud nraynaud 0 3 avr 02:28 Debug/lib/ >> libLLVMSystem.a >> >> Did I miss any log file where a useful error message can have been >> redirected to ? >> >> about the context : >> I initialy tried the 2.5 tarball, and then tried the svn, with the >> same symptom >> >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ svn info >> Path: . >> URL: http://llvm.org/svn/llvm-project/llvm/trunk >> Repository Root: http://llvm.org/svn/llvm-project >> Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 >> Revision: 68345 >> >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ uname -a >> Darwin macaron-2.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 >> 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 >> >> nraynaud at macaron-2:~/Desktop/geek/llvm-svn/llvm$ gcc --version >> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) >>
Kenneth Boyd
2009-Apr-03 02:25 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Nicolas Raynaud wrote:> Thanks for your help Dale, > > I got a little bit more clue (in snipped the begining the build messages) : > > ar cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Alarm.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Disassembler.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/DynamicLibrary.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Host.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/IncludeFile.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Memory.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Mutex.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Path.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Process.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Program.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Signals.o > /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/TimeValue.o > ar: /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a: > Opération invalide > make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a] > Error 1 > make: *** [all] Error 1 > > it looks like ar did an invalid operation (I suppose it got killed by a signal). >This looks familiar. (There's a local patch I use to bypass this. I haven't worked out how to safely merge it into LLVM mainline) Which Perl are you using? Kenneth Boyd
Nicolas Raynaud
2009-Apr-03 02:33 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Thanks for your reply, Perl is implied ??? here is the version : nraynaud at macaron-2:~/Desktop/geek/fp$ perl --version This is perl, v5.8.8 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) the two patches are : Locally applied patches: fix for regcomp CVE-2007-5116 security vulnerability fix for double-free CVE-2008-1927 security vulnerability Thanks for your help, Nico. On Fri, Apr 3, 2009 at 4:25 AM, Kenneth Boyd <zaimoni at zaimoni.com> wrote:> Nicolas Raynaud wrote: >> Thanks for your help Dale, >> >> I got a little bit more clue (in snipped the begining the build messages) : >> >> ar cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Alarm.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Disassembler.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/DynamicLibrary.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Host.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/IncludeFile.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Memory.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Mutex.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Path.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Process.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Program.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/Signals.o >> /Users/nraynaud/Desktop/geek/llvm-svn/build/lib/System/Debug/TimeValue.o >> ar: /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a: >> Opération invalide >> make[1]: *** [/Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a] >> Error 1 >> make: *** [all] Error 1 >> >> it looks like ar did an invalid operation (I suppose it got killed by a signal). >> > This looks familiar. (There's a local patch I use to bypass this. I > haven't worked out how to safely merge it into LLVM mainline) Which > Perl are you using? > > Kenneth Boyd > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Maybe Matching Threads
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message
- [LLVMdev] build error on libLLVMSystem.a without any useful error message