Mailing List Archive

[Bug 3673] -fzero-call-used-regs=used detection fails on Linux m68k with GCC 13
https://bugzilla.mindrot.org/show_bug.cgi?id=3673

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Blocks| |3674
Resolution|--- |FIXED
CC| |dtucker@dtucker.net
Status|NEW |RESOLVED

--- Comment #1 from Darren Tucker <dtucker@dtucker.net> ---
Patch applied (both master and 9.7 branch) so it will be in the next
release.

Thanks for the report.


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=3674
[Bug 3674] Tracking bug for OpenSSH 9.8
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3673] -fzero-call-used-regs=used detection fails on Linux m68k with GCC 13 [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3673

Jessie <mia.lyon26@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |mia.lyon26@gmail.com

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3673] -fzero-call-used-regs=used detection fails on Linux m68k with GCC 13 [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3673

Colin Watson <cjwatson@debian.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED

--- Comment #2 from Colin Watson <cjwatson@debian.org> ---
Frustratingly, this patch somehow managed to regress behaviour on
Debian ppc64el (see
https://buildd.debian.org/status/fetch.php?pkg=openssh&arch=ppc64el&ver=1%3A9.7p1-3&stamp=1711920599&file=log;
also compare https://bugzilla.mindrot.org/show_bug.cgi?id=3645). I can
run test code on this architecture, but I have no idea how adding this
extra code to this check made the check somehow pass on ppc64el when it
should have failed.

I don't suppose this check could be wrapped in AC_CACHE_CHECK somehow?
Then, rather than bothering you with extra portability checks that
nobody really seems to understand, I could just brute-force it by
passing ac_cv_whatever=no to configure on the relevant architectures.
I don't really want to take up a bunch of your time figuring this
nonsense out ...

--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3673] -fzero-call-used-regs=used detection fails on Linux m68k with GCC 13 [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3673

--- Comment #3 from Colin Watson <cjwatson@debian.org> ---
Created attachment 3803
--> https://bugzilla.mindrot.org/attachment.cgi?id=3803&action=edit
Add Autoconf cache variables for OSSH_CHECK_*FLAG_*

How about this? Briefly tested, but it seems to do the job. For
example:

$ ./configure ossh_cv_cflag__fzero_call_used_regs_used=no
[...]
checking if cc supports compile flag -ftrapv and linking succeeds...
yes
checking if cc supports compile flag -fzero-call-used-regs=used and
linking succeeds... (cached) no
checking if cc supports compile flag -ftrivial-auto-var-init=zero...
yes

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs