[LLVMbugs] [Bug 6925] New: "Aliasee not linked" assertion failed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 24 11:20:51 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6925

           Summary: "Aliasee not linked" assertion failed
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Linker
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mail at exoticorn.de
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4733)
 --> (http://llvm.org/bugs/attachment.cgi?id=4733)
application.bc & ucioption.bc, triggering assertion when linked

Trying to compile the stockfish 1.7.1 chess engine to llvm .bc files (with
clang++) and linking them into one big .bc file, I ran into this assertion:

dranke at dranke-eee:~/coding/stockfish/tmp$ llvm-link -v application.bc
ucioption.bc 
Loading 'application.bc'
Loading 'ucioption.bc'
Linking in 'ucioption.bc'
llvm-link: LinkModules.cpp:761: bool LinkAlias(llvm::Module*, const
llvm::Module*, std::map<const llvm::Value*, llvm::Value*, std::less<const
llvm::Value*>, std::allocator<std::pair<const llvm::Value* const, llvm::Value*>
> >&, std::string*): Assertion `VMI != ValueMap.end() && "Aliasee not linked"'
failed.
0  llvm-link 0x081b0b08
Stack dump:
0.    Program arguments: llvm-link -v application.bc ucioption.bc 
Aborted

(I have narrowed this down to any file linked together with ucioption.bc.)

This happens with both llvm/clang trunk and the 2.7 release branch.

I'll attach both .bc files.

The original source files can be found at http://www.stockfishchess.com/.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list