This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.2-1 file truncated


On Sat, Aug 09, 2003 at 04:52:49PM +0200, Jan Nieuwenhuizen wrote:
>"Robert McNulty Junior" <bmj2001@bellsouth.net> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]