[LLVMdev] build error on libLLVMSystem.a without any useful error message

Nicolas Raynaud
Fri, 03 Apr 2009 02:33:38 -0000

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
>