Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build]: Failure to build on ARM #7012

Open
bendrissou opened this issue Jan 24, 2025 · 0 comments
Open

[Build]: Failure to build on ARM #7012

bendrissou opened this issue Jan 24, 2025 · 0 comments

Comments

@bendrissou
Copy link

Operating System

Ubuntu 20.04.6

Compiler

clang version 10.0.0

ChakraCore Version

ch version 1.13.0.0-beta

Compiler output

-- 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant