git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/4] Add a CI for unsigned char system

From
Jeff King <peff@peff.net>
Date
Mar 9, 2023, 10:57 UTC
Message-ID
<ZAm7mpf36IOCqgN4@coredump.intra.peff.net>
In-Reply-To
<CAPx1GveS2=8-rh6PVFsOXLvJ4iZGzeo9uUdG=wcbophxiDam0g@mail.gmail.com>
On Thu, Mar 09, 2023 at 02:26:34AM -0800, Chris Torek wrote:
Show 6 quoted lines
> On Thu, Mar 9, 2023 at 1:54 AM Jeff King <peff@peff.net> wrote:
> > I like the overall goal, but I'm not wild about having another CI
> > provider.
> 
> So, why not do an x86 build with `-funsigned-char`? Seems to work with
> both gcc and clang.

Yeah, that would be even simpler. Though IMHO "unsigned char" is only one interesting difference to be checking. Another would be having a platform where unaligned access isn't tolerated. It would be nice to have a big-endian platform, too, but I'm not sure if arm is a good fit there (my impression is that it can be run in either mode?).

On the other hand, I think Ævar does periodically run on the gcc build machines, which includes examples of each (including aarch64). And this particular bug was found pretty quickly (within a week of it hitting next, and only a day after hitting master). So while it might be nice to have more immediate CI feedback, it does seem like the old "if the platform matters, somebody will try it and report the problem" strategy still works, too.

-Peff
Previous: Chris Torek
Message 9 of 9 in “Add a CI for unsigned char system”
  1. 0/4 Add a CI for unsigned char systemĐoàn Trần Công Danh, Mar 3, 2023
  2. 1/4 ci/lib.sh: remove an useless breakĐoàn Trần Công Danh, Mar 3, 2023
  3. 2/4 ci/install-dependencies: libify p4 and git-lfs installationĐoàn Trần Công Danh, Mar 3, 2023
  4. 3/4 ci/install-dependencies: install git-lfs for arm64 buildĐoàn Trần Công Danh, Mar 3, 2023
  5. 4/4 ci: add arm64 CI environment via CircleCIĐoàn Trần Công Danh, Mar 3, 2023
  6. Đoàn Trần Công DanhMar 3, 2023
  7. Jeff KingMar 9, 2023
  8. Chris TorekMar 9, 2023
  9. Jeff KingMar 9, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.