Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not build on Apple M SOC #41

Open
thebigcorporation opened this issue Jan 31, 2023 · 0 comments
Open

Does not build on Apple M SOC #41

thebigcorporation opened this issue Jan 31, 2023 · 0 comments

Comments

@thebigcorporation
Copy link

using brew on Apple M1.

This references PR 7dc875b

The PR builds on Intel Mac and Linux of course, but fails on M1 as follows:


#10 4.028 make[1]: Entering directory '/usr/src'
#10 4.028 gcc -DHAVE_CONFIG_H -I.     -g -O2 -ggdb -Wall -march=core2 -MT cmdline-utils.o -MD -MP -MF .deps/cmdline-utils.Tpo -c -o cmdline-utils.o cmdline-utils.c
#10 4.031 cc1: error: unknown value 'core2' for '-march'
#10 4.031 cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8.6-a armv8-r native
#10 4.032 make[1]: Leaving directory '/usr/src'
#10 4.032 make[1]: *** [Makefile:460: cmdline-utils.o] Error 1
#10 4.033 make: *** [Makefile:327: all] Error 2
#10 ERROR: executor failed running [/bin/sh -c autoupdate && autoreconf && ./configure && make && make install]: exit code: 2
------
 > [builder 6/6] RUN autoupdate && autoreconf && ./configure && make && make install:
------
executor failed running [/bin/sh -c autoupdate && autoreconf && ./configure && make && make install]: exit code: 2
make: *** [docker] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant