From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2142f10bcc7485e2 X-Google-Attributes: gidfee84,public From: Dan.Pop@cern.ch (Dan Pop) Subject: Re: Segmentation fault in ld - Digital Unix version 4.0d Date: 1998/07/06 Message-ID: #1/1 X-Deja-AN: 368913470 References: <6n7kuv$1p2s@newton.cc.rl.ac.uk> <3598FA33.167E@zk3.dec.com> <6nq53g$1pfa@newton.cc.rl.ac.uk> X-Complaints-To: news@sunnews.cern.ch X-Trace: sunnews.cern.ch 899734816 26459 (None) 137.138.32.79 Organization: CERN European Lab for Particle Physics Newsgroups: comp.unix.osf.osf1 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