ada bootstrap error on alpha

2018-11-27 Thread Matthias Klose
gnat currently fails to build on alpha-linux-gnu, apparently not yet
reproducible upstream. An idea?

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88200

Matthias



libffi_3.2.1-9_source.changes ACCEPTED into unstable

2018-11-27 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 27 Nov 2018 11:52:58 +0100
Source: libffi
Binary: libffi-dev libffi6 libffi6-dbg libffi6-udeb
Architecture: source
Version: 3.2.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Description:
 libffi-dev - Foreign Function Interface library (development files)
 libffi6- Foreign Function Interface library runtime
 libffi6-dbg - Foreign Function Interface library runtime (debug symbols)
 libffi6-udeb - Foreign Function Interface library runtime (udeb)
Closes: 816317 914442
Changes:
 libffi (3.2.1-9) unstable; urgency=medium
 .
   * Add home page attribute to the control file. Closes: #816317.
   * riscv64 backport. Closes: #914442.
Checksums-Sha1:
 836c3cd1b7a12236c144877c350058ce565d8c6e 2000 libffi_3.2.1-9.dsc
 92fabd299f53360da8c56422a7f48a344f0b9ee5 17148 libffi_3.2.1-9.debian.tar.xz
 f956a5a41d69c2f4ff80d944535f30da13a7e0a7 5939 libffi_3.2.1-9_source.buildinfo
Checksums-Sha256:
 28beaed76f2ce4c6a3ce1527eb07534c8ef4bf624a42c803fea045c416f8faa5 2000 
libffi_3.2.1-9.dsc
 26e3cfd358733832da251778bc615a42b908d7779cf8b8d7fc2bdee4660bbbce 17148 
libffi_3.2.1-9.debian.tar.xz
 29186f2be43377f998427c1e99089886e0f5833852f417bde3fd61cbb0921291 5939 
libffi_3.2.1-9_source.buildinfo
Files:
 2bc3e871dc1711d69bd6800e2e0340f2 2000 libs optional libffi_3.2.1-9.dsc
 042e2e6c0d20c9e503ecf8440a78127a 17148 libs optional 
libffi_3.2.1-9.debian.tar.xz
 511d68cc74908e0b2a67ef7d510d2eb5 5939 libs optional 
libffi_3.2.1-9_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlv9IuQQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9VNFEAC7+P30M2qZgiYQ8IaZ06Xi044AbRftTeJ0
QhnFYil306M4g5I5BUqygPkxDzspFoN2Gs2ZZp5chRSSRQ5YjB8TNntEQc9IeHIX
sFqXHVpSlQU1EBBz2Toq6ZAvNQDNpaGHfWmhXPyRVuTaQ9rBzmKOD3Wyy2xw8TvO
C+Gtiko65jkdlRZUwMjuVugAU4qYLKYcrKieG7iXfZWaTodPUkGaAgl8s/S9IIhA
eAa1TUJ6BI3Mim0GrulzmK8fuC/7O02TPINUXkyzCcBHkwRgrs05rUD5RqQkuf2L
Dx+cV4eFyLSs7n1Gu1TyD/vK0dBt2uzoB6wQxbIf3eEGaaPK+ytchtgSx84tko38
oDsTzgmAaZwzLG9qyXiWuQaVTclryQ0PJsPt4b5AOI4t3rWZr79KEVdMEDfqCrCL
2Vrlfk668xkQEAA+bbdbBflvL3CTt4rDhwq3nZD6j2Lp1lH+dq0YcsRq0C7ikIVt
1/YKDKL6I3NXEr1B6xEs5XY038bgYhnuBXd2lSGK07CeuqPv9TEm+lav9wFefBXT
khJIU+4yRQT0QWoSSLd4sQXEs/S8Ozpl5oVGH+wMO1uDenEGg/gkVvJ/r5RNhJn+
qlrleNQRgMo5FwdLSPhoJ5ByGKU++MCUqtukayWAUAKS6scGiOxzmDOfvW9avi49
I8PYPrFFsA==
=T46L
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



gcc-snapshot_20181127-1_source.changes ACCEPTED into unstable

2018-11-27 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 27 Nov 2018 10:27:44 +0100
Source: gcc-snapshot
Binary: gcc-snapshot
Architecture: source
Version: 1:20181127-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Description:
 gcc-snapshot - SNAPSHOT of the GNU Compiler Collection
Changes:
 gcc-snapshot (1:20181127-1) unstable; urgency=medium
 .
   * Snapshot, taken from the trunk (20181127, r266505).
Checksums-Sha1:
 d15433d142259ad3b95a400045d42e89d5ab53d2 11973 gcc-snapshot_20181127-1.dsc
 729638ac0c1fb7c8fdca8f080556609f4633c32b 65315175 
gcc-snapshot_20181127.orig.tar.gz
 5a6fa54288e44e8d2de806e57bccc4c4a43286cb 529729 gcc-snapshot_20181127-1.diff.gz
 1ba07e8f910739d2c1303d91e327dc6453c701db 7639 
gcc-snapshot_20181127-1_source.buildinfo
Checksums-Sha256:
 ef5b18c925bcc7d43fb469ab932189e6c44d67b72c4fa39de42a4469fff09ff3 11973 
gcc-snapshot_20181127-1.dsc
 f6ededfba7115c6a86640ba036acd211f7283debf94d9238b7884a4939a3ddca 65315175 
gcc-snapshot_20181127.orig.tar.gz
 021a9b7cf16cc9e29476ca67c47144b25f735726d04a18e28a379a2fd8411862 529729 
gcc-snapshot_20181127-1.diff.gz
 0da0f1937b64ce61142eb6bfe4f63416d98139557491c3475ca91dd62731a313 7639 
gcc-snapshot_20181127-1_source.buildinfo
Files:
 e0ec224adeb45393b027dbfcde41f85c 11973 devel optional 
gcc-snapshot_20181127-1.dsc
 b7104c34170d44e794ea0d13183fec46 65315175 devel optional 
gcc-snapshot_20181127.orig.tar.gz
 79e3240c73ef54ab75c28eef431442c3 529729 devel optional 
gcc-snapshot_20181127-1.diff.gz
 952e176142d3a532fa9a00f3602697f0 7639 devel optional 
gcc-snapshot_20181127-1_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlv9IccQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9WdtD/9bGJnJoi9SMt/dRiKH3nw//Sur7/rGHXni
1SFHi4iosg3zyHjY9FGMNHWkWyf7zWpJGUd1zqrzBMeKAE7Zwl7PVSHErlwi+o8R
91JWI39XCIQA0JGNANfuOODcW6zNwQoiELq+g76YUkpcWPSdV5CKBCp5Cb/okyT7
zAW8+kGSQMk5cNdxeeLcceb6zE/KUdNrhQJmI0wDuTP18wgszWehXorhJfswJe6Z
tvLPmtUuzo0GyT7A1QG1ROO6uuGj9Sw0pOuUzkrqb4ufV/atl+Zd0WGo1kMP6bKo
mpO8CWNTVLYaR8/duS/kPZS+4KWQg3z8qET86DxVeWzwwBtqEY9RbyXT2Ecrl9TC
YTwPGtZHv4AR1+Z7o4e5c9FsSyAsVYC8SeeLUjj12yWhavfEJBGTl8nPB2ZSFErg
TmTtVyTjnxhHePAEuraxj4K2ldx+lXsK1kulzzcyTKZGr42yb5LReZ8l2opPDfai
0DsUNKYXqcYh7V4E7OPEPTMQ51hRO9vuX551qG7vDrK/P+sVls6krvRVr0/uB/ZG
VBRlLx8wNirRYOeZ5FNCedm1y267dmTxJzisIPbIReurZQhDxKq0KB4kQkkwFDaN
UHfWqi2m4CqJIRgFB7fDZjzVRY7Lz7D0Ft2W2UFtOv84ZnxgAu7wxkUtNr0MCR6F
SOcnU24xEw==
=B52m
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Processing of libffi_3.2.1-9_source.changes

2018-11-27 Thread Debian FTP Masters
libffi_3.2.1-9_source.changes uploaded successfully to localhost
along with the files:
  libffi_3.2.1-9.dsc
  libffi_3.2.1-9.debian.tar.xz
  libffi_3.2.1-9_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



Bug#914442: marked as done (libffi: FTBFS on riscv64)

2018-11-27 Thread Debian Bug Tracking System
Your message dated Tue, 27 Nov 2018 11:20:17 +
with message-id 
and subject line Bug#914442: fixed in libffi 3.2.1-9
has caused the Debian Bug report #914442,
regarding libffi: FTBFS on riscv64
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 ow...@bugs.debian.org
immediately.)


-- 
914442: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914442
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libffi
Version: 3.2.1
User: debian-ri...@lists.debian.org
Usertags: riscv64

The version of the package currently FTBFS on the riscv64 port:
https://buildd.debian.org/status/package.php?p=libffi=sid

A patch based on Fedoras source package [0] is attached to this message.
This patch makes libffi-3.2.1 build and pass all tests.

[0] 
http://fedora-riscv.tranquillity.se/kojifiles/packages/libffi/3.1/18.0.riscv64.fc29/src/libffi-3.1-18.0.riscv64.fc29.src.rpm

diff --git a/Makefile.am b/Makefile.am
index 1dcdc811..79b0cc55 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,6 +31,7 @@ EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj			\
 	 src/powerpc/asm.h src/powerpc/aix.S src/powerpc/darwin.S	\
 	 src/powerpc/aix_closure.S src/powerpc/darwin_closure.S		\
 	 src/powerpc/ffi_darwin.c src/powerpc/ffitarget.h		\
+	 src/riscv/ffi.c src/riscv/sysv.S src/riscv/ffitarget.h		\
 	 src/s390/ffi.c src/s390/sysv.S src/s390/ffitarget.h		\
 	 src/sh/ffi.c src/sh/sysv.S src/sh/ffitarget.h src/sh64/ffi.c	\
 	 src/sh64/sysv.S src/sh64/ffitarget.h src/sparc/v8.S		\
@@ -232,6 +233,9 @@ endif
 if VAX
 nodist_libffi_la_SOURCES += src/vax/elfbsd.S src/vax/ffi.c
 endif
+if RISCV
+nodist_libffi_la_SOURCES += src/riscv/sysv.S src/riscv/ffi.c
+endif
 
 libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
 nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
diff --git a/configure.ac b/configure.ac
index d3b8b99b..1c321d54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -257,6 +257,10 @@ case "$host" in
 	TARGET=POWERPC; TARGETDIR=powerpc
 	;;
 
+  riscv32-*-* | riscv64-*-*)
+	TARGET=RISCV; TARGETDIR=riscv
+	;;
+
   s390-*-* | s390x-*-*)
 	TARGET=S390; TARGETDIR=s390
 	;;
@@ -316,6 +320,7 @@ AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
 AM_CONDITIONAL(POWERPC_AIX, test x$TARGET = xPOWERPC_AIX)
 AM_CONDITIONAL(POWERPC_DARWIN, test x$TARGET = xPOWERPC_DARWIN)
 AM_CONDITIONAL(POWERPC_FREEBSD, test x$TARGET = xPOWERPC_FREEBSD)
+AM_CONDITIONAL(RISCV, test x$TARGET = xRISCV)
 AM_CONDITIONAL(AARCH64, test x$TARGET = xAARCH64)
 AM_CONDITIONAL(ARC, test x$TARGET = xARC)
 AM_CONDITIONAL(ARM, test x$TARGET = xARM)
diff --git a/src/riscv/ffi.c b/src/riscv/ffi.c
new file mode 100644
index ..b664ee7d
--- /dev/null
+++ b/src/riscv/ffi.c
@@ -0,0 +1,445 @@
+/* ---
+   ffi.c - Copyright (c) 2015 Michael Knyszek 
+ 2015 Andrew Waterman 
+ 2018 Stef O'Rear 
+   Based on MIPS N32/64 port
+
+   RISC-V Foreign Function Interface
+
+   Permission is hereby granted, free of charge, to any person obtaining
+   a copy of this software and associated documentation files (the
+   ``Software''), to deal in the Software without restriction, including
+   without limitation the rights to use, copy, modify, merge, publish,
+   distribute, sublicense, and/or sell copies of the Software, and to
+   permit persons to whom the Software is furnished to do so, subject to
+   the following conditions:
+
+   The above copyright notice and this permission notice shall be included
+   in all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
+   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+   NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+   DEALINGS IN THE SOFTWARE.
+   --- */
+
+#include 
+#include 
+
+#include 
+#include 
+
+#if __riscv_float_abi_double
+#define ABI_FLEN 64
+#define ABI_FLOAT double
+#elif __riscv_float_abi_single
+#define ABI_FLEN 32
+#define ABI_FLOAT float
+#endif
+
+#define NARGREG 8
+#define STKALIGN 16
+#define MAXCOPYARG (2 * sizeof(double))
+
+typedef struct call_context
+{
+#if ABI_FLEN
+ABI_FLOAT fa[8];
+#endif
+size_t a[8];
+/* used by the assembly code to in-place construct its own 

Bug#816317: marked as done (libffi: please add Homepage field)

2018-11-27 Thread Debian Bug Tracking System
Your message dated Tue, 27 Nov 2018 11:20:17 +
with message-id 
and subject line Bug#816317: fixed in libffi 3.2.1-9
has caused the Debian Bug report #816317,
regarding libffi: please add Homepage field
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 ow...@bugs.debian.org
immediately.)


-- 
816317: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816317
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Source: libffi
Version: 3.2.1-4
Severity: wishlist

Please add 


Homepage: https://sourceware.org/libffi/

to debian/control.

--
Jakub Wilk
--- End Message ---
--- Begin Message ---
Source: libffi
Source-Version: 3.2.1-9

We believe that the bug you reported is fixed in the latest version of
libffi, 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 816...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose  (supplier of updated libffi 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 27 Nov 2018 11:52:58 +0100
Source: libffi
Binary: libffi-dev libffi6 libffi6-dbg libffi6-udeb
Architecture: source
Version: 3.2.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers 
Changed-By: Matthias Klose 
Description:
 libffi-dev - Foreign Function Interface library (development files)
 libffi6- Foreign Function Interface library runtime
 libffi6-dbg - Foreign Function Interface library runtime (debug symbols)
 libffi6-udeb - Foreign Function Interface library runtime (udeb)
Closes: 816317 914442
Changes:
 libffi (3.2.1-9) unstable; urgency=medium
 .
   * Add home page attribute to the control file. Closes: #816317.
   * riscv64 backport. Closes: #914442.
Checksums-Sha1:
 836c3cd1b7a12236c144877c350058ce565d8c6e 2000 libffi_3.2.1-9.dsc
 92fabd299f53360da8c56422a7f48a344f0b9ee5 17148 libffi_3.2.1-9.debian.tar.xz
 f956a5a41d69c2f4ff80d944535f30da13a7e0a7 5939 libffi_3.2.1-9_source.buildinfo
Checksums-Sha256:
 28beaed76f2ce4c6a3ce1527eb07534c8ef4bf624a42c803fea045c416f8faa5 2000 
libffi_3.2.1-9.dsc
 26e3cfd358733832da251778bc615a42b908d7779cf8b8d7fc2bdee4660bbbce 17148 
libffi_3.2.1-9.debian.tar.xz
 29186f2be43377f998427c1e99089886e0f5833852f417bde3fd61cbb0921291 5939 
libffi_3.2.1-9_source.buildinfo
Files:
 2bc3e871dc1711d69bd6800e2e0340f2 2000 libs optional libffi_3.2.1-9.dsc
 042e2e6c0d20c9e503ecf8440a78127a 17148 libs optional 
libffi_3.2.1-9.debian.tar.xz
 511d68cc74908e0b2a67ef7d510d2eb5 5939 libs optional 
libffi_3.2.1-9_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlv9IuQQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9VNFEAC7+P30M2qZgiYQ8IaZ06Xi044AbRftTeJ0
QhnFYil306M4g5I5BUqygPkxDzspFoN2Gs2ZZp5chRSSRQ5YjB8TNntEQc9IeHIX
sFqXHVpSlQU1EBBz2Toq6ZAvNQDNpaGHfWmhXPyRVuTaQ9rBzmKOD3Wyy2xw8TvO
C+Gtiko65jkdlRZUwMjuVugAU4qYLKYcrKieG7iXfZWaTodPUkGaAgl8s/S9IIhA
eAa1TUJ6BI3Mim0GrulzmK8fuC/7O02TPINUXkyzCcBHkwRgrs05rUD5RqQkuf2L
Dx+cV4eFyLSs7n1Gu1TyD/vK0dBt2uzoB6wQxbIf3eEGaaPK+ytchtgSx84tko38
oDsTzgmAaZwzLG9qyXiWuQaVTclryQ0PJsPt4b5AOI4t3rWZr79KEVdMEDfqCrCL
2Vrlfk668xkQEAA+bbdbBflvL3CTt4rDhwq3nZD6j2Lp1lH+dq0YcsRq0C7ikIVt
1/YKDKL6I3NXEr1B6xEs5XY038bgYhnuBXd2lSGK07CeuqPv9TEm+lav9wFefBXT
khJIU+4yRQT0QWoSSLd4sQXEs/S8Ozpl5oVGH+wMO1uDenEGg/gkVvJ/r5RNhJn+
qlrleNQRgMo5FwdLSPhoJ5ByGKU++MCUqtukayWAUAKS6scGiOxzmDOfvW9avi49
I8PYPrFFsA==
=T46L
-END PGP SIGNATURE End Message ---


Processing of gcc-snapshot_20181127-1_source.changes

2018-11-27 Thread Debian FTP Masters
gcc-snapshot_20181127-1_source.changes uploaded successfully to localhost
along with the files:
  gcc-snapshot_20181127-1.dsc
  gcc-snapshot_20181127.orig.tar.gz
  gcc-snapshot_20181127-1.diff.gz
  gcc-snapshot_20181127-1_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)