is there a reason for not using fflas-ffpack from Conda? (as far as I understand, you're building under Conda)
fflas-ffpack from the system might not be compatible (e.g. if a different C++ compiler was used) On Fri, Aug 2, 2024 at 1:24 PM Gareth Ma <grhk...@gmail.com> wrote: > > Bumping this thread, since it's stopping me from reviewing tickets :) > > On Wednesday 31 July 2024 at 20:11:42 UTC+1 Gareth Ma wrote: >> >> Hi, I'm running `make build` on latest dev branch, and I get the following >> error: >> >> ``` >> Error building Sage. >> >> The following package(s) may have failed to build (not necessarily >> during this run of 'make all-build'): >> >> * package: fflas_ffpack-2.5.0+sage-2024-05-18b >> last build time: Jul 31 18:53 >> log file: >> /home/grhkm/git/sage/logs/pkgs/fflas_ffpack-2.5.0+sage-2024-05-18b.log >> build directory: >> /home/grhkm/miniforge3/envs/sage-dev/var/tmp/sage/build/fflas_ffpack-2.5.0+sage-2024-05-18b >> ``` >> >> I have linked the log file below. In particular I see that these are the >> erroring lines: >> >> ``` >> [spkg-install] >> /home/grhkm/miniforge3/envs/sage-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-g >> nu/bin/ld: >> /home/grhkm/miniforge3/envs/sage-dev/lib/libfflas.a(fflas_L1_inst.o): >> relocation R_X86_64_PC32 against symbol `_ZSt4co >> ut@@GLIBCXX_3.4' can not be used when making a shared object; recompile with >> -fPIC >> [spkg-install] >> /home/grhkm/miniforge3/envs/sage-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-g >> nu/bin/ld: final link failed: bad value >> ``` >> >> Does anyone know what these means? *What* should I be recompiling with >> `-fPIC`, >> and how do I enable that? >> >> fflas_ffpack log: >> https://gist.github.com/grhkm21/58e1de21b9a2db85bf35149ec6b8c46b >> >> >> >> Also I have fflas-ffpack installed on the system (from >> `g...@github.com:linbox-team/fflas-ffpack.git` directly), is it possible to >> tell >> Sage to use that instead? >> >> ``` >> $ ls -la /usr/include/fflas-ffpack | head -n 5 >> drwxr-xr-x - root 16 Jul 21:29 checkers >> .rw-r--r-- 25k root 1 Jul 23:22 config-blas.h >> .rw-r--r-- 6.6k root 1 Jul 23:22 config.h >> drwxr-xr-x - root 16 Jul 21:29 fflas >> .rw-r--r-- 5.0k root 1 Jul 23:22 fflas-ffpack-config.h >> ``` >> >> (Cross-posted from Zulip) > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/7b2d0cd7-05ef-42bb-a681-583fe283f161n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq09WWmO-EdcAO7%3DNkR3%2BHqm_041HsPB7QPd3XhbNNcgVA%40mail.gmail.com.