<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="">I had some weird linker issues (see <a href="https://circleci.com/gh/jhedev/todobackend-haskell/48" class="">https://circleci.com/gh/jhedev/todobackend-haskell/48</a>) when using an older gcc 4.9. So switching to gcc-4.6 helped. <div class=""><br class=""></div><div class="">I think you are using the newer ubuntu 14.04 build image which does not include gcc-4.6. Maybe you can try removing the update alternatives commands.</div><div class=""><br class=""></div><div class="">For your problem I guess its more important to set `-j 1` for the `stack build` command. To avoid getting no output etc.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Joel</div><div class=""><div><blockquote type="cite" class=""><div class="">On 24 Aug 2016, at 18:36, Nicola Gigante <<a href="mailto:nicola.gigante@gmail.com" class="">nicola.gigante@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><blockquote type="cite" class="">Il giorno 24 ago 2016, alle ore 18:13, Joel H <<a href="mailto:joel.hermanns@gmail.com" class="">joel.hermanns@gmail.com</a>> ha scritto:<br class=""><br class="">Hi,<br class=""><br class="">I've used this one: <a href="https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml" class="">https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml</a> And it worked great so far. <br class=""><br class="">Maybe this helps.<br class=""><br class=""></blockquote><br class="">Thanks! <br class=""><br class="">It fails on the update-alternatives command.<br class=""><br class="">'update-alternatives: error: alternative path /usr/bin/gcc-4.6 doesn't exist’<br class=""><br class="">What should they do?<br class=""><br class=""><blockquote type="cite" class="">Regards,<br class="">Joel<br class=""></blockquote><br class="">Greetings,<br class="">Nicola</div></div></blockquote></div><br class=""></div></body></html>