* f77 linking problem
@ 1995-05-11 4:00 Moritz Willers
1995-05-12 4:00 ` Dan Pop
0 siblings, 1 reply; 3+ messages in thread
From: Moritz Willers @ 1995-05-11 4:00 UTC (permalink / raw)
We have a fortran program over here which compiles fine on our Suns using f77. f2c
on the NeXT is happy about it as well. f90 on our DEC compiles it without warning.
Only f77 on the DEC gives the following:
itpalpha (~/dec) 3 % f77 -o dumy dumy.f incl.f
Assertion failed: 0, file ../../../../../../src/usr/ccs/lib/libmld/cmrlc_produce.c,
line 864
Fatal error in: /usr/lib/cmplrs/cc/ld IOT/Abort trap
fort: Severe: Failed while trying to link.
itpalpha (~/dec) 4 %
Can anyone who has the source to DEC's ld tell me what's going on on line 864?
Or does anyone else have an idea what this could be causing?
Thanks,
--
Moritz Willers
Institute of Theoretical Physics
Sidlerstrasse 5
3012 Bern, Switzerland
willers@butp.unibe.ch (NeXTMail, MIME)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: f77 linking problem
1995-05-12 4:00 ` Dan Pop
@ 1995-05-12 4:00 ` Greg Lueck Development Environment
0 siblings, 0 replies; 3+ messages in thread
From: Greg Lueck Development Environment @ 1995-05-12 4:00 UTC (permalink / raw)
In <3otrje$l2e@aragorn.unibe.ch> willers@butp.unibe.ch (Moritz Willers) writes:
>Only f77 on the DEC gives the following:
>
>itpalpha (~/dec) 3 % f77 -o dumy dumy.f incl.f
>Assertion failed: 0, file
../../../../../../src/usr/ccs/lib/libmld/cmrlc_produce.c,
>line 864
>Fatal error in: /usr/lib/cmplrs/cc/ld IOT/Abort trap
An official patch is in the works for this. In the mean time, try linking
with -O1, like this:
% f77 -c dumy.f
% f77 -c incl.f
% f77 -O1 -o dumy dumy.o incl.o
You need only perform the link step at -O1, you may still compile at
higher optimization levels.
--
-------------------------------------------------------------------------------
Greg Lueck Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
--
-------------------------------------------------------------------------------
Greg Lueck Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: f77 linking problem
1995-05-11 4:00 f77 linking problem Moritz Willers
@ 1995-05-12 4:00 ` Dan Pop
1995-05-12 4:00 ` Greg Lueck Development Environment
0 siblings, 1 reply; 3+ messages in thread
From: Dan Pop @ 1995-05-12 4:00 UTC (permalink / raw)
In <3otrje$l2e@aragorn.unibe.ch> willers@butp.unibe.ch (Moritz Willers) writes:
>We have a fortran program over here which compiles fine on our Suns using f77. f2c
>on the NeXT is happy about it as well. f90 on our DEC compiles it without warning.
>Only f77 on the DEC gives the following:
>
>itpalpha (~/dec) 3 % f77 -o dumy dumy.f incl.f
>Assertion failed: 0, file ../../../../../../src/usr/ccs/lib/libmld/cmrlc_produce.c,
>line 864
>Fatal error in: /usr/lib/cmplrs/cc/ld IOT/Abort trap
What??? Is DEC shipping "production" quality software with active
assert() macros inside? Or is ld still alpha test software?
Dan
--
Dan Pop
CERN, CN Division
Email: danpop@afsmail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-05-12 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-11 4:00 f77 linking problem Moritz Willers
1995-05-12 4:00 ` Dan Pop
1995-05-12 4:00 ` Greg Lueck Development Environment
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox