[LLVMbugs] [Bug 18461] New: [powerpc-darwin8] associative container size_type != size_t ?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 13 13:42:56 PST 2014


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

            Bug ID: 18461
           Summary: [powerpc-darwin8] associative container size_type !=
                    size_t ?
           Product: libc++
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I've built libc++ using a recent stage-1 clang on the powerpc-darwin8 branch
[merged r198872] using libsupc++.a as the ABI layer.  

Many associative container tests fail like this:

types.pass.cpp:63:5: error: static_assert failed ""
    static_assert((std::is_same<std::map<int, double, std::less<int>,
min_alloca
tor<std::pair<const int, double>>>::size_type, std::size_t>::value), "");
    ^            
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
test/containers/associative/map/types.pass.cpp failed to compile
Compile line was: /Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/clang++
-B/sw/lib/odcctools/bin -std=c++11 -stdlib=libc++ -save-temps -no-integrated-as
-I/Users/fang/local/src/LLVM-svn/libcxx.git/test/support
-I/Users/fang/local/src/LLVM-svn/libcxx.git/include
-L/Volumes/Isolde/sources/LLVM-svn/libcxx-supcxx-stage1-build/lib
types.pass.cpp
failed 1 tests in test/containers/associative/map

example of full test log:
http://www.csl.cornell.edu/~fang/sw/llvm/logs/libcxx-check-20131224.log.bz2

Suggestions for debugging?

-- 
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/20140113/d6972209/attachment.html>


More information about the llvm-bugs mailing list