Your message dated Fri, 28 Aug 2015 16:12:07 +0000
with message-id <[email protected]>
and subject line Bug#756368: fixed in postgresql-9.4 9.4.4-2
has caused the Debian Bug report #756368,
regarding postgresql-9.4 FTBFS on alpha: incorrect pg_read_barrier definition
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
756368: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756368
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: postgresql-9.4
Version: 9.4~beta2-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: alpha
postgresql-9.4 FTBFS on alpha. From the build log [1]:
cc -g -O2 -Wformat -Werror=format-security -I/usr/include/mit-krb5 -fPIC -pie
-DLINUX_OOM_SCORE_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g
-I../../../src/include -I/«PKGBUILDDIR»/build/../src/include
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.6
-c -o bgworker.o /«PKGBUILDDIR»/build/../src/backend/postmaster/bgworker.c
/tmp/ccNKo8Fb.s: Assembler messages:
/tmp/ccNKo8Fb.s:764: Error: unknown opcode `rmb'
as: BFD (GNU Binutils for Debian) 2.24.51.20140709 internal error, aborting at
../../gas/write.c line 603 in size_seg
This occurs because in src/include/storage/barrier.h the definition of
pg_read_barrier() for Alpha maps to the CPU instruction "rmb" but there
is no such CPU instruction on Alpha!
I attach a patch that fixes the pg_read_barrier() definition to use the
correct CPU instruction for a read memory barrier on Alpha. With that
postgresql-9.4 builds to completion on Alpha.
Cheers
Michael.
[1]
http://buildd.debian-ports.org/status/fetch.php?pkg=postgresql-9.4&arch=alpha&ver=9.4~beta2-1&stamp=1406489832
Index: postgresql-9.4-9.4~beta2/src/include/storage/barrier.h
===================================================================
--- postgresql-9.4-9.4~beta2.orig/src/include/storage/barrier.h
+++ postgresql-9.4-9.4~beta2/src/include/storage/barrier.h
@@ -117,7 +117,7 @@ extern slock_t dummy_spinlock;
* read barrier to cover that case. We might need to add that later.
*/
#define pg_memory_barrier() __asm__ __volatile__ ("mb" : : : "memory")
-#define pg_read_barrier() __asm__ __volatile__ ("rmb" : : : "memory")
+#define pg_read_barrier() __asm__ __volatile__ ("mb" : : : "memory")
#define pg_write_barrier() __asm__ __volatile__ ("wmb" : : : "memory")
#elif defined(__hppa) || defined(__hppa__) /* HP PA-RISC */
--- End Message ---
--- Begin Message ---
Source: postgresql-9.4
Source-Version: 9.4.4-2
We believe that the bug you reported is fixed in the latest version of
postgresql-9.4, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Berg <[email protected]> (supplier of updated postgresql-9.4
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 28 Aug 2015 16:06:39 +0200
Source: postgresql-9.4
Binary: libpq-dev libpq5 libecpg6 libecpg-dev libecpg-compat3 libpgtypes3
postgresql-9.4 postgresql-9.4-dbg postgresql-client-9.4
postgresql-server-dev-9.4 postgresql-doc-9.4 postgresql-contrib-9.4
postgresql-plperl-9.4 postgresql-plpython-9.4 postgresql-plpython3-9.4
postgresql-pltcl-9.4
Architecture: source
Version: 9.4.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers
<[email protected]>
Changed-By: Christoph Berg <[email protected]>
Description:
libecpg-compat3 - older version of run-time library for ECPG programs
libecpg-dev - development files for ECPG (Embedded PostgreSQL for C)
libecpg6 - run-time library for ECPG programs
libpgtypes3 - shared library libpgtypes for PostgreSQL 9.4
libpq-dev - header files for libpq5 (PostgreSQL library)
libpq5 - PostgreSQL C client library
postgresql-9.4 - object-relational SQL database, version 9.4 server
postgresql-9.4-dbg - debug symbols for postgresql-9.4
postgresql-client-9.4 - front-end programs for PostgreSQL 9.4
postgresql-contrib-9.4 - additional facilities for PostgreSQL
postgresql-doc-9.4 - documentation for the PostgreSQL database management
system
postgresql-plperl-9.4 - PL/Perl procedural language for PostgreSQL 9.4
postgresql-plpython-9.4 - PL/Python procedural language for PostgreSQL 9.4
postgresql-plpython3-9.4 - PL/Python 3 procedural language for PostgreSQL 9.4
postgresql-pltcl-9.4 - PL/Tcl procedural language for PostgreSQL 9.4
postgresql-server-dev-9.4 - development files for PostgreSQL 9.4 server-side
programming
Closes: 756368 787468 793861
Changes:
postgresql-9.4 (9.4.4-2) unstable; urgency=medium
.
* Add docbook-xml to build-depends.
* debian/rules: Remove broken "generate POT files for translators" code.
* Import patch from upstream to fix compatibility with perl 5.22.
(Closes: #787468)
* Fix memory read barrier on alpha, thanks to Michael Cree for the patch!
(Closes: #756368)
* postgresql postrm: Don't clean {/etc,/var/lib,/var/log}/postgresql on
purge. (Closes: #793861)
Checksums-Sha1:
7f838a38aa28cc2e66f9e2aa36db23333f8c4bd8 3503 postgresql-9.4_9.4.4-2.dsc
3ca3db7ed99919bd9759dc004d42401f4d3fe1dc 22348
postgresql-9.4_9.4.4-2.debian.tar.xz
Checksums-Sha256:
fa24189fae9bb63b717ab9f1e88ab9661b3f0b2d2f81cd4c884a88fe74f47f22 3503
postgresql-9.4_9.4.4-2.dsc
2ba240340680bc336bd488a9f1eb89e49e0815c1cc632b6d294fc74bc2dc78b5 22348
postgresql-9.4_9.4.4-2.debian.tar.xz
Files:
82281837b8de855b5d7e5329e766d506 3503 database optional
postgresql-9.4_9.4.4-2.dsc
b73a3875b2ade6237bcccdd21e15b545 22348 database optional
postgresql-9.4_9.4.4-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJV4HBjAAoJEExaa6sS0qeuoD4P/1l2DXwMTBO3iLT1V9SEBkJc
aSRPrtVc5LnqtUMcOe4dRJOtUcIcNeR6udZ7va+mlRCTisCQcbaOOz3848fsRAmC
npB8IcPPxEWrWnIxtOGQj6sVezLqEH65FPCB81PknLqQFITasY7fjiGn8Jvc2bCp
h/72PYxzQg8HZ6Eya4Wo9Lo/morH792Rry9HFMw8dlXOJEzyR0yRr1XMn2WvLtdx
Z87g/0hwZeIwyRECDzhTUiauJAnUxMXCZJk0xcMQv9t6WYIwztaqVAK8bCp6KtQA
okjzSHJi9fDaWEMddFFfLCQGv4RxIuUNZ6tJyR3o/nF/8duNrGlkNtT3wHRigPYw
g1CgXCPO51/QTaj6c0PJrc4zB2SaYeMaWyRIv0wEPIwA9TsjU/ILbaq81/MIbfZp
7iUHhfwimNHhrAR181iU3XmHrtb7DD266bki+cj/Gnwy5a1+/X4ozEBfiC8b8bWQ
lYBb+OqjKY6J4b1pdy+ggBQicynSe3zqIHhtOCLJGZyDf3WM+JqzIFV/P5tjM2by
0SZpSvNUkxphUu14MVb9DL84SFhd9M1JclYsW46BP9cjpqTldH2FrezfAtMNBsLn
bSwlkEh53w+hDdIvTvKi9IzqT9a5mP8875EsSpuMOL5YxVRIOwsfwVsaNnj3Ablb
zdmNs+u6jMHyvXxxopG8
=wUnA
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public