https://llvm.org/bugs/show_bug.cgi?id=27890
Bug ID: 27890 Summary: error: multiple overloads of '__va_list_tag' instantiate to the same signature 'void ()' Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Modules Assignee: unassignedclangb...@nondot.org Reporter: biancacristinacriste...@gmail.com CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified The error is seen when trying to build llvm self-hosted with modules. cd /home/biancacr/clang_build_/obj_with_modules/utils/TableGen && /home/biancacr/clang_build_/inst/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -fmodules -Xclang -fmodules-local-submodule-visibility -fmodules-cache-path=module.cache -ffunction-sections -fdata-sections -I/home/biancacr/clang_build_/obj_with_modules/utils/TableGen -I/home/biancacr/clang_build_/src/utils/TableGen -I/home/biancacr/clang_build_/obj_with_modules/include -I/home/biancacr/clang_build_/src/include -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o -c /home/biancacr/clang_build_/src/utils/TableGen/TableGen.cpp error: multiple overloads of '__va_list_tag' instantiate to the same signature 'void ()' /home/biancacr/clang_build_/src/utils/TableGen/TableGen.cpp:52:14: note: in instantiation of function template specialization 'llvm::cl::values<int>' requested here cl::values(clEnumValN(PrintRecords, "print-records", ^ note: previous definition is here 1 error generated. utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/build.make:675: recipe for target 'utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o' failed make[2]: *** [utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o] Error 1 make[2]: Leaving directory '/home/biancacr/clang_build_/obj_with_modules' CMakeFiles/Makefile2:482: recipe for target 'utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/all' failed make[1]: *** [utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/all] Error 2 make[1]: Leaving directory '/home/biancacr/clang_build_/obj_with_modules' Makefile:136: recipe for target 'all' failed make: *** [all] Error 2 Presummably we cannot merge properly the __builtin_va_list. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs