[MacPorts] #62449: libffi @3.3_1: not building universal on arm64
MacPorts
noreply at macports.org
Sat Mar 13 18:00:04 UTC 2021
#62449: libffi @3.3_1: not building universal on arm64
-----------------------+--------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: universal | Port: libffi
-----------------------+--------------------
seems to be building the x86_64 parts as arm64 in some places, no doubt
due to lack of arch flags where they need to be:
{{{
make[3]: *** [libffi_convenience.la] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: /usr/bin/clang -dynamiclib -o .libs/libffi.7.dylib
src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o
src/.libs/java_raw_api.o src/.libs/closures.o src/x86/.libs/ffi64.o
src/x86/.libs/unix64.o src/x86/.libs/ffiw64.o src/x86/.libs/win64.o
-L/opt/kencuuniversal/lib -O3 -Wl,-headerpad_max_install_names -arch
x86_64 -Wl,-syslibroot
-Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
-Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot
-Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
-install_name /opt/kencuuniversal/lib/libffi.7.dylib
-compatibility_version 9 -current_version 9.0 -Wl,-single_module
ld: warning: ignoring file src/.libs/prep_cif.o, building for macOS-x86_64
but attempting to link with file built for unknown-arm64
ld: warning: ignoring file src/.libs/types.o, building for macOS-x86_64
but attempting to link with file built for unknown-arm64
ld: warning: ignoring file src/.libs/raw_api.o, building for macOS-x86_64
but attempting to link with file built for unknown-arm64
ld: warning: ignoring file src/.libs/java_raw_api.o, building for macOS-
x86_64 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file src/.libs/closures.o, building for macOS-x86_64
but attempting to link with file built for unknown-arm64
ld: warning: ignoring file src/x86/.libs/ffiw64.o, building for macOS-
x86_64 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file src/x86/.libs/ffi64.o, building for macOS-
x86_64 but attempting to link with file built for unknown-arm64
Undefined symbols for architecture x86_64:
"_ffi_closure_unix64_inner", referenced from:
_ffi_closure_unix64 in unix64.o
"_ffi_closure_win64_inner", referenced from:
_ffi_closure_win64 in win64.o
}}}
{{{
% file ./x86_64-apple-darwin20.3.0/src/raw_api.o
./x86_64-apple-darwin20.3.0/src/raw_api.o: Mach-O 64-bit object arm64
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62449>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list