tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Are there OS patches that solve the G++ symbol clash problem?
@ 2000-10-13 16:32 Valerie Caro
  0 siblings, 0 replies; only message in thread
From: Valerie Caro @ 2000-10-13 16:32 UTC (permalink / raw)
  To: tru64-unix-managers


	Many thanks to all who have helped figure out how to resolve the
symbol clash problem that occurs when linking the dynamic stdc++ library
on Alpha (more info at  http://gcc.gnu.org/install/specific.html#alpha*-dec-osf*)

	Seeing as our environment is already using the shared libstdc++,
we can't remove it (it would break programs for many users), nor can we
create future incompatibilities by inserting libgcc symbols into
libstdc++; instead, we have devised another workaround:

	We run g++ with the "-v" flag, and modify the produced "collect2"
command (it's the link command) to frame the "-lstdc++" directive with
"-no_so" and "-so_shared" directives. Executing this modified linker
directive allows the linker to link only libstdc++ statically, but not
other libraries.

	The problem is that this process is rather cumbersome. One would
imagine that there would be OS patches which would repair this linker
problem. Does anyone know if such patches are available for Digital Unix 4.0d?

---
Valerie Caro            Computer Science Computing Facility,
valerie@cs.umass.edu    CmpSci Room 126
                        University of Massachusetts
                        Amherst, MA           01003

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-13 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-13 16:32 Are there OS patches that solve the G++ symbol clash problem? Valerie Caro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox