[MacPorts] #66125: ffcall @2.4_0+universal configure error on MacOS 13.0, M2 MacBook Air, command line tools for xcode 14.1 RC2
MacPorts
noreply at macports.org
Wed Nov 2 06:38:16 UTC 2022
#66125: ffcall @2.4_0+universal configure error on MacOS 13.0, M2 MacBook Air,
command line tools for xcode 14.1 RC2
------------------------+--------------------
Reporter: pxr02411 | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: duplicate | Keywords:
Port: ffcall |
------------------------+--------------------
Comment (by pxr02411):
The comment in avcall-arm64.c .............?
/**
Copyright 1993 Bill Triggs <Bill.Triggs at inrialpes.fr>
Copyright 1995-2021 Bruno Haible <bruno at clisp.org>
**/
/*----------------------------------------------------------------------
!!! THIS ROUTINE MUST BE COMPILED gcc -O -fno-omit-frame-pointer !!!
Foreign function interface for a Linux arm64 (a.k.a. aarch64) with gcc.
This calls a C function with an argument list built up using macros
defined in avcall.h.
ARM64 Argument Passing Conventions are documented in
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf.
Up to 8 words are passed in integer registers (x0, ..., x7).
Up to 8 float/double arguments are passed in floating point / SIMD
registers (v0/q0/d0/s0, ..., v7/q7/d7/s7).
Arguments passed on the stack have 8-bytes alignment (but on macOS only
4-bytes alignment).
Structure args larger than 16 bytes are passed as pointers to caller-
made
local copies. (§ 5.4.2 rule B.3)
Structure args <= 16 bytes are passed as up to two words in registers
(§ 5.4.2 rule C.10) or otherwise on the stack (§ 5.4.2 rule C.13).
Integers are returned in x0, x1.
Float/double values are returned in d0/s0, d1/s1.
Structures <= 16 bytes are returned in registers. To return a structure
larger than 16 bytes, the called function copies the value to space
pointed to by x8.
----------------------------------------------------------------------*/
--
Ticket URL: <https://trac.macports.org/ticket/66125#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list