X-Recipient: archive-cygwin@delorie.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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=P/r5xAOcpbEBZvQbEinAcQGfh9DE9vFZXZzmwiR63IGCF5JSufvBx
	xWsP1IZshLDWTIA9WAU2/rh90AFgFv55o3ZBDFih8Wn8L7Fngqur9+KrrgSAiUiv
	Ey517RDXLbVzmboqTk7j+wmx+HWnCNQOXQCN5wsXVmjMp/4DyTJpkQ=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=kbnjO538ywaOJxHGu1k5TK4i074=; b=hDPrVA/9U/Fzw/CJwk2WGPcznmVR
	AMkw4PXAVaD3InnO3sJY/y+nZ16J02eUYd8zALEY8fXr7Nq9RlvrVfBoptCFXAYP
	IlGIIJg7unLCm+9hb0qilMWI0cGOUyu3jr91fGjDttnUCHYQ4FnwjMKnDwvRy+MF
	DgyGHjPBPDx2Py8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=tony, Tony, 880, H*Ad:U*tony
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Tony Kelman <tony@kelman.net>
Subject: make-4.2-1; seeing new "No rule to make target" errors with parallel builds
Date: Wed, 1 Jun 2016 18:37:41 +0000 (UTC)
Lines: 41
Message-ID: <loom.20160601T185521-785@post.gmane.org>
References: <announce.f6bc7a2e-d4d4-bf92-a94c-b2b8a7fa2a58@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Marco and anybody else,

Has anyone been seeing issues with the latest make version on big
parallel compiles? I'm having trouble with LLVM for example, which
I've been building every few days or so on older versions of make
with no trouble. e.g.

curl -LO http://llvm.org/releases/3.7.1/llvm-3.7.1.src.tar.xz
tar -xJf llvm-3.7.1.src.tar.xz
mkdir llvm-3.7.1.src/build
cd llvm-3.7.1.src/build
../configure CC=gcc CXX=g++ # it defaults to clang but that's broken
make -j8

This works perfectly when I downgrade to make 4.1-1. On latest 4.2-1,
I get https://gist.github.com/a9322320eb73f9c3b56f6b732785d8a4

... (about 12 minutes in) ...
make[2]: Entering directory '/home/Tony/github/llvm-3.7.1.src/build/tools/lto'
make[2]: *** No rule to make target
'/home/Tony/github/llvm-3.7.1.src/build/Release+Asserts/lib/libLLVMBPFCodeGen.a',
needed by
'/home/Tony/github/llvm-3.7.1.src/build/Release+Asserts/bin/cygLTO.dll'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/Tony/github/llvm-3.7.1.src/build/tools/lto'
make[1]: *** [/home/Tony/github/llvm-3.7.1.src/Makefile.rules:880: all] Error 1
make[1]: Leaving directory '/home/Tony/github/llvm-3.7.1.src/build/tools'
make: *** [/home/Tony/github/llvm-3.7.1.src/Makefile.rules:880: all] Error 1


Maybe there's a bug in LLVM's dependency declarations here that just
gets triggered by the newer version of make? Continuing with make -j1
seems to go through on make 4.2, but was never necessary on 4.1.


My cygcheck.out is at (can't do attachments from gmane)
https://gist.github.com/16a11b6ce7ac5b64e7bd6dc67ac732fe

Thanks in advance,
Tony



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

