Hi Jakub! On 2026-10-29T17:22:13+0100, Jakub Jelinek <[email protected]> wrote: > On Thu, Oct 29, 2026 at 05:15:11PM +0100, Thomas Schwinge wrote: >> That's at least my understanding from a quick look at the code. (..., >> which I'm not at all familiar with -- Matthew, please correct me if I'm >> wrong!) Assuming that my is understanding correct, Jakub: is such >> run-time behavior acceptable? > > Yes, we do that with all kinds of things. > If we detect them at configure time, we assume they can be used and use > those. If you want to build on newer system and deploy on older one, > in this case you even have a way (--disable-... at configure time), > in most other cases the suggestion is simply don't do that.
OK, thanks for reminding me of the basics... ;-) I realize this case here is really not different from, for example, the case when 'configure' determines that a certain "modern" C library interface is available, and that expectation gets baked into the toolchain, and on "old" systems execution then fails due to that "modern" C library interface missing, which is either upon execution of the toolchain itself or compiled code linking target libraries. And yes, compared to "graceful degradation", such a hard error may actually be preferable for users, so that they're aware what's going on/wrong. Especially so, in cases where there are performance implications (as in this case here, per my understanding). Expectation is a clear run-time error message. Grüße Thomas
