[Pkg-julia-devel] build errors on i386 (and other archs)
Mo Zhou
lumin at debian.org
Wed Nov 4 06:22:01 GMT 2020
Hi Norbert,
On Wed, Nov 04, 2020 at 12:52:52PM +0900, Norbert Preining wrote:
> discussion with Mose Giordano I was pointed out that we set
> USE_BLAS64=1
> for 32-bit archs:
32-bit architectures are definitely not supposed to use USE_BLAS64=1.
That looks like a mistake caused by unknown reason.
> I added
> USE_BLAS64=0
> to the
> else ifneq (,$(filter $(DEB_HOST_ARCH),i386 hurd-i386 kfreebsd-i386))
> case and now the blas build errors are gone.
Correct way to go. Thanks for noticing this!
> According to Mose:
> julia uses ILP64 only for 64-bits different from aarch64:
> https://github.com/JuliaPackaging/Yggdrasil/blob/16ea9cb4adacc2296fd3890d2bfe3173229b9f1b/O/OpenBLAS/common.jl#L49.
> looking at https://salsa.debian.org/julia-team/julia/-/blob/9790137de70ebdb284016a1d1ac356a10f983006/debian/rules
> I think you enable ILP64 also for 32-bit systems?
> I still see build errors in the tests for "file", but that probably
> because I built in a chroot as root, which might not have been the best
> idea.
Yep. The "file" tests are always fishy inside chroot as root.
More information about the Pkg-julia-devel
mailing list