Commit dea02f0
committed
CI/build: fix release matrix for macOS, Linux x86_64, and Lambda/Bref
First release run surfaced three platform-specific build breaks:
- macOS (all): linking a cdylib that references Zend symbols fails because
macOS ld rejects undefined symbols. Add .cargo/config.toml pinning
`-undefined dynamic_lookup` for the macOS target (also fixes local macOS
builds), so Zend/PHP symbols resolve at extension load time.
- Linux x86_64 (8.4/8.5): bindgen hit a clang-14 emmintrin.h SSE2 bug on
ubuntu-22.04. Install clang-15/libclang-15-dev and point bindgen at it via
LIBCLANG_PATH; keep ubuntu-22.04 so the generic build stays glibc-2.35
portable. aarch64 was unaffected (no x86 SSE header) and already passed.
- Lambda/Bref (all 4): dnf segfaulted inside the AL2023 Bref image under
Docker's default seccomp profile. Run the build container with
`--security-opt seccomp=unconfined`, install clang-devel for the libclang
symlink, and set LIBCLANG_PATH=/usr/lib64.
Mirror the Bref docker fixes in docs/install.md's build-from-source snippet.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R3vgA3Q6PR9VQn8X5pLcMR1 parent be7c059 commit dea02f0
3 files changed
Lines changed: 25 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| |||
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
| 87 | + | |
| 88 | + | |
82 | 89 | | |
83 | | - | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | | - | |
| 94 | + | |
87 | 95 | | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| 99 | + | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
0 commit comments