[MacPorts] #69380: libffi fails on 10.5 PPC for bad patch
MacPorts
noreply at macports.org
Tue Feb 27 15:55:41 UTC 2024
#69380: libffi fails on 10.5 PPC for bad patch
-----------------------+-------------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard ppc
Port: libffi |
-----------------------+-------------------------
Comment (by rmottola):
@ballapete yes, I have an intel 64bit laptop running 10.5, a rare
combination, but works. Installed for mostly test purposes, but acts quite
well. The computer could run 10.6, but I have anotherone with 10.6. I also
have a 32bit 10.5 intel.
So it is possible to test 10.5 without 32bit issues. While 10.5 is mostly
used on old 32bit computer, a lot of software today is mainly programmed
on 64bit.
Said that, I see several kinds of warnings in the tessuite log:
{{{
../../testsuite/libffi.bhaible/test-call.c:35: warning: unused parameter
�~@~Xstream�~@~Y^M
../../testsuite/libffi.bhaible/test-call.c:87: warning: unused parameter
�~@~Xa�~@~Y^M
../../testsuite/libffi.bhaible/test-call.c:87: warning: unused parameter
�~@~Xb�~@~Y^M
../../testsuite/libffi.bhaible/test-call.c:87: warning: unused parameter
�~@~Xc�~@~Y^M
}}}
... (repeated for dozens of lines)
but also this which looks worse:
{{{
ld warning: in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/work/libffi-3.4.6/i386
-apple-darwin9.8.0/.libs/libffi.dylib, file is not of required
architecture^M
Undefined symbols:^M
"_ffi_type_void", referenced from:^M
_ffi_type_void$non_lazy_ptr in ccXofqb0.o^M
"_ffi_type_sint8", referenced from:^M
_ffi_type_sint8$non_lazy_ptr in ccXofqb0.o^M
"_ffi_call", referenced from:^M
_void_tests in ccXofqb0.o^M
"_ffi_type_sint32", referenced from:^M
_ffi_type_sint32$non_lazy_ptr in ccXofqb0.o^M
"_ffi_prep_cif", referenced from:^M
_void_tests in ccXofqb0.o^M
ld: symbol(s) not found^M
collect2: ld returned 1 exit status^M
compiler exited with status 1
FAIL: libffi.bhaible/test-call.c -W -Wall -DDGTEST=1 -O0 (test for excess
errors)
Excess errors:
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69380#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list