Open erneestoc opened 2 years ago
Suspecting this issue is a configuration error on my side. Would this error happen if I'm using different linkers on different targets and then try to link using mold?
Wrong usage should be reported to the user with a proper error mesage, so an assertion failures are always a bug. I'll take a look at this. Thank you for reporting!
I'm working on an Xcode project with 150+ targets and multiple schemas to build different things. One for each of those 150 frameworks and their tests, and others for the main app and all of the tests. When I compile the framework and tests individually, it works flawlessly. It also works to compile and run the app, but when I try to compile tests for all of the targets, it randomly fails at different frameworks with the error above. šš»
Do you have an idea of what it could be?
Getting
Assertion failed: (got_idx != -1), function get_got_addr, file mold.h, line 1017.
I can try to tackle this issue with some guidance.