postgresql*: explicitly mark BROKEN on Alpha
Support for Alpha was removed in 2014. This removed the spinlock and memory barrier implementations, meaning Postgresql on Alpha no longer compiles cleanly with the default options. According to the commit message the code was "unlikely to currently work correctly". Enthusiasts may wish to re-add Alpha support, but it should likely only be done with proper testing to avoid data loss in the case someone uses it.
This commit is contained in:
parent
97dd3e4593
commit
6d9a6fcefc
6 changed files with 36 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.26 2021/04/16 06:38:20 nia Exp $
|
||||
# $NetBSD: Makefile.common,v 1.27 2021/05/07 06:58:55 nia Exp $
|
||||
#
|
||||
# This Makefile fragment is included by all PostgreSQL packages built from
|
||||
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
|
||||
|
@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
|
|||
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
|
||||
.endif
|
||||
|
||||
# Postgres on Alpha has no spinlock or memory barrier implementation
|
||||
# and is "unlikely to work correctly".
|
||||
# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
|
||||
BROKEN_ON_PLATFORM+= *-*-alpha
|
||||
|
||||
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
|
||||
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
|
||||
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.19 2021/04/16 06:38:20 nia Exp $
|
||||
# $NetBSD: Makefile.common,v 1.20 2021/05/07 06:58:55 nia Exp $
|
||||
#
|
||||
# This Makefile fragment is included by all PostgreSQL packages built from
|
||||
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
|
||||
|
@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
|
|||
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
|
||||
.endif
|
||||
|
||||
# Postgres on Alpha has no spinlock or memory barrier implementation
|
||||
# and is "unlikely to work correctly".
|
||||
# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
|
||||
BROKEN_ON_PLATFORM+= *-*-alpha
|
||||
|
||||
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
|
||||
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
|
||||
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.12 2021/04/16 06:38:20 nia Exp $
|
||||
# $NetBSD: Makefile.common,v 1.13 2021/05/07 06:58:56 nia Exp $
|
||||
#
|
||||
# This Makefile fragment is included by all PostgreSQL packages built from
|
||||
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
|
||||
|
@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
|
|||
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
|
||||
.endif
|
||||
|
||||
# Postgres on Alpha has no spinlock or memory barrier implementation
|
||||
# and is "unlikely to work correctly".
|
||||
# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
|
||||
BROKEN_ON_PLATFORM+= *-*-alpha
|
||||
|
||||
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
|
||||
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
|
||||
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.5 2021/04/16 06:38:20 nia Exp $
|
||||
# $NetBSD: Makefile.common,v 1.6 2021/05/07 06:58:56 nia Exp $
|
||||
#
|
||||
# This Makefile fragment is included by all PostgreSQL packages built from
|
||||
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
|
||||
|
@ -83,6 +83,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
|
|||
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
|
||||
.endif
|
||||
|
||||
# Postgres on Alpha has no spinlock or memory barrier implementation
|
||||
# and is "unlikely to work correctly".
|
||||
# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
|
||||
BROKEN_ON_PLATFORM+= *-*-alpha
|
||||
|
||||
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
|
||||
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
|
||||
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.37 2021/04/16 06:38:20 nia Exp $
|
||||
# $NetBSD: Makefile.common,v 1.38 2021/05/07 06:58:56 nia Exp $
|
||||
#
|
||||
# This Makefile fragment is included by all PostgreSQL packages built from
|
||||
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
|
||||
|
@ -84,6 +84,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
|
|||
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
|
||||
.endif
|
||||
|
||||
# Postgres on Alpha has no spinlock or memory barrier implementation
|
||||
# and is "unlikely to work correctly".
|
||||
# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
|
||||
BROKEN_ON_PLATFORM+= *-*-alpha
|
||||
|
||||
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
|
||||
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
|
||||
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.31 2021/04/16 06:38:21 nia Exp $
|
||||
# $NetBSD: Makefile.common,v 1.32 2021/05/07 06:58:56 nia Exp $
|
||||
#
|
||||
# This Makefile fragment is included by all PostgreSQL packages built from
|
||||
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
|
||||
|
@ -84,6 +84,11 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_sys_ucred_h=no
|
|||
CONFIGURE_ENV+= pgac_cv_prog_cc_ldflags__Wl___as_needed=no
|
||||
.endif
|
||||
|
||||
# Postgres on Alpha has no spinlock or memory barrier implementation
|
||||
# and is "unlikely to work correctly".
|
||||
# https://www.postgresql.org/message-id/E1X0yaj-000753-N6%40gemulon.postgresql.org
|
||||
BROKEN_ON_PLATFORM+= *-*-alpha
|
||||
|
||||
# configure fails on OpenBSD and MirBSD if thread safety is enabled.
|
||||
CONFIGURE_ARGS.MirBSD+= --disable-thread-safety
|
||||
CONFIGURE_ARGS.OpenBSD+= --disable-thread-safety
|
||||
|
|
Loading…
Reference in a new issue