* ld : assertion failed
@ 2000-03-30 5:00 interval
2000-04-05 4:00 ` Joe Mario
0 siblings, 1 reply; 2+ messages in thread
From: interval @ 2000-03-30 5:00 UTC (permalink / raw)
When I compile my project which contains two libraries btrip and bias
(built with ar), sometimes I received an assertion message:
cc -O3 -arch ev56 -tune ev56 -std1 -ieee -DHAVE_CONFIG_H -I../unixfiles/
-I../bias/ ../vact/maintrip.c -L../unixfiles/ -lbtrip -L. -lbias -lm
-lfor -o btrip
ld:
assertion failed: EX at ../../../../../../src/usr/ccs/bin/ld/read.c line
1652
How can I correct it ?
My workstation is an EV56 with Tru64 Unix 4.0E (Rev. 109
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ld : assertion failed
2000-03-30 5:00 ld : assertion failed interval
@ 2000-04-05 4:00 ` Joe Mario
0 siblings, 0 replies; 2+ messages in thread
From: Joe Mario @ 2000-04-05 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-05 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-30 5:00 ld : assertion failed interval
2000-04-05 4:00 ` Joe Mario
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox