🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
1 messages
1 total messages Started by Kaleb Keithley Tue, 16 Oct 1990 21:44
SunOS shared lib problem
#1010
Author: Kaleb Keithley
Date: Tue, 16 Oct 1990 21:44
29 lines
1692 bytes
I thought I'd ask this in comp.sys.sun, but we don't seem to have it
for some reason.  Anyway....

We had a strange problem that we ran into here while building X11R4 and 
Motif 1.1 under SunOS 4.1.  I decided that I wanted the shared libraries 
compiled with optimizing, and the static libraries compiled with debugging 
turned on so that I could debug in Motif.  So I hacked on the Makefiles 
to generate the required objects and libraries.

The problem arose while when we tried to dbx our applications; dbx
would start to read the symbol table, then proceed to dump core.  Given
that the problem only manifested itself after I rebuilt the libraries,
I redid the libraries such that both static and dynamic libraries
were optimized, and the problem went away.

Thus, in order to debug, I ended up building three libraries, where the
third static, debug library has a different name, i.e. libXm_d.a.

Can someone who knows, explain why dbx needs both the static and dynamic
libraries to be the "same"?  Does dbx use symbols in the static to
resolve the dynamic?

advaTHANKSnce

-- 
Kaleb Keithley                      Jet Propulsion Labs
kaleb@thyme.jpl.nasa.gov

causing trouble again.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads