Closed pepyakin closed 5 years ago
There's a bit of discussion on the original PR, and it seems like if LLD doesn't support both flags then we should remove the argument from rustc and require users to pass in an explicit value.
cc @overdrivenpotato
Oh, the problem might be deeper, since overriding of stack size doesn't seem to work either.
I believe the stack size aspect was addressed by https://github.com/rust-lang/rust/pull/57337
Should have been fixed in https://github.com/rust-lang/rust/pull/57861, so closing.
I've discovered flags like
--pic
/--shared
in the latest LLD (seems to be not yet available in the LLD shipped with rust). But when I try to use them I'm getting this LLD error:I tried to pass
--import-table
to override the rustc passed--export-table
, however, LLD doesn't support that, and fails withDo you have any idea how to proceed here?