[LLVMbugs] [Bug 13170] New: static const integral class member => undefined symbol

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 21 17:33:12 PDT 2012


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

             Bug #: 13170
           Summary: static const integral class member => undefined symbol
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: luc_j_bourhis at mac.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8740
  --> http://llvm.org/bugs/attachment.cgi?id=8740
The smallest file showing the problem I could write.

I did my best to reduce the problem to a smallish file: please find it
attached. To reproduce:

~> clang++ -o regress regress.cpp
Undefined symbols for architecture x86_64:
 
"sum_of_symmetric_rank_1_updates<symmetric_rank_k_update_simple_strategy<double,
8ul> >::rank_k", referenced from:
     
sum_of_symmetric_rank_1_updates<symmetric_rank_k_update_simple_strategy<double,
8ul> >::sum_of_symmetric_rank_1_updates(unsigned long) in regress-zJTeQG.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
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