The correct solution is probably to load Gmp.bignum when it's needed. I tried to make such a solution, but I couldn't see how without adding overhead to the bignum creation callbacks.
It should be loaded in the master:
#ifdef __AUTO_BIGNUM__ main_resolv( "Gmp", "bignum" ); #endif /* __AUTO_BIGNUM__ */
Apparently __AUTO_BIGNUM__ doesn't get defined for some reason when the tests fork new pikes.
I removed the autoload stuff for it a while back since it might otherwise fail to load inside the compiler or in another awkward place where it causes a fatal. (It's also slightly faster to not check if it's loaded in every bignum operation, but probably very little.)
/ Martin Stjernholm, Roxen IS
Previous text:
2003-02-07 23:47: Subject: Re: gcc/icc
The correct solution is probably to load Gmp.bignum when it's needed. I tried to make such a solution, but I couldn't see how without adding overhead to the bignum creation callbacks.
/ Mirar
pike-devel@lists.lysator.liu.se