Skip to content

Compile fail on macOS 15.5 fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail #20767

@dktapps

Description

@dktapps

Description

fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Apple clang version 17.0.0 (clang-1700.0.13.5)
Target: arm64-apple-darwin24.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/4y/py4x52gd3bv8ybynkrfgc4jm0000gn/T/zend_execute-0ddd58.c
clang: note: diagnostic msg: /var/folders/4y/py4x52gd3bv8ybynkrfgc4jm0000gn/T/zend_execute-0ddd58.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/dylantaylor/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg:

********************
make: *** [Zend/zend_execute.lo] Error 1

zend_execute-0ddd58.sh
zend_execute-0ddd58.c

(no crash file found)

Configure command:

#! /bin/sh
#
# Created by configure

'./configure' \
'--disable-all' \
'--enable-cli' \
'--enable-zts' \
"$@"

PHP Version

8.5.1

The issue does not occur on 8.5.0

Operating System

macOS 15.5 Sequoia

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions