> -----Original Message----- > From: Jakub Jelinek <[email protected]> > Sent: Friday, April 18, 2025 14:10 > To: Rainer Orth <[email protected]> > Cc: Richard Biener <[email protected]>; Andreas Schwab > <[email protected]>; [email protected]; Robert Dubner > <[email protected]>; James K. Lowden <[email protected]> > Subject: Re: [PATCH] cobol: Allow for undefined NAME_MAX [PR119217] > > On Fri, Apr 18, 2025 at 06:04:29PM +0200, Rainer Orth wrote: > > That's one option, but maybe it's better the other way round: instead of > > excluding known-bad targets, restrict cobol to known-good ones > > (i.e. x86_64-*-linux* and aarch64-*-linux*) instead. > > > > I've been using the following for this (should be retested for safety). > > I admit I don't really know what works and what doesn't out of the box > now, > but your patch looks reasonable to me for 15 branch. > > Richard, Robert and/or James, do you agree?
I agree. At the present time, I have access to only aarch64/x86_64-linux machines, so those are the only ones I know work. I seem to recall I originally did it that way; only those configurations were white-listed. > > > 2025-03-17 Rainer Orth <[email protected]> > > > > PR cobol/119217 > > * configure.ac: Restrict cobol to aarch64-*-linux*, > > x86_64-*-linux*. > > * configure: Regenerate. > > Jakub
