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 >
Kenneth Boyd
2009-Apr-03 03:28 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Nicolas Raynaud wrote:> 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, >I'm not thinking clearly, evidently. Looking at the more verbose results ar cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a .... looks wrong, I would have expected ar -cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a .... at that point. Editing the makefile would get you past that, but the changes would be lost on reconfiguring. Actually fixing this would require tweaking configure.ac . Kenneth Boyd
Nicolas Raynaud
2009-Apr-03 14:47 UTC
[LLVMdev] build error on libLLVMSystem.a without any useful error message
Thanks Kenneth, but it looks like the problem lies elsewhere :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 Isn't there any mean to get a stacktrace or an error message ? Something I can diagnose instead of blindly trying things ? Thanks, Nico. On Fri, Apr 3, 2009 at 5:28 AM, Kenneth Boyd <zaimoni at zaimoni.com> wrote:> Nicolas Raynaud wrote: >> 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, >> > I'm not thinking clearly, evidently. > > Looking at the more verbose results > > ar cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a .... > > looks wrong, I would have expected > > ar -cru /Users/nraynaud/Desktop/geek/llvm-svn/build/Debug/lib/libLLVMSystem.a .... > > at that point. > > Editing the makefile would get you past that, but the changes would be lost on reconfiguring. Actually fixing this would require tweaking configure.ac . > > Kenneth Boyd > > >
Apparently Analagous 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