GNU bug report logs - #52330
Different processor architecture on Apple M1 CPU

Previous Next

Package: coreutils;

Reported by: Jakub Sokołowski <jakub <at> status.im>

Date: Mon, 6 Dec 2021 15:03:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 52330 <at> debbugs.gnu.org (full text, mbox):

From: Jakub Sokołowski <jakub <at> status.im>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 52330 <at> debbugs.gnu.org
Subject: Re: bug#52330: Different processor architecture on Apple M1 CPU
Date: Tue, 7 Dec 2021 20:50:35 +0100
[Message part 1 (text/plain, inline)]
Oh, you're right:

[nix-shell:~/coreutils-9.0.37-202be]$ ./src/uname -p
arm

[nix-shell:~/coreutils-9.0.37-202be]$ ./src/uname -m
arm64

Now it works the same as the default uname utility!


On Tue, Dec 7, 2021 at 8:16 PM Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> On 12/7/21 04:03, Jakub Sokołowski wrote:
> > src/uname.c:170:41: error: unknown type name 'MAYBE_UNUSED'
>
> I suspect you applied the patch to coreutils 9.0, which doesn't work.
> The patch needs to be applied to bleeding-edge coreutils built from Git
> <https://git.savannah.gnu.org/cgit/coreutils.git>.
>
> To save you the work of building from Git, I generated a tarball that
> you should be able to just run './configure; make; src/uname -p' on:
>
> https://www.cs.ucla.edu/~eggert/coreutils-9.0.37-202be.tar.xz
>
> Please give it a try.
>


-- 
Jakub Grzegorz Sokołowski
Head of Infrastructure at Status
Status.im: jakubgs.eth <https://join.status.im/u/jakubgs.eth>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.