<p>The interesting part is</p>
<pre><code>configure:3744: gcc    conftest.c  >&5
/tmp/ccr38YUW.s: Assembler messages:
/tmp/ccr38YUW.s:8: Error: unsupported instruction `push'
/tmp/ccr38YUW.s:11: Error: unsupported instruction `movq'
/tmp/ccr38YUW.s:14: Error: unsupported instruction `pop'
configure:3748: $? = 1
</code></pre>
<p>I've never seen this, and my best guess is indeed that the compiler setup is broken (emitting assembly for another arch?).  Can you try manually building the same thing the <em>same way</em> (e.g. just <code>gcc file.c</code>)?</p>
<div class="highlight highlight-text-shell-session"><pre>$ <span class="pl-s1"><span class="pl-c1">cd</span> /tmp</span>
$ <span class="pl-s1">cat <span class="pl-k">></span> conftest.c <span class="pl-s"><span class="pl-k"><<</span><span class="pl-k">EOF</span></span></span>
<span class="pl-c1">/* confdefs.h */</span>
<span class="pl-c1">#define PACKAGE_NAME "Geany"</span>
<span class="pl-c1">#define PACKAGE_TARNAME "geany"</span>
<span class="pl-c1">#define PACKAGE_VERSION "1.35"</span>
<span class="pl-c1">#define PACKAGE_STRING "Geany 1.35"</span>
<span class="pl-c1">#define PACKAGE_BUGREPORT "https://github.com/geany/geany/issues"</span>
<span class="pl-c1">#define PACKAGE_URL ""</span>
<span class="pl-c1">#define PACKAGE "geany"</span>
<span class="pl-c1">#define VERSION "1.35"</span>
<span class="pl-c1">/* end confdefs.h.  */</span>

<span class="pl-c1">int</span>
<span class="pl-c1">main ()</span>
<span class="pl-c1">{</span>

<span class="pl-c1">  ;</span>
<span class="pl-c1">  return 0;</span>
<span class="pl-c1">}</span>
<span class="pl-c1">EOF</span>
$ <span class="pl-s1">gcc conftest.c</span></pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2040#issuecomment-452603283">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ4vWfGoz_hafAGRlVlrT_k5JkVrZks5vBZ-SgaJpZM4Z22Sc">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ4L6xQYT5RqnFQrMk4ZgTk7lz5J2ks5vBZ-SgaJpZM4Z22Sc.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@b4n in #2040: The interesting part is\r\n```\r\nconfigure:3744: gcc    conftest.c  \u003e\u00265\r\n/tmp/ccr38YUW.s: Assembler messages:\r\n/tmp/ccr38YUW.s:8: Error: unsupported instruction `push'\r\n/tmp/ccr38YUW.s:11: Error: unsupported instruction `movq'\r\n/tmp/ccr38YUW.s:14: Error: unsupported instruction `pop'\r\nconfigure:3748: $? = 1\r\n```\r\n\r\nI've never seen this, and my best guess is indeed that the compiler setup is broken (emitting assembly for another arch?).  Can you try manually building the same thing the *same way* (e.g. just `gcc file.c`)?\r\n```console\r\n$ cd /tmp\r\n$ cat \u003e conftest.c \u003c\u003cEOF\r\n/* confdefs.h */\r\n#define PACKAGE_NAME \"Geany\"\r\n#define PACKAGE_TARNAME \"geany\"\r\n#define PACKAGE_VERSION \"1.35\"\r\n#define PACKAGE_STRING \"Geany 1.35\"\r\n#define PACKAGE_BUGREPORT \"https://github.com/geany/geany/issues\"\r\n#define PACKAGE_URL \"\"\r\n#define PACKAGE \"geany\"\r\n#define VERSION \"1.35\"\r\n/* end confdefs.h.  */\r\n\r\nint\r\nmain ()\r\n{\r\n\r\n  ;\r\n  return 0;\r\n}\r\nEOF\r\n$ gcc conftest.c\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2040#issuecomment-452603283"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2040#issuecomment-452603283",
"url": "https://github.com/geany/geany/issues/2040#issuecomment-452603283",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>