Hello, Manuel, Please disregard my earlier report. I had improperly bootstrapped. Once I did so correctly, the problem disappeared.
Thanks, Joseph Donaldson On Sunday, September 15, 2024 at 11:01:47 AM PDT, Joseph Donaldson <donaldso...@yahoo.com> wrote: Hello, Manuel, With recent bignumber changes, I am seeing BXZERO undefined errors when compiling bdb when configured to build the full bee. The error is: Linking... /usr/bin/ld: /home/jwd/bigloo_srcs/bigloo-1/lib/bigloo/4.6a/libbigloo_s-4.6a.so: undefined reference to `BXZERO' >From what I have seen, this is due to differences in the generic and gmp >implementations of bignumbers. The generic implementation defines and exports >the functions BXZERO, BXPOSITIVE, and BXNEGATIVE. The gmp implementation does >not. However, when compiling the runtime library with BGL_BOOT=1, it appears >we are mixing the 2 implementations, resulting in unsafe/rsa.scm being >miscompiled. It rends up eferencing the function BXZERO (due to extern >definitions in bigloo_bignumber.h) which is not defined for the GMP bignumber >implementation. I am not sure why this does not show up elsewhere but it does >surface when compiling bdb. I have not been able to find any easy workarounds. >My guess is that the 2 implementations need to be reworked a bit to have >equivalent interfaces, i.e., both export BXZERO, BXPOSITIVE, and BXNEGATIVE or >not, but maybe, there is a better way that I have not thought of. Thanks, Joseph Donaldson