[Pkg-postgresql-public] Bug#892807: postgresl-10: please disable spinlocks on riscv64

Adrian Bunk bunk at debian.org
Tue Mar 13 12:37:27 UTC 2018


reassign src:postgresl-10 10.3-1
thanks

There is no postgresl-10 binary package, moving to the source package.

On Tue, Mar 13, 2018 at 09:04:15AM +0100, Aurelien Jarno wrote:
> Package: postgresl-10
> Version: 10.3-1
> Severity: wishlist
> Tags: patch
> User: debian-riscv at lists.debian.org                                                                                                                                         
> Usertags: riscv64   
> 
> Hello,
> 
> We are in the process of bootstrapping a Debian port for the
> riscv64 architecture (https://wiki.debian.org/RISC-V). It happens that
> native spinlocks are not yet supported on RISC-V. Would it be possible
> to pass --disable-spinlocks to the configure script like already done
> on alpha? This is a first step which allows postgresql to be compiled
> and pass the testsuite on riscv64.
> 
> Thanks,
> Aurelien
> 
> 
> diff -Nru postgresql-10-10.3/debian/rules postgresql-10-10.3/debian/rules
> --- postgresql-10-10.3/debian/rules	2018-01-20 10:49:03.000000000 +0100
> +++ postgresql-10-10.3/debian/rules	2018-03-12 23:24:03.000000000 +0100
> @@ -42,7 +42,7 @@
>  export DPKG_GENSYMBOLS_CHECK_LEVEL=4
>  
>  # PostgreSQL 9.5+ does not have native spinlock support on this platform
> -ifneq ($(findstring $(DEB_HOST_ARCH), alpha),)
> +ifneq ($(findstring $(DEB_HOST_ARCH), alpha riscv64),)
>  SPINLOCK_FLAGS = --disable-spinlocks
>  endif
>  




More information about the Pkg-postgresql-public mailing list