Commit f9d8238
committed
fix: macOS link strategy — no sysroot for linker + 3-step self-host CI
Root cause: passing --sysroot to macOS linker forces it to use SDK
.tbd stubs which lack libc++abi exports. Fix: only pass sysroot to
compiler (for headers), let clang++ driver handle linking natively.
CI now validates 3 steps:
1. xmake builds mcpp (bootstrap)
2. That mcpp builds itself (self-host)
3. The self-hosted mcpp builds itself again (stability proof)1 parent 072c25a commit f9d8238
2 files changed
Lines changed: 61 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | | - | |
274 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
275 | 303 | | |
276 | 304 | | |
277 | 305 | | |
| 306 | + | |
| 307 | + | |
278 | 308 | | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
164 | 165 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
168 | 174 | | |
169 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
170 | 178 | | |
171 | | - | |
172 | | - | |
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
| |||
0 commit comments