From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12702 invoked by alias); 27 Jun 2004 04:06:43 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 12693 invoked from network); 27 Jun 2004 04:06:42 -0000 Received: from unknown (HELO modra.org) (144.136.182.188) by sourceware.org with SMTP; 27 Jun 2004 04:06:42 -0000 Received: by bubble.modra.org (Postfix, from userid 500) id E3053103159; Sun, 27 Jun 2004 13:36:40 +0930 (CST) Date: Sun, 27 Jun 2004 04:06:00 -0000 From: Alan Modra To: "Aaron W. LaFramboise" Cc: binutils@sources.redhat.com Subject: Re: mainline ld on mingw32/pe is broken, returns 1 without error. Message-ID: <20040627040640.GM3469@bubble.modra.org> Mail-Followup-To: "Aaron W. LaFramboise" , binutils@sources.redhat.com References: <40DE22EB.7080001@aaronwl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40DE22EB.7080001@aaronwl.com> User-Agent: Mutt/1.4i X-SW-Source: 2004-06/txt/msg00482.txt.bz2 On Sat, Jun 26, 2004 at 08:29:15PM -0500, Aaron W. LaFramboise wrote: > ld -o hello.exe > c:/aaronwl/cs/env/mingw-3.4.0-2.15-3.3/bin/../lib/gcc/i686-pc-mingw32/3.4.0/../../../crt2.o > -Lc:/aaronwl/cs/env/mingw-3.4.0-2.15-3.3/bin/../lib/gcc/i686-pc-mingw32/3.4.0 > hello.o -lmingw32 -lgcc -lmsvcrt -lkernel32 > > It prints absolutely no messages, but exits with code 1, and does not > leave output files. > > How should I begin to debug this? Any ideas what change caused this? There's a good chance this is due to my 2004-06-24 section sizing change. Build binutils from source just before this change went in, and see if ld is good. Assuming it is, compare hello.exe before and after the patch. Any change is suspicious, apart from the silly timestamp in pe files. objdump will let you look at section sizes.. -- Alan Modra IBM OzLabs - Linux Technology Centre