-
Notifications
You must be signed in to change notification settings - Fork 193
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
Building on macos arm through rosetta terminal causes ld: unknown option #107
Comments
I also get this error on my Intel Mac Mini (with Xcode 15.0.1 installed, no Rosetta involved, just a straight x86_64 build). Removing the |
According to ali-rantakari/trash#43 "-force_cpusubtype_ALL is only relevant when building for PowerPC and is no longer allowed in Xcode 15." |
Fixes: xiph#107 Fixes: xiph#108 (See also: mkxp-z/mkxp-z#200)
Fixes: xiph#107 Fixes: xiph#108 (See also: mkxp-z/mkxp-z#200)
I am building this on an arm mac though I am using a rosetta based terminal so am building for x86_64.
I run the following commands
./autogen.sh
./configure --prefix=<build_dest> --with-ogg=<ogg 1.3.5 install location>
make
and I get the following error message:
CC test_sharedbook-sharedbook.o
CCLD test_sharedbook
ld: unknown options: -force_cpusubtype_ALL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [test_sharedbook] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: