[LLVMbugs] [Bug 20080] New: opt executable fails to link in latest svn when building with autotools

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 19 06:41:18 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: krejzi at email.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140619/fdb20834/attachment.html>


More information about the llvm-bugs mailing list