[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52330: Different processor architecture on Apple M1 CPU
From: |
Jakub Sokołowski |
Subject: |
bug#52330: Different processor architecture on Apple M1 CPU |
Date: |
Tue, 7 Dec 2021 20:50:35 +0100 |
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@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>