Opened 4 weeks ago
Last modified 12 days ago
#73721 assigned defect
libffi @3.4.6_1: invalid CFI advance_loc expression when installing on macOS Tahoe 26.3.1 (a) (25D771280a)
| Reported by: | AlDante (AlDante) | Owned by: | fhgwright (Fred Wright) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | tahoe | Cc: | |
| Port: | libffi |
Description (last modified by jmroot (Joshua Root))
:info:build /opt/local/var/macports/build/libffi-7351043f/work/.tmp/sysv-2c52d5.s:28:2: error: invalid CFI advance_loc expression :info:build .cfi_def_cfa x1, 40; :info:build ^ :info:build /opt/local/var/macports/build/libffi-7351043f/work/.tmp/sysv-2c52d5.s:255:2: error: invalid CFI advance_loc expression :info:build .cfi_adjust_cfa_offset (8*2 + (8 * 16 + 8 * 8) + 64) :info:build ^
Attachments (1)
Change History (5)
Changed 4 weeks ago by AlDante (AlDante)
comment:1 Changed 4 weeks ago by jmroot (Joshua Root)
| Description: | modified (diff) |
|---|---|
| Keywords: | tahoe added; libffi macOS Tahoe removed |
| Owner: | set to fhgwright |
| Status: | new → assigned |
| Summary: | invalid CFI advance_loc expression when installing libffi port on macOS Tahoe 26.3.1 (a) (25D771280a) → libffi @3.4.6_1: invalid CFI advance_loc expression when installing on macOS Tahoe 26.3.1 (a) (25D771280a) |
Please selfupdate, as the current version of libffi is 3.4.8.
comment:2 follow-up: 3 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
Right, this was fixed a year ago in #72271.
The log says you're using MacPorts 2.12.4 which was released last week, so you either already used selfupdate to get that but it didn't update your ports for some reason, or maybe you installed MacPorts 2.12.4 from source.
Based on "_opt_local_var_macports_sources_github.com_macports_macports-ports_archive_master_ports_devel_libffi" in the log, you're not using our ports collection from rsync but from git. Is your git repo up to date and using our master branch? Do you have any local modifications that might account for it using the old libffi 3.4.6 instead of the current 3.4.8?
comment:3 Changed 3 weeks ago by fhgwright (Fred Wright)
Replying to ryandesign:
Right, this was fixed a year ago in #72271.
Indeed, and that introduced 3.4.6_2, so this issue is specifically about the version prior to the fix, which is expected to fail on some platforms. Perhaps the ticket guidelines should mention that filing tickets against outdated versions should be avoided unless there's some really good reason to do so.
I just reconfirmed that 3.4.8 builds just fine on 26.4 (arm64). This ticket should be closed as "worksforme" (or as a duplicate of #72271).
Also, I'm pretty sure that #68993 is obsolete.

/opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_archive_master_ports_devel_libffi/libffi/main.log