Open rodrigomelo9 opened 3 years ago
Can you save the build to a log file? Sometimes GHDL's build/install procedure fails when installing, but it is because of some previous error during the build. Other than that, GHDL does work on armv71, so I think this issue is specific to Android/Termux.
Here you are: ghdl.log
I didn't see errors or warnings which gives me a clue.
Hmmm, it seems that the log is not complete? Is that the call to make
only?
Yep, it only includes make
. Let me add make install
Here the complete log: ghdl.log
Can you run /data/data/com.termux/files/usr/bin/ghdl --disp-standard --std=87
on gdb?
I tried what you suggested and also --version:
~/Termux-packages/scripts $ gdb /data/data/com.termux/files/usr/bin/ghdl
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
...
(gdb) run --disp-standard --std=87
Starting program: /data/data/com.termux/files/usr/bin/ghdl --disp-standard --std=87
Program received signal SIGSEGV, Segmentation fault.
0xb6cecd28 in NonPI::MutexLockWithTimeout(pthread_mutex_internal_t*, bool, timespec const*) ()
from /system/lib/libc.so
...
(gdb) run version
Starting program: /data/data/com.termux/files/usr/bin/ghdl version
GHDL 2.0.0-dev
Program received signal SIGSEGV, Segmentation fault.
0xb6a66d28 in NonPI::MutexLockWithTimeout(pthread_mutex_internal_t*, bool, timespec const*) ()
from /system/lib/libc.so
After a new Termux installation (from F-Droid), I perform:
The last one fails when
make install
. Specifically, performingAnd the problem is related to the compiled ghdl:
Let me know if I can provide debug info. I performed a
ltrace
which finished with the message Error: call nesting too deep!