chakra-core / chakra-core/ChakraCore
[Build]: Failure to build on ARM
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Operating System
Ubuntu 20.04.6
### Compiler
clang version 10.0.0
### ChakraCore Version
ch version 1.13.0.0-beta
### Compiler output
```shell
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chakracore/program/out/Release
Scanning dependencies of target Chakra.Pal
[ 0%] Building CXX object pal/src/CMakeFiles/Chakra.Pal.dir/cruntime/file.cpp.o
In file included from /home/chakracore/program/pal/src/cruntime/file.cpp:23:
In file included from /home/chakracore/program/pal/src/include/pal/palinternal.h:552:
In file included from /usr/include/stdio.h:33:
/usr/lib/llvm-10/lib/clang/10.0.0/include/stddef.h:46:23: error: typedef redefinition with different types ('unsigned long' vs 'unsigned int')
typedef __SIZE_TYPE__ size_t;
^
/home/chakracore/program/pal/inc/pal_mstypes.h:538:22: note: previous definition is here
typedef unsigned int size_t;
^
1 error generated.
make[2]: *** [pal/src/CMakeFiles/Chakra.Pal.dir/build.make:63: pal/src/CMakeFiles/Chakra.Pal.dir/cruntime/file.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:743: pal/src/CMakeFiles/Chakra.Pal.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
See error details above. Exit code was 2
```
### Additional Context
Command:
`./build.sh --arch=arm`
Contributor guide
Assessment
This issue has not been assessed yet.