Open Quuxplusone opened 11 years ago
Any movement on this? Definitely a problem on OSX Mavericks.
(In reply to comment #1)
> Any movement on this? Definitely a problem on OSX Mavericks.
We got the argumentsFitWithinSystemLimits, but clang was never updated to use
it. I think the main issue was that ld64 on OS X doesn't support @, it only has
a -filelist option.
As far as I can tell, "-filelist file" is just another way of saying "@file". Could clang support using the -filelist arg on OSX?
(In reply to comment #3)
> As far as I can tell, "-filelist file" is just another way of saying
> "@file". Could clang support using the -filelist arg on OSX?
Will ld64 read options from the file? The documentation at least says that it
reads only objects from it.
Clang could and should support -filelist even if it can only put object files
in it. It just hasn't been implemented yet.
Gcc has an heuristic for long command lines: If the driver is passed an @file, it creates a temporary @file when running the linker too.
Clang currently will read the @file correctly, but it will create a command line that is too long when running the linker.