config.log please; also the result of "conda list" please, which gives a 
lot of relevant info when you try to build within a conda environment.

On Wednesday, July 31, 2024 at 12:11:42 PM UTC-7 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/237cbc93-a53b-4e04-8609-0234b78fba83n%40googlegroups.com.

Reply via email to