[llvm-commits] broken arrow

NAKAMURA Takumi geek4civic at gmail.com
Sun May 13 21:45:26 PDT 2012


See also
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142417.html
2012/05/14 2:05 "Yiannis Tsiouris" <gtsiour at softlab.ntua.gr>:

>  On 05/13/2012 07:34 PM, Justin Holewinski wrote:
>
> On Sun, May 13, 2012 at 5:35 AM, NAKAMURA Takumi <geek4civic at gmail.com>wrote:
>
>> Howard,
>>
>> I guess it might help to regenerate Makefile.llvmbuild.
>>
>> 1) "./config.status" to regenerate Makefile.config.
>> 2) Remove Makefile.llvmbuild
>>
>
>  Is this an issue with LLVMBuild, or did I screw something up when
> committing the NVPTX sources?
>
>
>>
>> HTH,
>> ...Takumi
>>
>> 2012/5/13 Howard Hinnant <hhinnant at apple.com>:
>>  > llvm[2]: Linking Debug+Asserts executable llvm-mc
>> > Undefined symbols for architecture x86_64:
>> >  "_LLVMInitializeNVPTXTargetInfo", referenced from:
>> >     llvm::InitializeAllTargetInfos() in llvm-mc.o
>> >  "_LLVMInitializeNVPTXTargetMC", referenced from:
>> >     llvm::InitializeAllTargetMCs() in llvm-mc.o
>> > ld: symbol(s) not found for architecture x86_64
>> > clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> > make[2]: ***
>> [/Users/hinnant/Development/llvmbuild/Debug+Asserts/bin/llvm-mc] Error 1
>> > make[1]: *** [llvm-mc/.makeall] Error 2
>> > make[1]: *** Waiting for unfinished jobs....
>> > Undefined symbols for architecture x86_64:
>> >  "_LLVMInitializeNVPTXTarget", referenced from:
>> >     llvm::InitializeAllTargets() in llc.o
>> >  "_LLVMInitializeNVPTXTargetMC", referenced from:
>> >     llvm::InitializeAllTargetMCs() in llc.o
>> >  "_LLVMInitializeNVPTXAsmPrinter", referenced from:
>> >     llvm::InitializeAllAsmPrinters() in llc.o
>> >  "_LLVMInitializeNVPTXTargetInfo", referenced from:
>> >     llvm::InitializeAllTargetInfos() in llc.o
>> > ld: symbol(s) not found for architecture x86_64
>> > clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> > make[2]: ***
>> [/Users/hinnant/Development/llvmbuild/Debug+Asserts/bin/llc] Error 1
>> > make[1]: *** [llc/.makeall] Error 2
>> > make: *** [all] Error 1
>>
>  I faced a similar problem when I checked-out the latest LLVM of tree and
> tried to compile it but it seems that i had just forgotten to re-configure
> it! Maybe that's Howard's problem too. When i did that everything worked
> great. So, this is not your problem. :-)
>
> ~y.
>
> --
> Yiannis Tsiouris
> Ph.D. student,
> Software Engineering Laboratory,
> National Technical University of Athens
> WWW: http://www.softlab.ntua.gr/~gtsiour
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120514/9c986937/attachment.html>


More information about the llvm-commits mailing list