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

fix(main/libgmp): fix building with build-all.sh #21999

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

twaik
Copy link
Member

@twaik twaik commented Oct 27, 2024

Fixes error

checking C++ compiler aarch64-linux-android-clang++  -I/data/data/com.termux/files/usr/include  -fstack-protector-strong -Oz -L/data/data/com.termux/files/usr/lib... no, program does not run
configure: error: C++ compiler not available, see config.log for details
...
configure:10520: checking C++ compiler aarch64-linux-android-clang++  -I/data/data/com.termux/files/usr/include  -fstack-protector-strong -Oz -L/data/data/com.termux/files/usr/lib
Test compile:
configure:10534: aarch64-linux-android-clang++  -I/data/data/com.termux/files/usr/include  -fstack-protector-strong -Oz -L/data/data/com.termux/files/usr/lib conftest.cc >&5
configure:10537: $? = 0
configure:10541: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
CANNOT LINK EXECUTABLE "./a.out": library "libc++_shared.so" not found
libc: CANNOT LINK EXECUTABLE "./a.out": library "libc++_shared.so" not found
libc: Fatal signal 6 (SIGABRT), code -6 in tid 952305 (a.out)
libc: failed to spawn debuggerd dispatch thread: Invalid argument
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./b.out: No such file or directory
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./a.exe: No such file or directory
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./a_out.exe: No such file or directory
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./conftest: No such file or directory
configure:10544: $? = 127
failed program was:

int main (void) { return 0; }
configure:10649: result: no, program does not run
configure:10665: error: C++ compiler not available, see config.log for details

Related to #21130.

Fixes error 
```
checking C++ compiler aarch64-linux-android-clang++  -I/data/data/com.termux/files/usr/include  -fstack-protector-strong -Oz -L/data/data/com.termux/files/usr/lib... no, program does not run
configure: error: C++ compiler not available, see config.log for details
...
configure:10520: checking C++ compiler aarch64-linux-android-clang++  -I/data/data/com.termux/files/usr/include  -fstack-protector-strong -Oz -L/data/data/com.termux/files/usr/lib
Test compile:
configure:10534: aarch64-linux-android-clang++  -I/data/data/com.termux/files/usr/include  -fstack-protector-strong -Oz -L/data/data/com.termux/files/usr/lib conftest.cc >&5
configure:10537: $? = 0
configure:10541: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
CANNOT LINK EXECUTABLE "./a.out": library "libc++_shared.so" not found
libc: CANNOT LINK EXECUTABLE "./a.out": library "libc++_shared.so" not found
libc: Fatal signal 6 (SIGABRT), code -6 in tid 952305 (a.out)
libc: failed to spawn debuggerd dispatch thread: Invalid argument
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./b.out: No such file or directory
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./a.exe: No such file or directory
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./a_out.exe: No such file or directory
/home/builder/.termux-build/libgmp/src/configure: line 10542: ./conftest: No such file or directory
configure:10544: $? = 127
failed program was:

int main (void) { return 0; }
configure:10649: result: no, program does not run
configure:10665: error: C++ compiler not available, see config.log for details
```

Related to #21130.
@twaik
Copy link
Member Author

twaik commented Oct 27, 2024

I will merge it in 36 hours if nobody minds or when it gets 2+ approves.

@twaik twaik merged commit 41f130b into master Oct 28, 2024
7 checks passed
@twaik twaik deleted the libgmp-fix-build-all-sh branch October 28, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants