From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ad31131583da34fb X-Google-Attributes: gidfa528,public From: Joe Mario Subject: Re: ld :assertion failed Date: 2000/04/05 Message-ID: <38EBAD1E.17BDCD36@zk3.dec.com>#1/1 X-Deja-AN: 607267748 Content-Transfer-Encoding: 7bit References: <8cf1t6$avk$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: iass@lead.zk3.dec.com X-Trace: lead.zk3.dec.com 954969168 21649 16.141.0.18 (5 Apr 2000 21:12:48 GMT) Mime-Version: 1.0 NNTP-Posting-Date: 5 Apr 2000 21:12:48 GMT Newsgroups: comp.unix.tru64 interval@my-deja.com wrote: > When I compile my project which contains two libraries btrip and > bias > (built with ar), sometimes I received an assertion message: > ... > ld: > assertion failed: EX at ../../../../../../src/usr/ccs/bin/ld/read.c line > 1652 > > How can I correct it ? We looked into the linker's sources at the assertion and it looks like you might have a bad input object file. Can you send me the object file that the linker is having trouble with (uuencode or ftp address)? Do the following to determine which object is being processed at the time of the assertion failure. If you're linking with the cc driver, then add "-Wl,-v" to the command line. If you're linking by calling ld directly, then just add "-v" to the link line. The verbose link will show you which object files the linker is processing. The one we're interested in is the one that is opened just before the assertion failure. Thanks, Joe Mario Compaq Tru64 UNIX Development Environment