You are not logged in.
Pages: 1
bc seems to run fine, but the addition of mathlib causes a segfault with the most trivial operation.
I found this https://bbs.archlinux.org/viewtopic.php?id=27514
which attributes the problem to compilation with optimisation: With O set to zero, they say the problem goes away -- do you believe I have the same problem? because I suspect some other part of the libraries has become corrupted in my installation.
I'm still using 4.0, which I have expanded beyond its flavour, and I'm running it off a small hard-disk partition.
Offline
Compiled with -O0 it does this calculation without segfault.
tux@slitaz:~$ echo "scale=10; 4*a(1)" | bc -l
3.1415926532
bc-1.06.95 allows compiling with slitaz default -Os without segfault.
Offline
Thanks: Runs as advertised. If my libraries have a problem, it doesn't show up here. 
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]