Skip to content

Conversation

@dra27
Copy link
Owner

@dra27 dra27 commented Aug 28, 2025

ld -r (certainly in GNU binutils) has an empty search path - co-opt the MSVC search code and always resolve libraries when partial linking, except this time ignore the ones which are missing. This seems to fit the rest of -output-complete-obj, given that the standard C libraries are also omitted (-lm, -lpthread, etc.)

@dra27 dra27 added relocatable PRs related to the Relocatable Compiler project CI: Skip testsuite Skip the testsuite runs on a PR labels Aug 28, 2025
@dra27 dra27 force-pushed the relocatable-testing branch from 3c8b5c1 to 2a7e0ad Compare September 9, 2025 22:19
@dra27 dra27 changed the base branch from relocatable-testing to trunk September 13, 2025 13:34
@dra27 dra27 changed the base branch from trunk to relocatable-testing November 30, 2025 14:36
@dra27 dra27 force-pushed the relocatable-testing branch from d644c59 to 63922b2 Compare November 30, 2025 14:36
@dra27 dra27 force-pushed the relocatable-testing branch from 63922b2 to 198fcfd Compare December 10, 2025 11:10
@dra27 dra27 force-pushed the relocatable-testing branch from 198fcfd to 56b115d Compare December 11, 2025 18:34
@dra27 dra27 force-pushed the relocatable-testing branch from 56b115d to 5c4d9f3 Compare December 12, 2025 11:17
ld -r (certainly in GNU binutils) has an empty search path - co-opt the
MSVC search code and always resolve libraries when partial linking,
except this time _ignore_ the ones which are missing. This seems to fit
the rest of -output-complete-obj, given that the _standard_ C libraries
are also omitted (-lm, -lpthread, etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: Skip testsuite Skip the testsuite runs on a PR relocatable PRs related to the Relocatable Compiler project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants