public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Avoid relying on autoconf internals in `preconfigure' scripts
@ 2022-05-12 22:28 Maciej W. Rozycki
  2022-05-12 22:28 ` [PATCH v2 1/4] C-SKY: Use an autoconf template to produce `preconfigure' Maciej W. Rozycki
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Maciej W. Rozycki @ 2022-05-12 22:28 UTC (permalink / raw)
  To: libc-alpha
  Cc: Mao Han, Andreas Schwab, Joseph Myers, Palmer Dabbelt,
	Darius Rad, Andrew Waterman, DJ Delorie

Hi,

 I have discovered that we have two kinds of `preconfigure' scripts, 
handwritten ones and autoconf-generated ones.  While it seems perfectly 
fine to have these scripts handwritten, some of them wire into autoconf 
internals or use an ad-hoc way to report errors.  The scripts for the 
C-SKY, m68k, MIPS and RISC-V targets fall into this category.

 This small patch series addresses this problem by converting these 
scripts to autoconf templates with suitable adjustments, then processed 
with autoconf to re-create functionally equivalent almost identical 
scripts.

 The RISC-V script has been verified to still correctly build the library.  
All have been visually inspected to ensure functional equivalence; changes 
are so minimal for this to be straightforward.  There's some noise though 
from a formatting fix to replace octets of spaces with tabs in the new 
templates.

 OK to apply?

  Maciej

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-05-13 16:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 22:28 [PATCH v2 0/4] Avoid relying on autoconf internals in `preconfigure' scripts Maciej W. Rozycki
2022-05-12 22:28 ` [PATCH v2 1/4] C-SKY: Use an autoconf template to produce `preconfigure' Maciej W. Rozycki
2022-05-13  8:12   ` Andreas Schwab
2022-05-12 22:28 ` [PATCH v2 2/4] m68k: " Maciej W. Rozycki
2022-05-13  8:12   ` Andreas Schwab
2022-05-12 22:29 ` [PATCH v2 3/4] MIPS: " Maciej W. Rozycki
2022-05-13  8:15   ` Andreas Schwab
2022-05-13 16:10     ` Maciej W. Rozycki
2022-05-12 22:29 ` [PATCH v2 4/4] RISC-V: " Maciej W. Rozycki
2022-05-12 22:34   ` Palmer Dabbelt
2022-05-12 22:33 ` [PATCH v2 0/4] Avoid relying on autoconf internals in `preconfigure' scripts Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).