X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:message-id:from:to:subject :content-type:date; q=dns; s=default; b=kczOrGNt16RhROi9Fy2avnuq eZ1QgqxrJ29bQ3clulxPuHWDR4btiVzRzBGggby8Tie2O0k9sMi7luIl69HfkFC+ PPa2iyLhuqK4DVZhIdJo6aRJkQuWIfR9ndG5ENn4ngHwLZfrrf0D/2QfHl42IBm7 SmQOjNnhwVuEbg3j4Z4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:message-id:from:to:subject :content-type:date; s=default; bh=LOcnGUefzwvgY21WhAsq92hnuJg=; b= FptUHc76RytRtb9k5xnH+znRxhQNkUA0ZTomM7QzADqVketpYVk5kQirzlCNS5yz 3+B7fOuFvK1eaV0tj/+Q1qr4ItjPaZw0wvWuVdggarAQWqFehufn3Gs/ZvfkTR9F 63jGzyT/M5F1YmW17lX/EF5sN/BvZovzCkZ9UKBZyDg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:app, H*MI:app, programming, HImportance:normal X-HELO: mout.gmx.net MIME-Version: 1.0 Message-ID: From: "Ory Chowaw-Liebman" To: cygwin AT cygwin DOT com Subject: LLVM JIT based project fails due to undefined HAVE_DLOPEN Content-Type: text/plain; charset=UTF-8 Date: Thu, 3 May 2018 17:42:17 +0200 Sensitivity: Normal X-UI-Out-Filterresults: notjunk:1;V01:K0:MmIqFloNwUI=:iIqDycLttisYG9Y/RNtZlu yPH/tJ7jcDD4jE1+0TQaQvCY+R6EADg9A0noRjDM1ai3eQkegwOEAzxzoGziuvlhthuASrxJL 7//z+9hAHN8kJ6mKcBhyRImujYRz8y90SJ4zYhNfnC9EOKoGJ14LovxmN/MTmE5F4EskCgtHG 5XD9nvijQIbmv+Lw46dO8cD3iatZP5Ply0lCl/L6ItuI3DF15xW++2hnOWTHASgtO8honzv1I rADNwtbHUO41okGLgP6M9SGs3YYPqzi9eVCJcHCeig86wrp1pqWzvwYUtH/kQr4FKTjVnpXsq kwYKp1mGnRKij4MmxM9iB4eV9wJDvgo6Kq4NRIxLLjEdZ/b6dAnXHDidzR3bW4uqC3HnJXMFX itA9PorrvIXIGPcK1CUctvjqshxlSaBbZhJF3BMNNL9hePVIC1dCqA9kFJh2NxkwkAW4UmJm2 qffGgVHvrTB8nVs316QtPb6lOjdo1H0T6x/XgsNGrd51fS1imJCL Dear All, during my work on a programming language I noticed that with the update to LLVM 5.0.1 the LLVM calls fail to find symbols defined in my executable. It used to work before the upgrade, and still works fine under windows. objdump lists the symbols wanted. With a lot of tracing through the LLVM code, I found that it depends on HAVE_DLOPEN being defined in a POSIX environment. When I call GCC with "-E -dM" only _GLIBCXX_HAVE_DLFCN_H is defined. Just using dlopen and friends from my code works fine (though there are o man pages). Should the macros HAVE_DLOPEN and HAVE_DLFCN_H not be defined? Thanks and best regards, Ory -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple