-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linker error during make check
under macOS (duplicate symbol _d_randtest2
)
#2058
Comments
Thanks for noticing this! Looks like we should remove the one in |
diff -ruN flint-3.1.3/src/double_interval.h flint-3.1.3-patched/src/double_interval.h
--- flint-3.1.3/src/double_interval.h 2024-04-25 17:00:25
+++ flint-3.1.3-patched/src/double_interval.h 2024-08-28 10:47:50
@@ -183,6 +183,7 @@
di_t arb_get_di(const arb_t x);
void arb_set_di(arb_t res, di_t x, slong prec);
+static
DOUBLE_INTERVAL_INLINE
double d_randtest2(flint_rand_t state)
{ |
Bump. It would be nice to avoid patching the sources in this way. |
Sorry, I will fix it this weekend. |
Will fix after #2085 is merged (or closed). I would like to avoid conflicts. |
A colleague of mine is trying to check FLINT built under macOS. He does not hit #2048, perhaps because his architecture is
x86_64
rather thanaarch64
... ? But he encounters a linker error at a later stage:Indeed, I see
d_randtest2
defined twice (in thedouble_interval
module and again in the tests), but perhaps other linkers have ignored it. He is, like me, using the native Apple LLVM, not Homebrew LLVM ...The text was updated successfully, but these errors were encountered: