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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_YG
X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX194BIZ/KOSu57ZEokD1Ov2P
Date: Mon, 13 Feb 2012 12:19:42 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: scan-build symlink from llvm/clang does not work in GNU Make
Message-ID: <20120213171942.GA22316@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <84wr7q1ybk DOT fsf AT bifit DOT com DOT ua>
MIME-Version: 1.0
In-Reply-To: <84wr7q1ybk.fsf@bifit.com.ua>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On Mon, Feb 13, 2012 at 06:40:31PM +0200, Oleksandr Gavenko wrote:
>
>  $ cat Makefile.common
>
>  # -e  Override Makefile settings with env var to pass scan-build settings to Make.
>
>  .PHONY: clang
>  clang:
>      $$(realpath $$(which scan-build)) make -e -f $(MK_FILE) clean dist
>
>  .PHONY: clang2
>  clang2:
>      scan-build make -e -f $(MK_FILE) clean dist
>
>If you run scan-build directly from Make you get:
>
>  $ make -f Makefile.win-gcc-npapi clang2
>
>  /cygdrive/d/home/devel/llvm/tools/clang/tools/scan-build/bin/clang: No such
>  file or directory at
>  /cygdrive/d/home/devel/llvm/tools/clang/tools/scan-build/scan-build line 84
>  Makefile.common-pre:234: recipe for target `clang2' failed
>
>If you resolve path to 'scan-build' (as this done in 'clang' target, see
>above) all work ok.
>
>  $ ls -l `which scan-build`
>lrwxrwxrwx 1 user root 45 ??? 13 12:34 /usr/bin/scan-build -> ../share/clang-analyzer/scan-build/scan-build
>
>
>GNU Make from Cygwin.

Could you try winnowing that down to a simple test case which
illustrates the problem?

And, please send the cygcheck output as requested by
http://cygwin.com/problems.html .

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