From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,69a094a063040daf,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-07-27 12:30:00 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!noc.near.net!uunet!mcsun!sun4nl!rtmrd1!wilfred From: wilfred@zeus.wnc.nedlloyd.nl (Wilfred Mollenvanger) Subject: shared library problem on alpha Message-ID: <1993Jul27.145443.9448@cti.wnc.nedlloyd.nl> Sender: news@cti.wnc.nedlloyd.nl Nntp-Posting-Host: zeus Organization: Nedlloyd Computer Services X-Newsreader: TIN [version 1.2 PL0] Date: Tue, 27 Jul 1993 14:54:43 GMT Hi, I recently ported some software to our new DEC alpha/OSF1 box and found some problems: A little test program hw.c: #include main() { printf("Hello Wilfred\n"); } compile three versions: $ cc -o hw1 hw.c $ cc -o hw2 hw.c /usr/lib/libc.a $ cc -o hw3 -non_shared hw.c /usr/lib/libc.a and execute them: $ hw1; hw2; hw3 Hello Wilfred Memory fault - core dumped Hello Wilfred $ what causes this? Thanx, Wilfred Mollenvanger