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

Compiling c++ in termux #4018

Closed
ghost opened this issue Jul 27, 2023 · 5 comments
Closed

Compiling c++ in termux #4018

ghost opened this issue Jul 27, 2023 · 5 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Jul 27, 2023

Xmake Version

2.8.1

Operating System Version and Architecture

android version 9

Describe Bug

When I try to compile a C/C++ project in termux I get the error: segmentation fault

Expected Behavior

What is expected is to generate the executable

Project Configuration

The project is the template generated by the command: xmake create

Additional Information and Error Logs

[ 25%]: cache compiling.release src/main.cpp
gcc -c -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -o build/.objs/test/linux/armv7a/release/src/main.cpp.o src/main.cpp
Segmentation fault

@ghost ghost added the bug label Jul 27, 2023
@waruqi
Copy link
Member

waruqi commented Jul 28, 2023

please push to xmake/issues

@waruqi waruqi transferred this issue from xmake-io/.github Jul 28, 2023
@waruqi
Copy link
Member

waruqi commented Jul 28, 2023

it works for me.

Screenshot_20230728_102046_com termux

@ghost
Copy link
Author

ghost commented Jul 28, 2023

it works for me.

Screenshot_20230728_102046_com termux

not for me
Screenshot_20230727-234005.png

@paul-reilly
Copy link
Contributor

Just for more information, I can confirm that it works here:

  • Android 12
  • arm64-v8a

@waruqi
Copy link
Member

waruqi commented May 7, 2024

I have fixed it on dev. #5029

@waruqi waruqi closed this as completed May 7, 2024
@waruqi waruqi added this to the v2.9.2 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants