<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hey,</p>
    <p>your problem is related to bundled libgc. We have some
      conditionalization for musl, so I'm sure it worked in the past.
      I'd suggest trying to install libgc from alpine repositories and
      build ECL against that libgc. If Alpine doesn't have libgc in the
      repositories, I'd try building upstream bdwgc and linking ECL with
      it. If it doesn't build, report a bug on bdwgc project, if it does
      – please let us know here so we'll update bundled libgc to the
      working version.</p>
    <p>Best regards,</p>
    <p>Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12.10.2017 18:03, Lucas Ramage
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKkjsY_GttV-93gN40_7tYPVA6MjawgAc46Mv8XA8TiHTsK-+w@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">Hello,</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">I
          am attempting to package ecl for alpine linux and I am having
          troubles compiling against musl. </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">
          <p class="gmail-p1"><span class="gmail-s1">Building ecl_min...</span></p>
          <p class="gmail-p1"><span class="gmail-s1">.//libeclgc.a(mach_dep.o):
              In function `GC_with_callee_saves_pushed':</span></p>
          <p class="gmail-p1"><span class="gmail-s1">/root/ecl-16.1.3/src/bdwgc/mach_dep.c:245:
              undefined reference to `getcontext'</span></p>
          <p class="gmail-p1"><span class="gmail-s1">collect2: error: ld
              returned 1 exit status</span></p>
          <p class="gmail-p1"><span class="gmail-s1">make[1]: ***
              [Makefile:224: ecl_min] Error 1</span></p>
          <p class="gmail-p1"><span class="gmail-s1">make[1]: Leaving
              directory '/root/ecl-16.1.3/build'</span></p>
          <p class="gmail-p1"><span class="gmail-s1">make: ***
              [Makefile:72: all] Error 2</span></p>
        </div>
        <div>
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif;font-size:small">​</div>
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif;font-size:small">I
            tried `make CFLAGS='-DNO_GETCONTEXT'`​ but that did not work
            either.</div>
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
          </div>
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif;font-size:small">Has
            anyone successfully built ecl using musl?</div>
          <br>
        </div>
        <div><br>
        </div>
        -- <br>
        <div class="gmail-m_-6133329252160187393gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr"><span
                                          style="font-size:12.8px">Regards,</span>
                                        <table
                                          style="font-size:12.8px;font-family:Times"
                                          border="0" cellpadding="0"
                                          width="100%">
                                          <tbody>
                                            <tr>
                                              <td valign="middle"
                                                align="left" width="10">
                                                <p
style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px;color:rgb(33,33,33);margin-right:10px"><a
href="https://lramage94.github.io/" target="_blank"
                                                    moz-do-not-send="true"><img
src="https://raw.githubusercontent.com/lramage94/dotfiles/master/.config/email/img/favicon.png"
                                                      alt="Visit online
                                                      journal"
                                                      style="border:
                                                      none; display:
                                                      inline;"
                                                      moz-do-not-send="true"
                                                      border="0"
                                                      height="80"
                                                      width="80"></a></p>
                                              </td>
                                              <td align="left">
                                                <p
style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px;color:rgb(33,33,33)"><b>Lucas
                                                    Ramage</b> /
                                                  Software Engineer<br>
                                                  <a
                                                    href="mailto:ramage.lucas@openmailbox.org"
style="color:rgb(255,0,0)" target="_blank" moz-do-not-send="true">ramage.lucas@openmailbox.org</a> /
                                                  <a
                                                    href="tel:%28941%29%20404-6794"
                                                    value="+19414046794"
                                                    target="_blank"
                                                    moz-do-not-send="true">(941)
                                                    404-6794</a></p>
                                                <p
style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px;color:rgb(33,33,33)"><b>PGP
                                                    Fingerprint</b> / <a
href="https://emailselfdefense.fsf.org/en/" style="color:rgb(0,0,255)"
                                                    target="_blank"
                                                    moz-do-not-send="true">Learn
                                                    More</a><br>
                                                  <a
href="https://pgp.mit.edu/pks/lookup?op=get&search=0xF52A5A967B9B6FB7"
style="color:rgb(255,0,0)" target="_blank" moz-do-not-send="true">EAE7
                                                    45DF 818D 4948 DDA7
                                                    0F44 F52A 5A96 7B9B
                                                    6FB7</a></p>
                                                <p
style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px;color:rgb(33,33,33)"><b>Visit
                                                    online journal</b><br>
                                                  <a
                                                    href="https://lramage94.github.io/"
style="color:rgb(255,0,0)" target="_blank" moz-do-not-send="true">http://lramage94.github.io</a></p>
                                                <p
style="font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:12px;color:rgb(33,33,33)"><a
href="https://github.com/lramage94" target="_blank"
                                                    moz-do-not-send="true"><img
src="https://raw.githubusercontent.com/lramage94/dotfiles/master/.config/email/img/github.png"
                                                      alt="Github"
                                                      style="border:
                                                      none; display:
                                                      inline;"
                                                      moz-do-not-send="true"
                                                      height="16"
                                                      width="16"> </a><a
href="https://www.linkedin.com/in/lramage94" target="_blank"
                                                    moz-do-not-send="true"><img
src="https://raw.githubusercontent.com/lramage94/dotfiles/master/.config/email/img/linkedin.png"
                                                      alt="Linkedin"
                                                      style="border:
                                                      none; display:
                                                      inline;"
                                                      moz-do-not-send="true"
                                                      height="16"
                                                      width="16"></a></p>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>