DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57V9xni92328517 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 57V9xni92328517 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=A7Fc47BR X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00395385842B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1756634389; bh=KVcYl5emVA/hE4CbIKfWNyy3j3atgHREEgVZVIyFoS8=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=A7Fc47BRMlTozjNlYTUV7quYNl5oU4LiyGomwAD0528XhjJBtEBapMHRaWOLltmJh oogBw803oyzCIrxfKt7iRllOufalAFuy8lIGkGvCTWKeaZe/HKeUJmlVY9HDsWcX61 WZrTRYXW1kO+aFTCG94kKhDquXe4WgR+0eVvBFsc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5ED57385843B ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5ED57385843B ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756634321; cv=none; b=xIMzHJn6UK4sdWujQdxFRJCM4OfgZSPDmqaRd34cvVlUX/gBZoM+JuvGwcQwXCzrI8CbvNF6MYbusL4IX5Vy8rPWB3sG+g9zqfQDap757L3KMcvoACpeRW+bO5OH5QxXG6g9h0cB3z+ikZi3GsyxHDTRz8JkY3kGwSTGVEl7Sos= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756634321; c=relaxed/simple; bh=UWZhTF0S60lmzWFPiF0MoOsRdUXgZniiyzqoXkTKKAQ=; h=Subject:To:From:Message-ID:Date:MIME-Version; b=KyRAsi0i/todOJO76rhTJMeZDbM+8ztMl6aqF0ljFB1SNvb+xdS20i8toMoAWbxvYnAj+evPUlK4G1jrBSYEd8yLKI2snQfUssyBh/znNjna3W0v5aDLrJSUnNXrZu6AKPP03mElVgl9uhaY/MrAaS6acya+mgsbB4IJRVxDorM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5ED57385843B Subject: Re: PE format conformance issues in rebase.exe results incompatibility with LLVM-lld To: cygwin AT cygwin DOT com References: <1749211000852 DOT 785937412 DOT 3467708457 AT ezweb DOT ne DOT jp> <4c738bdf-be6e-38b6-897f-85b2e214636b AT jdrake DOT com> <87ldmz7v9t DOT fsf AT Gerda DOT invalid> <87h5xn7src DOT fsf AT Gerda DOT invalid> Message-ID: Date: Sun, 31 Aug 2025 11:58:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 SeaMonkey/2.53.21 MIME-Version: 1.0 In-Reply-To: <87h5xn7src.fsf@Gerda.invalid> X-TOI-EXPURGATEID: 150726::1756634315-09FF8B3F-40047C5E/0/0 CLEAN NORMAL X-TOI-MSGID: b7be4cda-fc3f-4160-9b32-98c633334cd8 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Christian Franke via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Christian Franke Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" ASSI via Cygwin wrote: > ASSI via Cygwin writes: >> Which program produced this message? Loooking at the sources I think >> that should have been rebase and not peflags? Can you provide test >> instructions for building such an executable? > I could reproduce it. It seems that the lld linked executable always > has an image checksum of 0x00000000, which obviously is not correct. > The peflags program itself does chase the correct pointer chain to the > headers. Possibly forgotten related patch: https://sourceware.org/pipermail/cygwin-apps/2023-October/043230.html -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple