[swift-dev] clang/clang.order: file not recognized: File truncated

Michael Gottesman mgottesman at apple.com
Thu Feb 11 15:44:28 CST 2016


This is an upstream llvm problem that is currently being fixed. The patch is under review.

Either clean your workspace, or here is a patch that fixes it:



Michael

> On Feb 11, 2016, at 10:00 AM, David P Grove via swift-dev <swift-dev at swift.org> wrote:
> 
> Hi,
> 
> Since pulling from git yesterday moring, I haven't been able to get incremental builds of llvm-linux-x86_64 to work. The initial build works, but subsequent incremental builds fail with:
> 
> /home/vagrant/build/dpg/llvm-linux-x86_64/tools/clang/clang.order: file not recognized: File truncated
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> ninja: build stopped: subcommand failed.
> ./utils/build-script: command terminated with a non-zero exit status 1, aborting
> ./utils/build-script: command terminated with a non-zero exit status 1, aborting
> 
> If I rm -rf the llvm-linux-x86_64 build directory and build from scratch it succeeds (once), but incremental builds fail.
> 
> A couple of us at IBM are seeing this problem (not just my bad luck....).
> 
> Any suggestions on how to fix? Anyone else seeing it?
> 
> thanks,
> 
> --dave
> 
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160211/64027dea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order-file-fix.patch
Type: application/octet-stream
Size: 1507 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160211/64027dea/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160211/64027dea/attachment-0001.html>


More information about the swift-dev mailing list