Hi,
from the lines after "Please submit a full bug report" you can see that
this seems to be a bug in the compiler (version) you are using.
You can try a different/newer gcc or potentially also clang (export
CC=clang) or use llvm's gcc interface.
I do not really know if any of this is an option for slackware, though.
Alternatively, since this seems to be happening for libpq you can try
uninstall postgres and gnunet will not compile this part and fall back
to sqlite.
Hope that helps.
Martin
On 06.12.23 23:25, Slack Coder wrote:
Hi,
Gnunet is failing to build for me on the latest master version
(b1bd228cfc7847d06ca35cbec5ec48c3942fea41).
The build is on Slackware64-15.0 with meson upgraded (1.3.0) from
Slackware64-current. I also get an error about a missing reference to
pthread when postgresql is not included as a dependency.
You may find a Dockerfile to reproduce the bug and its build output
attached.
```
../src/lib/pq/test_pq.c: In function ‘run_queries’:
../src/lib/pq/test_pq.c:202:7: internal compiler error: Segmentation fault
202 | GNUNET_PQ_query_param_array_ptrs_string (3, as, db),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x15a1707 internal_error(char const*, ...)
???:0
0x756bb1 expand_call(tree_node*, rtx_def*, int)
???:0
0x86d2ee expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
???:0
0x8775de store_expr(tree_node*, rtx_def*, int, bool, bool)
???:0
Please submit a full bug report,
```