[comp.protocols.iso.dev-environ] Problems with 6.8

PWW@BNR.CA (Peter Whittaker, P.W.) (03/14/91)

Greetings.  I've been trying to build ISODE 6.8 on a SPARC4/490 running
SunOS 4.1.1, vanilla (no unbundled utilities, etc....), and trying to
take advantage of SunOS' shared libraries.  Unfortunately, this hasn't
been working so well.

The culprit seems to be the "library generation" lines of the *.make
files.  These use ld -x -r to strip *.o files for subsequent loading
into *.a's.  According to the ld man page,
     The -r option does not properly  handle  programs  assembled
     with  the  -k  (position-independent)  flag, invoked from cc
     with -pic or -PIC.
(Since shared libraries require PIC)

Things seem better now that I have commented the necessary lines from
the CONFIG.make file (the last two: ld some stuff, mv some stuff).

There has also been a suggestion that ld -x strips symbols necessary
for shared library generation.  Any other ideas?

Have a Good'un,

Peter Whittaker      [~~~~~~~~~~~~~~~~~~~~~~~~~~]   Open Systems Integration
pww@bnr.ca           [                          ]   Bell Northern Research
Ph: +1 613 765 2064  [                          ]   P.O. Box 3511, Station C
FAX:+1 613 763 3283  [__________________________]   Ottawa, Ontario, K1Y 4H7