* Segmentation fault in ld - Digital Unix version 4.0d
@ 1998-06-29 4:00 Jonathan Wheeler
1998-06-30 4:00 ` Joe Mario
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wheeler @ 1998-06-29 4:00 UTC (permalink / raw)
A user is using gmake to compile a large program suite but gets a
segementation fault in ld. The command line generated by gmake for
ld is 3216 bytes long; is this a potential source of the segmentation
fault ? If so, can I adjust the configuration to fix the problem ? Any
suggestions to solve this problem would be welcome.
The system runs Digital Unix version 4.0d with Patch kit 1 installed.
Jonathan Wheeler
Systems and User Support Group
Department for Computation and Information
Rutherford Appleton Laboratory
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Segmentation fault in ld - Digital Unix version 4.0d
1998-06-29 4:00 Segmentation fault in ld - Digital Unix version 4.0d Jonathan Wheeler
@ 1998-06-30 4:00 ` Joe Mario
1998-07-06 4:00 ` Jonathan Wheeler
0 siblings, 1 reply; 4+ messages in thread
From: Joe Mario @ 1998-06-30 4:00 UTC (permalink / raw)
To: J.F.Wheeler
Can you tar up your link environment and make it available so I can
reproduce and debug the problem here?
Joe Mario
DIGITAL UNIX Development Environment.
Jonathan Wheeler wrote:
>
> A user is using gmake to compile a large program suite but gets a
> segementation fault in ld. The command line generated by gmake for
> ld is 3216 bytes long; is this a potential source of the segmentation
> fault ? If so, can I adjust the configuration to fix the problem ?
> Any suggestions to solve this problem would be welcome.
>
> The system runs Digital Unix version 4.0d with Patch kit 1 installed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Segmentation fault in ld - Digital Unix version 4.0d
1998-06-30 4:00 ` Joe Mario
@ 1998-07-06 4:00 ` Jonathan Wheeler
1998-07-06 4:00 ` Dan Pop
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wheeler @ 1998-07-06 4:00 UTC (permalink / raw)
In article <3598FA33.167E@zk3.dec.com>, Joe Mario <mario@zk3.dec.com> writes:
> Can you tar up your link environment and make it available so I can
> reproduce and debug the problem here?
>
> Joe Mario
> DIGITAL UNIX Development Environment.
>
>
> Jonathan Wheeler wrote:
> >
> > A user is using gmake to compile a large program suite but gets a
> > segementation fault in ld. The command line generated by gmake for
> > ld is 3216 bytes long; is this a potential source of the segmentation
> > fault ? If so, can I adjust the configuration to fix the problem ?
> > Any suggestions to solve this problem would be welcome.
> >
> > The system runs Digital Unix version 4.0d with Patch kit 1 installed.
Thanks for the offer, but the user concerned has now confessed to an
error which involved trying to link binary code for another (competitor)
architecture. So I quite understand why ld would object. Sorry for any
time expended unnecessarily.
Jonathan Wheeler
Systems and User Support Group
Department for Computation and Information
Rutherford Appleton Laboratory
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Segmentation fault in ld - Digital Unix version 4.0d
1998-07-06 4:00 ` Jonathan Wheeler
@ 1998-07-06 4:00 ` Dan Pop
0 siblings, 0 replies; 4+ messages in thread
From: Dan Pop @ 1998-07-06 4:00 UTC (permalink / raw)
In <6nq53g$1pfa@newton.cc.rl.ac.uk> jfw1@osfserv.rl.ac.uk (Jonathan Wheeler) writes:
>Thanks for the offer, but the user concerned has now confessed to an
>error which involved trying to link binary code for another (competitor)
>architecture. So I quite understand why ld would object.
ld should object to this kind of input, but it should NEVER, ever cause
a segmentation fault. Assuming correctly functioning hardware, a bug-free
program should never crash with a segfault, regardless of its input.
Any decent ld would explicitly complain when given an incompatible
object file as input.
Dan
--
Dan Pop
CERN, IT Division
Email: Dan.Pop@cern.ch
Mail: CERN - PPE, Bat. 31 1-014, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-06 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-29 4:00 Segmentation fault in ld - Digital Unix version 4.0d Jonathan Wheeler
1998-06-30 4:00 ` Joe Mario
1998-07-06 4:00 ` Jonathan Wheeler
1998-07-06 4:00 ` Dan Pop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox