<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Hello list,</span><div class=""><br class=""></div><div class="">I have a problem with running debian inside parallels on an iMac 2019 (i5 8500, 64gb ram). Debian actually runs fine, but downloading lineageos via the repo command fails and it seems it is due to gnutls.</div><div class=""><br class=""></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">When I tried to download lineageos via the repo command</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">repo init -u <a href="https://github.com/LineageOS/android.git" class="">https://github.com/LineageOS/android.git</a> -b lineage-19.1<br class=""></blockquote></blockquote><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">the command failed with an 'git was killed with signal 4' error.</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">I narrowed it down to git trying to clone from an http**s** source, which I think utilizes openssl. The command </span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">git clone '<a href="https://gerrit.googlesource.com/git-repo" class="">https://gerrit.googlesource.com/git-repo</a>' <br class=""></blockquote></blockquote><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">dies with the error message 'git-remote-https died of signal 4‘. </span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></div><div class=""><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">When I try to do the same with </span></div><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">wget <a href="https://gerrit.googlesource.com/git-repo" class="">https://gerrit.googlesource.com/git-repo</a></blockquote></blockquote></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">I receive the error 'Illegal instruction'</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">.</span></div></div><div class=""><br class=""></div><div class="">Initially I thought this was a problem with openssl and asked the openssl dev mailing list. </div><div class="">They pointed me to producing a coredump. So I did:</div><div class=""><div class=""><br class=""></div><div class=""># ulimit -c unlimeted</div><div class=""># sudo sysctl -w kernel.core_uses_pid=1</div><div class=""><br class=""></div><div class="">and reproduced the error with</div><div class=""><br class=""></div><div class=""># wget <a href="https://gerrit.googlesource.com/git-repo" class="">https://gerrit.googlesource.com/git-repo</a></div><div class=""><br class=""></div><div class="">which produced a core dump file which I opened via</div><div class=""><br class=""></div><div class=""># gdb wget core.252637</div><div class=""><br class=""></div><div class="">and that stated:</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">###</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">Using host libthread_db library "</span><span style="font-variant-ligatures: no-common-ligatures" class="">/lib/x86_64-linux-gnu/libthread_db.so.1</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">".</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Core was generated by `wget <a href="https://gerrit.googlesource.com/git-repo'" class="">https://gerrit.googlesource.com/git-repo'</a>.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Program terminated with signal SIGILL, Illegal instruction.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">#0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #5620f4" class="">0x00007f3a9594fb0a</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> in </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class="">??</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> () from </span><span style="font-variant-ligatures: no-common-ligatures" class="">/lib/x86_64-linux-gnu/libgnutls.so.30</span></div></div><div class="">###</div><div class=""><br class=""></div><div class="">So it seems that it isn’t openssl causing the problem but gnutls. I therefore tried to apt source —compile libgnutls and that fails in the test phase with lots of lines like:</div><div class=""><br class=""></div><div class="">###</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[6]: Entering directory '/home/gunnarstahl/build-libgnutls/gnutls28-3.7.7/b4deb/tests'</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">../../build-aux/test-driver: line 112: 361413 Illegal instruction "$@" >> "$log_file" 2>&1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FAIL: tls13/supported_versions</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">../../build-aux/test-driver: line 112: 361411 Illegal instruction "$@" >> "$log_file" 2>&1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">../../build-aux/test-driver: line 112: 361412 Illegal instruction "$@" >> "$log_file" 2>&1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FAIL: tls13/tls12-no-tls13-exts</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FAIL: tls13/post-handshake-with-cert</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FAIL: sanity-cpp</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">../../build-aux/test-driver: line 112: 361441 Illegal instruction "$@" >> "$log_file" 2>&1</span></div></div><div class="">###</div><div class=""><br class=""></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Anything I can do here apart from switching to native hardware? Some compiler switches or anything? </span><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">Any help is appreciated. I’ll happily provide the necessary log files.</span></font></div><div class=""><br class=""></div></div></body></html>