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

            Bug ID: 20080
           Summary: opt executable fails to link in latest svn when
                    building with autotools
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: opt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

I'm trying to build latest llvm-svn on archlinux. opt executable fails to link
with the following error:

llvm[0]: Linking Release executable opt (without symbols)
/root/llvm-svn/src/llvm/tools/opt/Release/opt.o: In function
`llvm::cl::list<llvm::PassInfo const*, bool,
llvm::PassNameParser>::getExtraOptionNames(llvm::SmallVectorImpl<char
const*>&)':
opt.cpp:(.text._ZN4llvm2cl4listIPKNS_8PassInfoEbNS_14PassNameParserEE19getExtraOptionNamesERNS_15SmallVectorImplIPKcEE[_ZN4llvm2cl4listIPKNS_8PassInfoEbNS_14PassNameParserEE19getExtraOptionNamesERNS_15SmallVectorImplIPKcEE]+0x56):
undefined reference to `llvm::cl::parser<llvm::PassInfo
const*>::getOption(unsigned int) const'
collect2: error: ld returned 1 exit status

Using gcc version 4.9.0 20140604 (prerelease) and binutils 2.24.

Archlinux PKGBUILD, along with configure options is located at
https://aur.archlinux.org/packages/ll/llvm-svn/PKGBUILD

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to