Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [1/2029] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o
- FAILED: /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -stdlib=libc++ -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 -std=c++1y -fmodules -fcxx-modules -fcolor-diagnostics -ffunction-sections -fdata-sections -O3 -Ilib/Support -I../lib/Support -Iinclude -I../include -UNDEBUG -fno-exceptions -fno-rtti -MMD -MT lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o -c ../lib/Support/StringRef.cpp
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:41:
- /usr/include/inttypes.h:293:18: error: functions that differ only in their return type cannot be overloaded
- extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
- ~~~~~~~~~ ^
- /usr/include/inttypes.h:293:18: note: previous declaration is here
- extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
- ~~~~~~~~~ ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:41:
- /usr/include/inttypes.h:324:8: error: redefinition of a 'extern inline' function 'strtoimax' is not supported in C++
- __NTH (strtoimax (const char *__restrict nptr, char **__restrict endptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- /usr/include/inttypes.h:324:8: note: previous definition is here
- __NTH (strtoimax (const char *__restrict nptr, char **__restrict endptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:41:
- /usr/include/inttypes.h:336:8: error: redefinition of a 'extern inline' function 'strtoumax' is not supported in C++
- __NTH (strtoumax (const char *__restrict nptr, char **__restrict endptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- /usr/include/inttypes.h:336:8: note: previous definition is here
- __NTH (strtoumax (const char *__restrict nptr, char **__restrict endptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:41:
- /usr/include/inttypes.h:348:8: error: redefinition of a 'extern inline' function 'wcstoimax' is not supported in C++
- __NTH (wcstoimax (const __gwchar_t *__restrict nptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- /usr/include/inttypes.h:348:8: note: previous definition is here
- __NTH (wcstoimax (const __gwchar_t *__restrict nptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:41:
- /usr/include/inttypes.h:362:8: error: redefinition of a 'extern inline' function 'wcstoumax' is not supported in C++
- __NTH (wcstoumax (const __gwchar_t *__restrict nptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- /usr/include/inttypes.h:362:8: note: previous definition is here
- __NTH (wcstoumax (const __gwchar_t *__restrict nptr,
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219:
- In file included from /usr/include/x86_64-linux-gnu/sys/select.h:43:
- /usr/include/time.h:120:8: error: redefinition of 'timespec'
- struct timespec
- ^
- /usr/include/time.h:120:8: note: previous definition is here
- struct timespec
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219:
- In file included from /usr/include/x86_64-linux-gnu/sys/select.h:45:
- /usr/include/x86_64-linux-gnu/bits/time.h:30:8: error: redefinition of 'timeval'
- struct timeval
- ^
- /usr/include/x86_64-linux-gnu/bits/time.h:30:8: note: previous definition is here
- struct timeval
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219:
- /usr/include/x86_64-linux-gnu/sys/select.h:106:12: error: conflicting types for 'select'
- extern int select (int __nfds, fd_set *__restrict __readfds,
- ^
- /usr/include/x86_64-linux-gnu/sys/select.h:106:12: note: previous declaration is here
- extern int select (int __nfds, fd_set *__restrict __readfds,
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:219:
- /usr/include/x86_64-linux-gnu/sys/select.h:118:12: error: conflicting types for 'pselect'
- extern int pselect (int __nfds, fd_set *__restrict __readfds,
- ^
- /usr/include/x86_64-linux-gnu/sys/select.h:118:12: note: previous declaration is here
- extern int pselect (int __nfds, fd_set *__restrict __readfds,
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:222:
- /usr/include/x86_64-linux-gnu/sys/sysmacros.h:39:8: error: redefinition of a 'extern inline' function 'gnu_dev_major' is not supported in C++
- __NTH (gnu_dev_major (unsigned long long int __dev))
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- /usr/include/x86_64-linux-gnu/sys/sysmacros.h:39:8: note: previous definition is here
- __NTH (gnu_dev_major (unsigned long long int __dev))
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:222:
- /usr/include/x86_64-linux-gnu/sys/sysmacros.h:45:8: error: redefinition of a 'extern inline' function 'gnu_dev_minor' is not supported in C++
- __NTH (gnu_dev_minor (unsigned long long int __dev))
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- /usr/include/x86_64-linux-gnu/sys/sysmacros.h:45:8: note: previous definition is here
- __NTH (gnu_dev_minor (unsigned long long int __dev))
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:222:
- /usr/include/x86_64-linux-gnu/sys/sysmacros.h:51:8: error: redefinition of a 'extern inline' function 'gnu_dev_makedev' is not supported in C++
- __NTH (gnu_dev_makedev (unsigned int __major, unsigned int __minor))
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- /usr/include/x86_64-linux-gnu/sys/sysmacros.h:51:8: note: previous definition is here
- __NTH (gnu_dev_makedev (unsigned int __major, unsigned int __minor))
- ^
- /usr/include/x86_64-linux-gnu/sys/cdefs.h:62:35: note: expanded from macro '__NTH'
- # define __NTH(fct) __LEAF_ATTR fct throw ()
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:270:
- /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:63:7: error: redefinition of 'pthread_attr_t'
- union pthread_attr_t
- ^
- /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:63:7: note: previous definition is here
- union pthread_attr_t
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_Support_DataTypes' imported from ../include/llvm/Support/PointerLikeTypeTraits.h:18:
- In file included from <module-includes>:1:
- In file included from include/llvm/Support/DataTypes.h:66:
- In file included from /usr/include/x86_64-linux-gnu/sys/types.h:270:
- /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:75:16: error: redefinition of '__pthread_internal_list'
- typedef struct __pthread_internal_list
- ^
- /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:75:16: note: previous definition is here
- typedef struct __pthread_internal_list
- ^
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- In file included from <module-includes>:1:
- In file included from /home/james/ll/llvm/build/../include/llvm/ADT/DenseSet.h:17:
- In file included from ../include/llvm/ADT/DenseMap.h:17:
- In file included from ../include/llvm/ADT/DenseMapInfo.h:17:
- ../include/llvm/Support/PointerLikeTypeTraits.h:18:10: fatal error: could not build module 'LLVM_Support_DataTypes'
- #include "llvm/Support/DataTypes.h"
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
- While building module 'LLVM_Utils' imported from ../lib/Support/StringRef.cpp:10:
- While building module 'LLVM_C' imported from ../include/llvm/Support/MemoryBuffer.h:17:
- In file included from <module-includes>:1:
- In file included from /home/james/ll/llvm/build/../include/llvm-c/IRReader.h:17:
- In file included from ../include/llvm-c/Core.h:18:
- ../include/llvm-c/Support.h:17:10: fatal error: could not build module 'LLVM_Support_DataTypes'
- #include "llvm/Support/DataTypes.h"
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
- ../lib/Support/StringRef.cpp:10:10: fatal error: could not build module 'LLVM_Utils'
- #include "llvm/ADT/StringRef.h"
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- 17 errors generated.
- ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement