Subject: Re: why is there no libgcc.so
To: Charles M. Hannum <root@ihack.net>
From: Todd Vierling <tv@wasabisystems.com>
List: port-alpha
Date: 03/08/2001 16:04:46
On Thu, 8 Mar 2001, Charles M. Hannum wrote:

: > How about adding "-Bsymbolic" to LD_SPEC for "cc -shared"?
:
: You've *got* to be joking.

Partly, but that suggestion was to bring up a point.  You said that one
problem was that the libgcc symbols would resolve to the main program,
rather than the shared object (presumably causing gcc version skew issues?).
So, in order to make the shared object resolve libgcc internally, I
suggested -Bsymbolic.

On the flip side, what would you suggest as a proper solution?  Somehow
needed libgcc functions should be made available to shared objects, and
linking all of libgcc against the main executable is certainly not the right
way to do it.  Should we have a libgcc.so after all?

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/