[LLVMdev] Build Failure!
Daniel Dunbar
daniel_dunbar at apple.com
Thu Dec 24 09:48:25 PST 2009
Yeah, this is annoying but unavoidable with the current build set up.
I personally rewrote my build scripts to do
--
make NO_RUNTIME_LIBS=1 # do most of the build
... make llvm-gcc ...
make # finish it off
--
- Daniel
On Dec 23, 2009, at 3:28 PM, Bill Wendling wrote:
> My mistake. I needed to update llvm-gcc as well. Sorry for the noise.
>
> -bw
>
> On Dec 23, 2009, at 3:22 PM, Bill Wendling wrote:
>
>> This is a new build failure as of today. Does this look familiar to anyone?
>>
>> -bw
>>
>> llvm[2]: Compiling CommonProfiling.ll to CommonProfiling.bc for Debug build (bytecode)
>> Intrinsic parameter #1 is wrong!
>> i64 (i8*, i32)* @llvm.objectsize.i64
>> Intrinsic parameter #1 is wrong!
>> i64 (i8*, i32)* @llvm.objectsize.i64
>> Intrinsic parameter #1 is wrong!
>> i64 (i8*, i32)* @llvm.objectsize.i64
>> Intrinsic parameter #1 is wrong!
>> i64 (i8*, i32)* @llvm.objectsize.i64
>> Intrinsic parameter #1 is wrong!
>> i64 (i8*, i32)* @llvm.objectsize.i64
>> Intrinsic parameter #1 is wrong!
>> i64 (i8*, i32)* @llvm.objectsize.i64
>> Broken module found, compilation aborted!
>> 0 opt 0x000000010ac32369 PrintStackTrace(void*) + 57
>> 1 opt 0x000000010ac329a5 SignalHandler(int) + 469
>> 2 libSystem.B.dylib 0x00007fff814c7d5a _sigtramp + 26
>> 3 libSystem.B.dylib 0x0000000100000001 _sigtramp + 2125693633
>> 4 libSystem.B.dylib 0x00007fff81541119 raise + 25
>> 5 libSystem.B.dylib 0x00007fff81561ddd abort + 90
>> 6 opt 0x000000010abc99bf (anonymous namespace)::Verifier::abortIfBroken() + 239
>> 7 opt 0x000000010abdbd6a (anonymous namespace)::Verifier::runOnFunction(llvm::Function&) + 140
>> 8 opt 0x000000010ab93b13 llvm::FPPassManager::runOnFunction(llvm::Function&) + 387
>> 9 opt 0x000000010ab8dd27 llvm::FPPassManager::runOnModule(llvm::Module&) + 127
>> 10 opt 0x000000010ab93664 llvm::MPPassManager::runOnModule(llvm::Module&) + 588
>> 11 opt 0x000000010ab9511c llvm::PassManagerImpl::run(llvm::Module&) + 156
>> 12 opt 0x000000010ab951c7 llvm::PassManager::run(llvm::Module&) + 45
>> 13 opt 0x000000010a683b3a main + 5786
>> 14 opt 0x000000010a675060 start + 52
>> 15 opt 0x0000000000000006 start + 4120424410
>> Stack dump:
>> 0. Program arguments: /Volumes/Sandbox/llvm/llvm.obj/Debug/bin/opt /Volumes/Sandbox/llvm/llvm.obj/runtime/libprofile/Debug/CommonProfiling.ll -std-compile-opts -strip-debug -o /Volumes/Sandbox/llvm/llvm.obj/runtime/libprofile/Debug/CommonProfiling.bc
>> 1. Running pass 'Function Pass Manager' on module '/Volumes/Sandbox/llvm/llvm.obj/runtime/libprofile/Debug/CommonProfiling.ll'.
>> 2. Running pass 'Module Verifier' on function '@save_arguments'
>> make[2]: *** [/Volumes/Sandbox/llvm/llvm.obj/runtime/libprofile/Debug/CommonProfiling.bc] Abort trap
>> make[1]: *** [libprofile/.makeall] Error 2
>> make: *** [all] Error 1
>>
>
More information about the llvm-dev
mailing list