From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6b0b7e68f73d8669 X-Google-Attributes: gidfee84,public From: Joe Mario Subject: Re: ld : assertion failed Date: 2000/04/05 Message-ID: <38EB69A9.FA2B81E4@zk3.dec.com>#1/1 X-Deja-AN: 607147547 Content-Transfer-Encoding: 7bit References: <8c01i4$732$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 954951901 10643 16.141.0.18 (5 Apr 2000 16:25:01 GMT) Mime-Version: 1.0 NNTP-Posting-Date: 5 Apr 2000 16:25:01 GMT Newsgroups: comp.unix.osf.osf1 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 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