[MacPorts] #61663: procmail @3.22: error: implicit declaration of function 'killchildren' is invalid in C99

MacPorts noreply at macports.org
Sat Feb 6 06:13:02 UTC 2021


#61663: procmail @3.22: error: implicit declaration of function 'killchildren' is
invalid in C99
-----------------------+-----------------------------
  Reporter:  pwosel    |      Owner:  blair
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:  fixed     |   Keywords:  bigsur catalina
      Port:  procmail  |
-----------------------+-----------------------------

Comment (by ryandesign):

 Replying to [comment:9 blair]:
 > Thanks for that background. Is there a good link to read more?

 I wish I could find a clear standalone document from Apple on this, but
 the best I could find is:

 https://developer.apple.com/documentation/apple_silicon/addressing_architectural_differences_in_your_macos_code#3616882

 "The x86_64 and arm64 architectures have different calling conventions for
 variadic functions—functions with a variable number of parameters. On
 x86_64, the compiler treats fixed and variadic parameters the same,
 placing parameters in registers first and only using the stack when no
 more registers are available. On arm64, the compiler always places
 variadic parameters on the stack, regardless of whether registers are
 available. If you implement a function with fixed parameters, but
 redeclare it with variadic parameters, the mismatch causes unexpected
 behavior at runtime."


 > This really is the worst configuration system :(

 It sounds terrible!

-- 
Ticket URL: <https://trac.macports.org/ticket/61663#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list