[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1067243: marked as done (openssh: please build without -fzero-call-used-regs=used on m68k)



Your message dated Sun, 31 Mar 2024 11:47:29 +0000
with message-id <E1rqter-005A0M-2c@fasolo.debian.org>
and subject line Bug#1067243: fixed in openssh 1:9.7p1-3
has caused the Debian Bug report #1067243,
regarding openssh: please build without -fzero-call-used-regs=used on m68k
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 owner@bugs.debian.org
immediately.)


-- 
1067243: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067243
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: openssh
Version: 1:9.7p1-2
Severity: important
Justification: FTBFS on d-ports arch
Tags: ftbfs
X-Debbugs-Cc: tg@mirbsd.de, debian-68k@lists.debian.org

On m68k, gcc-13 currently ICEs when -fzero-call-used-regs=used is
used (see #1066891) in moduli.c, packet.c, etc. but the configury
detects it and so it gets used. The upstream GCC bug comments say
there is no plan to backport the possible fix to releases, but it
has a short reproducer by doko:


$ cat moduli.i
int snprintf_eta;
double snprintf_time_per_line;
int snprintf(char *, int, char *, ...) {
  snprintf_eta = snprintf_time_per_line;
}

$ m68k-linux-gnu-gcc -c -O2 -fzero-call-used-regs=used -fPIE moduli.i
during RTL pass: zero_call_used_regs
moduli.i: In function ‘snprintf’:
moduli.i:5:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287


Maybe this could be used in the configure script?

I can confirm that appending…

int snprintf_eta;
double snprintf_time_per_line;
int snprintf(char *str, size_t size, const char *format, ...) {
  snprintf_eta = snprintf_time_per_line;
}

… (lightly changed from the above) to the program from
m4/openssh.m4 OSSH_COMPILER_FLAG_TEST_PROGRAM fails with:

(pbuild-15711)root@ara2:/tmp# gcc -O2 -fPIE -fno-strict-aliasing -fzero-call-used-regs=used t.c
during RTL pass: zero_call_used_regs
t.c: In function 'snprintf':
t.c:51:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287
   51 | }
      | ^
[…]


Alternatively, just hardcode disabling this flag on m68k for now,
which we’ll eventually have to revert once GCC is on a fixed release
(14 probably).

Thanks in advance!

--- End Message ---
--- Begin Message ---
Source: openssh
Source-Version: 1:9.7p1-3
Done: Colin Watson <cjwatson@debian.org>

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

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated openssh 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 31 Mar 2024 11:55:38 +0100
Source: openssh
Architecture: source
Version: 1:9.7p1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1067243
Changes:
 openssh (1:9.7p1-3) unstable; urgency=medium
 .
   * Fix gssapi-keyex declaration further (thanks, Andreas Hasenack;
     LP: #2053146).
   * Extend -fzero-call-used-regs check to catch m68k gcc bug (closes:
     #1067243).
   * debian/tests/regress: Set a different IP address for UNKNOWN.
   * Re-enable ssh-askpass-gnome on all architectures.
   * regress: Redirect conch stdin from /dev/zero (re-enables conch interop
     tests).
   * Drop "Work around RSA SHA-2 signature issues in conch" patch (no longer
     needed now that Twisted is fixed).
Checksums-Sha1:
 fae4063c0d69a6a70ddb6cb3540ac4a65db63964 3341 openssh_9.7p1-3.dsc
 f04d1a038b78270fb388bf39684fe493f302ec47 189708 openssh_9.7p1-3.debian.tar.xz
Checksums-Sha256:
 754950e744b1cd844fd74c23a97b5f7b3cc26f6fd63f051bb94f4b3ae77b6834 3341 openssh_9.7p1-3.dsc
 a5a21e53e1c5ff4f4ed94b7740d7d4d9dd4d9f63b2950b3914d1a9f199f8d1db 189708 openssh_9.7p1-3.debian.tar.xz
Files:
 d09797f5ed421e28be0b918a85efe791 3341 net standard openssh_9.7p1-3.dsc
 ba1391311beb6622f4b01306cec3af7d 189708 net standard openssh_9.7p1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmYJQVUACgkQOTWH2X2G
UAsytBAAhrg4Ls74PXvWNAy0hlAlK6Ioyfg6GWYco6vKBMKsj2EWLKsFpLGFVMS8
ag+Bk/EbFjkQxZ/fRowVAEkfQ/Qtl0DCaXtzzh7rxCQggWo163s4vwN5tW2B/Yz9
q4Bq4Cx38dWcPiKZ0TWkFP1VpVKy4Zw1vPrFZScF1RQkYGw68ALmfRdcuXnOuWqJ
a7e+CmBpHhP730S4kPtcc/Mw8EfAY3lhtmiG+tOo9Aa29kG1nRb8476T5ngQ7BWM
tqZV97rq+6Axsc3+jitq4ZQxG5e/xGSSJnqZ6cl1hRXjPB6zfWztS73XS+vM+c0x
iTaIdZagdaIwjnCNTz4s/zKG+cJdHlhj88d+HtEuk8vUZyY/GSjXixzKs7cHK/wO
6Lx6Yu7fHA1vg35aObaX5MbE4mzK9hfM55STogzLwQDh6Dun8v78uKUggVnQ6CGC
50qixQ5R/IXnEOe68JMLRN8h8ZakjbL4DsLqMmwQGyUxCefuoJ1mHdIl2toTXrg7
AXpI0L7xezMiUlHiDT8k+HmdGXBN1ZcITliRUSg/LqyTbIFuS0ShH1DXgA8n+EKt
+sZWmefKhI4FPtuSahjwBR79f6lOlihC0K8a+eXUspTx7lRzJdmR9w5rcakcQZcR
iV3sQ69ovxnkapbcjxsuuBbnsOeYWBMUw6bSLIv8CbFHkqv3ZZQ=
=KJ/X
-----END PGP SIGNATURE-----

Attachment: pgpTUZD9dHI3j.pgp
Description: PGP signature


--- End Message ---

Reply to: