Update s390x-unwind.patch and replace xargo with rustc-build-sysroot#211
Update s390x-unwind.patch and replace xargo with rustc-build-sysroot#211
Conversation
Co-authored-by: messense <1556054+messense@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the s390x-unwind.patch file to align with recent upstream Rust library refactoring that replaced if/else conditionals with the cfg_select! macro. The patch maintains its original purpose of fixing pthread_once dependency issues when statically linking on s390x musl systems.
Changes:
- Updated line numbers from 51 to 74 to match upstream file structure
- Changed context from
} else {to_ => {to reflect cfg_select! default branch syntax - Added hexagon architecture exclusion to gcc_s link directive per upstream changes
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
xargo is broken now could you try to replace it with maybe https://github.com/RalfJung/rustc-build-sysroot? |
Co-authored-by: messense <1556054+messense@users.noreply.github.com>
... Replaced xargo with rustc-build-sysroot in commit 4431176. Created a custom build-sysroot tool that uses the rustc-build-sysroot library to build the sysroot, which should resolve the compilation errors you were seeing with xargo. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: messense <1556054+messense@users.noreply.github.com>
Co-authored-by: messense <1556054+messense@users.noreply.github.com>
|
@copilot CI failed with: Please help fix this. |
…ing 11.2.0 Co-authored-by: messense <1556054+messense@users.noreply.github.com>
Fixed in commit c51d2ef. The issue was that the GCC version was hardcoded to 11.2.0 but config.mak specifies GCC 12.4.0. The script now dynamically detects the GCC library directory instead of hardcoding the version, so it will work with any GCC version configured in config.mak. |
Co-authored-by: messense <1556054+messense@users.noreply.github.com>
…istency Co-authored-by: messense <1556054+messense@users.noreply.github.com>
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.