[-- Attachment #1: Type: text/plain, Size: 580 bytes --] New issue by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/26641 Description: ### Expected behavior Given that musl's runtime linker doesn't support TEXTRELs, the linkers used to build packages for musl targets (both cross and native) should be configured to error out at build time when they find TEXTRELs. ### Actual behavior Issues like #26638 happen. The linker should have caught it. ### Steps to reproduce the behavior Cross build `rclone` without #26640 and run `readelf -d /path/to/rclone` to see the TEXTREL.
[-- Attachment #1: Type: text/plain, Size: 271 bytes --] New comment by Hello71 on void-packages repository https://github.com/void-linux/void-packages/issues/26641#issuecomment-900455311 Comment: binutils configure --textrel-check=error, or =warning + package build system check. dunno which one is more appropriate for void
[-- Attachment #1: Type: text/plain, Size: 255 bytes --] New comment by Hello71 on void-packages repository https://github.com/void-linux/void-packages/issues/26641#issuecomment-900470555 Comment: actually, no, binutils already enables textrel-check on i386, so it only needs the build system to check for it.
[-- Attachment #1: Type: text/plain, Size: 293 bytes --] New comment by github-actions[bot] on void-packages repository https://github.com/void-linux/void-packages/issues/26641#issuecomment-1113893096 Comment: Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.
[-- Attachment #1: Type: text/plain, Size: 611 bytes --] Closed issue by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/26641 Description: ### Expected behavior Given that musl's runtime linker doesn't support TEXTRELs, the linkers used to build packages for musl targets (both cross and native) should be configured to error out at build time when they find TEXTRELs. ### Actual behavior Issues like #26638 happen. The linker should have caught it. ### Steps to reproduce the behavior Cross build `rclone` without #26640 and run `readelf -d /path/to/rclone` to see the TEXTREL. The linker didn't complain.