Skip to content

Toolchains: Try re-enabling compressed debug sections test #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jun 10, 2025

Conversation

staticfloat
Copy link
Member

No description provided.

@staticfloat staticfloat force-pushed the sf/compressed_debug_sections branch from 1539f93 to b3106bf Compare April 27, 2025 00:00
@staticfloat staticfloat force-pushed the sf/compressed_debug_sections branch from b3106bf to 0d3f862 Compare April 27, 2025 14:11
This provides the reverse mapping for `macos_version()`.
Add minimum os version to packaged outputs, fix some tools like
`llvm-objcopy`, `xcrun`, etc...
We can expand to more versions later, looks like there's some problem
with the Windows build with GCC 14
We can't do a bootstrapped build because it's canadian cross.
This should return the platform, not nothing, if it can't find anything!
@staticfloat staticfloat force-pushed the sf/compressed_debug_sections branch from a2e9b4d to 46da69b Compare June 6, 2025 19:46
The `-femulated-tls` is to fix the error:
```
/opt/host-x86_64-w64-mingw32/clang/bin/x86_64-w64-mingw32-ld:
lib/libLLVMSupport.a(BalancedPartitioning.cpp.obj):BalancedPartitioni:(.text$_ZNSt13__future_base13_State
_baseV213_M_set_resultESt8functionIFSt10unique_ptrINS_12_Result_baseENS3_8_DeleterEEvEEb[_ZNSt13__future_base13_State_baseV213_M_set_resultESt8functionIFSt10unique_ptr
INS_12_Result_baseENS3_8_DeleterEEvEEb]+0x82): undefined reference to
`std::__once_callable'
```

The `libcxx` changes are to fix building for mingw, as there's symbol
resolution issues if we don't use `lld` or try to make too many things
shared instead of static.
Also fix all the plumbing for `os_version` in our build system
@staticfloat staticfloat force-pushed the sf/compressed_debug_sections branch from 8572f6d to de1a2c0 Compare June 8, 2025 13:24
Also aid in debugging when JLLs fail to deploy
@staticfloat staticfloat force-pushed the sf/compressed_debug_sections branch 3 times, most recently from 7256e15 to 982ecb1 Compare June 10, 2025 06:41
Because our toolchains require a pretty recent `libstdc++` (and
`libc++`, in some cases!) we provide these libraries on the
`LD_LIBRARY_PATH` automatically with the `with_toolchains()` function.
@staticfloat staticfloat force-pushed the sf/compressed_debug_sections branch from 982ecb1 to 4d02471 Compare June 10, 2025 06:55
@staticfloat staticfloat merged commit d704846 into main Jun 10, 2025
1 check passed
@staticfloat staticfloat deleted the sf/compressed_debug_sections branch June 10, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant