Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 9 Aug 2003 11:27:27 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: 1.5.2-1 file truncated Message-ID: <20030809152726.GA8653@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <87smoa9932 DOT fsf AT peder DOT flower> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87smoa9932.fsf@peder.flower> User-Agent: Mutt/1.4.1i On Sat, Aug 09, 2003 at 04:52:49PM +0200, Jan Nieuwenhuizen wrote: >"Robert McNulty Junior" writes: > >> Timidity is a midi player. >> Up until now, I've not had any problems compiling it or other source code. >> >> I compiled the cygwin version of bash with no problems. >> The linking part with the original cygwin version of ld >> gives the following error. >> I'm not sure what's causing it. >> Heres a snapshot of the screen where it fails. >> Mind you, this is on code that worked fine up 1.5.1-1. > >Same with tetex-bin; > >> ls/libutils.a -lX11 -lm -lwinmm > >> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: final >> lin >> k failed: File truncated >> collect2: ld returned 1 exit status > > it seems that -lm is the culprit. Leave it off, and it seems to > work. Could I have some more debugging of this, please? I can't duplicate it with a simple test case and I surely don't want to download tetex to try to duplicate it. Something like adding a: -Wl,-M to the link line will produce a map file. It may pinpoint where the problem is. If anyone can narrow this down to a http://cygwin.com/acronyms/#STC it would be appreciated. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/