[llvm-commits] [PATCH] More changes to build LLVM with xlC 12.1 on AIX 7.1

Kai kai at redstar.de
Mon Nov 5 09:08:23 PST 2012


Ping.

On 31.10.2012 12:54, Kai wrote:
> Hi!
>
> Here are a couple more changes required for xlC:
>
> xlc_alignoftest.diff:
> The AlignOf unittest must use GNU style __attribute()__, too.
>
> xlc_backinserter.diff:
> xlC does not find std::copy and std::back_inserter if the namespace is
> missing. Error message is:
>
> "../llvm-git/include/llvm/Analysis/BlockFrequencyImpl.h", line 274.52:
> 1540-0274 (S) The name lookup for "back_inserter" did not find a
> declaration.
> "../llvm-git/include/llvm/Analysis/BlockFrequencyImpl.h", line 274.52:
> 1540-1226 (I) Declarations for non-dependent names are resolved in the
> template definition.
> "../llvm-git/include/llvm/Analysis/BlockFrequencyImpl.h", line 274.52:
> 1540-1227 (I) "back_inserter" does not depend on a template argument.
>
> xlc_debuginfo.diff:
> DWARFDebugArangeSet uses Header as a (public) type name and a (private)
> member name. This leads to the error message:
>
> "../llvm-git/lib/DebugInfo/DWARFDebugArangeSet.h", line 51.10: 1540-0416
> (S) "Header" cannot be declared because its name has already been used.
> "../llvm-git/lib/DebugInfo/DWARFDebugArangeSet.h", line 51.3: 1540-0426
> (I) The name "Header" is used on line 51 of
> "../llvm-git/lib/DebugInfo/DWARFDebugArangeSet.h".
>
> I renamed the member Header to HeaderData to resolve it.
>
> xlc_unittests.diff:
> xlC does not find the right template if a template parameter is NULL.
> Help is to provide the type. Error message is:
>
> "../llvm-git/utils/unittest/googletest/include/gtest/gtest.h", line
> 1318.7: 1540-0207 (S) No common type found for operands with type "int"
> and "const int *".
> "../llvm-git/utils/unittest/googletest/include/gtest/gtest.h", line
> 1306.17: 1540-0700 (I) The previous message was produced while
> processing "testing::internal::CmpHelperEQ<int,const int *>(const char
> *, const char *, const int &, const int * const &)".
> "../llvm-git/utils/unittest/googletest/include/gtest/gtest.h", line
> 1354.12: 1540-0700 (I) The previous message was produced while
> processing "testing::internal::EqHelper<0>::Compare<int,const int
> *>(const char *, const char *, const int &, const int * const &)".
> "../llvm-git/unittests/ADT/ImmutableMapTest.cpp", line 40.3: 1540-0700
> (I) The previous message was produced while processing
> "<unnamed>::ImmutableMapTest_MultiElemIntMapTest_Test::TestBody()".
>
>
> Please review and commit if it looks good.
>
> Regards
> Kai
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>





More information about the llvm-commits mailing list