delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/20/12:54:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_NV
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of hiyuh DOT root AT gmail DOT com designates 10.42.147.199 as permitted sender) client-ip=10.42.147.199;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of hiyuh DOT root AT gmail DOT com designates 10.42.147.199 as permitted sender) smtp.mail=hiyuh DOT root AT gmail DOT com; dkim=pass header.i=hiyuh DOT root AT gmail DOT com
MIME-Version: 1.0
In-Reply-To: <CAPYQg322+qhiqxvC2P1=xmOTDkQszgG_mOLZzHMQkYjM7VC3Zw@mail.gmail.com>
References: <CAPYQg31Anu_JVRHR6NQh4AXW3EQsmYN14Lt9OYyyu+3NRg6oYw AT mail DOT gmail DOT com> <4F4114D6 DOT 4030104 AT gmail DOT com> <CAPYQg322+qhiqxvC2P1=xmOTDkQszgG_mOLZzHMQkYjM7VC3Zw AT mail DOT gmail DOT com>
Date: Tue, 21 Feb 2012 02:53:21 +0900
Message-ID: <CAPYQg30ErycFtQBWgLkHNEBTanEeNZL_9J0MonzVo9DJhzF0-w@mail.gmail.com>
Subject: Re: LLVM ERROR: Program used external function '...' which could not be resolved!
From: KIMURA Masaru <hiyuh DOT root AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1KHs1Ww005562

Hi,

2012/2/20 KIMURA Masaru <hiyuh DOT root AT gmail DOT com>:
> And more Google'ing, I found this post on LLVMdev ML:
>
>  http://lists.cs.uiuc.edu/pipermail/llvmdev/2005-June/004364.html
>
>  > 2. The LLI test failures occur because the dlsym function on cygwin can
>  > only find symbols in a loaded DLL. If the symbol is in the .EXE file
>  > then the symbol doesn't get found. Since LLI links in things like
>  > printf, strcat, and some other fundamental functions, they don't get
>  > found on Cygwin. A similar thing happens on MacOS but for a much
>  > smaller set of files for which we hand code a workaround. The set
>  > of functions on Cygwin is basically a large fraction of glibc, too
>  > much to do by hand.
>
> But this is back in 2005, I don't know this is still correct in 2012,
> LLVM-3.0 and Cygwin-1.7.

I've tried to build nvc w/ stub DLL, the errors are gone and it works fine.
I guess this issue still stands. (maybe upstream WONTFIX?)

anyway, thank you to marco for trying help.
and sorry for noise again.

Peace,

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019