<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 29, 2017 at 8:43 PM, Jean-Claude Beaudoin <span dir="ltr"><<a href="mailto:jean.claude.beaudoin@gmail.com" target="_blank">jean.claude.beaudoin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Yep! That's a goofy bug of mine. I hit on it recently in a somewhat different context.</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Sun, Jan 29, 2017 at 7:41 PM, Stefan Husmann <span dir="ltr"><<a href="mailto:stefan-husmann@t-online.de" target="_blank">stefan-husmann@t-online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello,<br>
<br>
I have a linking problem under Arch Linux with GCC 6.3.1 toolchain.<br>
<br>
;;; About to build main executable mkcl.<br>
build-program failed: (mkcl:run-command "\"gcc\" -o \"/home/haawda/paketierung/mei<wbr>ne_Pakete/mkcl/src/mkcl-1.1.<wbr>10/src/bin/mkcl-small\"  \"-Wl,--whole-archive\" \"/home/haawda/paketierung/mei<wbr>ne_Pakete/mkcl/src/mkcl-1.1.<wbr>10/src/bin/MKCLINITBQHUwf.o\" \"-Wl,--no-whole-archive\"  -rdynamic -Wl,--enable-new-dtags -Wl,-rpath,$ORIGIN/../lib -Wl,--whole-archive \"/home/haawda/paketierung/mei<wbr>ne_Pakete/mkcl/src/mkcl-1.1.<wbr>10/src/mkcltop.a\" \"/home/haawda/paketierung/mei<wbr>ne_Pakete/mkcl/src/mkcl-1.1.<wbr>10/src/lsp.a\" \"/home/haawda/paketierung/mei<wbr>ne_Pakete/mkcl/src/mkcl-1.1.<wbr>10/src/mkclmin.a\" \"/home/haawda/paketierung/mei<wbr>ne_Pakete/mkcl/src/mkcl-1.1.<wbr>10/src/mkclgc.a\" \"/home/haawda/paketierung/mei<wbr>ne_Pakete/mkcl/src/mkcl-1.1.<wbr>10/src/libmkcc1.a\" -Wl,--no-whole-archive-Wl,-O1,<wbr>--sort-common,--as-needed,-z,r<wbr>elro  -lgmp -lm  -lrt  -pthread -ldl ") returned non-zero value 1<br>
Command output:<br>
/usr/bin/ld: unrecognized option '--no-whole-archive-Wl'<br>
/usr/bin/ld: use the --help option for usage information<br>
<br>
This happens both with mkcl 1.1.10 tarball and newest sources from<br>
<a href="https://gitlab.common-lisp.net/mkcl/mkcl.git" rel="noreferrer" target="_blank">https://gitlab.common-lisp.net<wbr>/mkcl/mkcl.git</a>.<br>
<br>
I think this comes from the gc subdirectory's configure script.<br>
<br></blockquote><div><br></div></span><div>Don't think so. I'd bet much more on a missing blank space somewhere in mkcl/src/cmp/cmpmain.lsp or mkcl/src/cmp/<a href="http://cmpdefs.lsp.in" target="_blank">cmpdefs.lsp.in</a>.</div><div><br></div><div>I'll investigate and get back to you with a possible fix.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Help would be appreciated.<br>
<br>
Best Regards<br>
<span class="m_6438596285420490727HOEnZb"><font color="#888888"><br>
Stefan Husmann<br>
<br>
</font></span></blockquote></span></div><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">Could you try the attached patch?</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>