<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I’m installing Swift 3 on FreeBSD 11. After installing the necessary dependencies, I now only need to run the build-script.</div><div class=""><br class=""></div><div class="">The problem is that I cannot proceed beyond:</div><div class=""><br class=""></div><div class="">&gt; &nbsp;<span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; background-color: rgb(252, 249, 238);" class="">Linking CXX executable bin/llvm-lto</span></div><div class=""><br class=""></div><div class="">because I consistently run out of memory on my 16GB server.</div><div class=""><br class=""></div><div class="">From what I’ve gathered, the problem lies in &nbsp;ld &nbsp;which is apparently infamous for this sort of behavior.</div><div class=""><br class=""></div><div class="">I know that I can run ld without debug options (which would reduce its memory footprint dramatically) but I don’t know how I would do that, given that it is called by the build-script.</div><div class=""><br class=""></div><div class="">What do I need to do to make the build-script use less memory?</div><div class=""><br class=""></div><div class="">— Brandon Bradley</div></body></html>