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).
I don't love overriding snprintf here, since it seems possible that that
could disturb the check on other architectures. Could you try the
somewhat further reduced patch in >https://salsa.debian.org/ssh-team/openssh/-/tree/zero-call-used-regs-m68k,
please? I wanted to use the mitchy.debian.net porterbox but I got >ECONNREFUSED.
This configure check doesn't use the usual autoconf result caching >arrangements, which makes it a bit more awkward to override from >debian/rules. There are options, but an extended configure check that I >could send upstream would probably be best.
Could you try the somewhat further reduced patch in
Colin Watson dixit:
Could you try the somewhat further reduced patch in
I’ve started a build and will let you know probably when I get
back late tomorrow.
Thanks! No rush - I won't be at a proper computer until Sunday or so
anyway.
Could you try the somewhat further reduced patch in
please? I wanted to use the mitchy.debian.net porterbox but I got ECONNREFUSED.
Adrian, do you have an idea about that?
Colin Watson dixit:
Could you try the somewhat further reduced patch in
The package made from that branch built fine in my cowbuilder,
and I have all reason to assume it’ll do so in sbuild/buildd.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 57:24:31 |
Calls: | 6,914 |
Calls today: | 4 |
Files: | 12,379 |
Messages: | 5,430,808 |