Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* __cxx_v60_dispatch__X4need3new8libcxxso
@ 1999-01-21  5:00 rceci
  1999-01-21  5:00 ` __cxx_v60_dispatch__X4need3new8libcxxso rceci
  0 siblings, 1 reply; 5+ messages in thread
From: rceci @ 1999-01-21  5:00 UTC (permalink / raw)


Hello,

I am getting some "unresolvable" messages while running an executable under
4.0B, CXX 6.1-027.  I find there is now a new libcxx.so, under
/usr/ccs/lib/cmplrs/cxx that contains the text for this unresolvable symbol.
Presumably, cxx is linking against the older libcxx.so in /usr/shlib.  I just
recently upgraded cxx from 5.4 to 6.1.  Did I omit a step in the cxx
installation process?

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: __cxx_v60_dispatch__X4need3new8libcxxso
  1999-01-21  5:00 __cxx_v60_dispatch__X4need3new8libcxxso rceci
@ 1999-01-21  5:00 ` rceci
  1999-01-21  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Ken Block USG
  1999-01-24  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Brian J. McCarthy
  0 siblings, 2 replies; 5+ messages in thread
From: rceci @ 1999-01-21  5:00 UTC (permalink / raw)


Hello again,

I did some checking of the release notes, and found more information that is
related to my symptom.  For your information, I checked the following:

# setld -i | grep -E CXX | grep installed CXXBASE610  installed  DIGITAL C++
Version 6.1 for DIGITAL UNIX Systems CXXHTML610  installed  DIGITAL C++ HTML
documentation CXXLIB610  installed  DIGITAL C++ Run-Time Library (libcxx) for
DIGITAL UNIX V4.0C and earlier CXXOLD610  installed  DIGITAL C++ V5.7
(-oldcxx) compiler

It seemed important that I have the proper CXXLIB610 installed.  I do.

# ls -l /usr/shlib/libcxx.so /usr/ccs/lib/cmplrs/cxx/libcxx.so
-rw-r--r--   1 root     system    278528 Sep  8 20:59
/usr/ccs/lib/cmplrs/cxx/libcxx.so
-rw-r--r--   1 bin      bin       278528 Nov 15  1996 /usr/shlib/libcxx.so
#


Indeed I have two separate versions of libcxx.so.  Note the date on the
libcxx.so located in /usr/shlib.

A snippet of "odump -Dl" on my exe shows that I have indeed linked against the
old library, even though I have the proper runtime installed for DUX 4.0B!

>        libcxx.so    Nov 15 20:53:54 1996 0x966808b6     0 V4.0.1

The date matches the date of the /usr/shlib/libcxx.so not the
/usr/ccs/lib/cmplrs/cxx/libcxx.so!

Have I missed anything?  Please help!



>
> I am getting some "unresolvable" messages while running an executable under
> 4.0B, CXX 6.1-027.  I find there is now a new libcxx.so, under
> /usr/ccs/lib/cmplrs/cxx that contains the text for this unresolvable symbol.
> Presumably, cxx is linking against the older libcxx.so in /usr/shlib.  I just
> recently upgraded cxx from 5.4 to 6.1.  Did I omit a step in the cxx
> installation process?
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: __cxx_v60_dispatch__X4need3new8libcxxso
  1999-01-21  5:00 ` __cxx_v60_dispatch__X4need3new8libcxxso rceci
@ 1999-01-21  5:00   ` Ken Block USG
  1999-01-21  5:00     ` __cxx_v60_dispatch__X4need3new8libcxxso Ken Block USG
  1999-01-24  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Brian J. McCarthy
  1 sibling, 1 reply; 5+ messages in thread
From: Ken Block USG @ 1999-01-21  5:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

You want to be linking with the libcxx.so that is in /usr/lib/cmplrs/cxx. If you
link using "cxx" it will add an -rpath and -L to find the library in
"/usr/lib/cmplrs/cxx". Did you link using "cxx"? Did you add "-L/usr/shlib" or
"-rpath /usr/shlib"?

Are you still having this problem?

[-- Attachment #2: Card for Kenneth Block --]
[-- Type: text/x-vcard, Size: 336 bytes --]

begin:          vcard
fn:             Kenneth Block
n:              Block;Kenneth
org:            CTG C/C++ Compiler
adr:            110 Spit Brook Road;;M/S ZKO3-2/W02;Nashua;NH;03062;USA
email;internet: block@zk3.dec.com
tel;work:       603-884-2819
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: __cxx_v60_dispatch__X4need3new8libcxxso
  1999-01-21  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Ken Block USG
@ 1999-01-21  5:00     ` Ken Block USG
  0 siblings, 0 replies; 5+ messages in thread
From: Ken Block USG @ 1999-01-21  5:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2685 bytes --]

Subject:
          Re: [Fwd: __cxx_v60_dispatch__X4need3new8libcxxso]
      Date:
          Thu, 21 Jan 1999 16:24:16 -0500
     From:
          Ken Block USG <block@zk3.dec.com>
       To:
          rceci@master.adams.com, Kenneth Block <block@zk3.dec.com>
 References:
          1 , 2




No, you can link your programs using "cc", we recommend using "cxx" because we
encapsulate the knowledge of how to link correctly there. If you do a "cxx -v" on a

link, you will see the command line we pass on to "cc" for linking. You can then
take
this command line and use it yourself. When creating the instructions for your
users,
you will need to use this as a guide. See section 1.2 of the using guide:

1.2 Linking a DIGITAL C++ Program

  DIGITAL C++ uses cc to invoke the ld linker to generate code. Always use the cxx
command to invoke the linker.

  Linking through the cxx command ensures that all the necessary link options are
passed to the ld linker. If your DIGITAL C++ program is
  not linked properly, some static objects will not be initialized at program
startup.
If a module is built using DIGITAL C++ Version 6.n, it must
  be linked with the Version 6.n library.

  If you choose to use the ld linker directly, you might need to modify your ld
command whenever you install a new version of the DIGITAL
  C++ compiler or the DIGITAL UNIX operating system. After the installation, follow

these steps:

    1.Invoke the cxx command and specify the -v option to display the ld command in

use.
    2.Compare this ld command with your ld command and make any necessary changes.

  If you are using templates, you must modify the -ld command by replacing the
-input
argument with a list of your template instantiation
  object files. The replacement string is normally cxx_repository/*.o.

  To use automatic template instantiation, you must link with cxx.

  See the cxx(1) and the ld(1) reference pages for more information.

Rob Cecil wrote:

> Ken,
>
> glad you are cruising the news.  Indeed I had hardcoded "-L/usr/shlib" in a few
of
> my makefiles that build libraries.  I am rebuilding right now.
>
> Info:
> I am linking my libraries (~ 20 ) with cxx, but linking my exe with cc.  My exe
> contains c, c++ and fortran code.  We allow our customers to relink the
executable
> to include custom user (c or fortran) objects, and really do not want to requiire

> customers to purchase cxx just to do that.  I have been successful in earlier
> versions  of our program to link everything with cc, but that was using objects
> generated using cxx 5.4, and the 5.4 runtime.  Do you suspect that I will now
start
> having problems, because I am using 6.1?
>
> Thanks
> Rob

[-- Attachment #2: Card for Kenneth Block --]
[-- Type: text/x-vcard, Size: 336 bytes --]

begin:          vcard
fn:             Kenneth Block
n:              Block;Kenneth
org:            CTG C/C++ Compiler
adr:            110 Spit Brook Road;;M/S ZKO3-2/W02;Nashua;NH;03062;USA
email;internet: block@zk3.dec.com
tel;work:       603-884-2819
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: __cxx_v60_dispatch__X4need3new8libcxxso
  1999-01-21  5:00 ` __cxx_v60_dispatch__X4need3new8libcxxso rceci
  1999-01-21  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Ken Block USG
@ 1999-01-24  5:00   ` Brian J. McCarthy
  1 sibling, 0 replies; 5+ messages in thread
From: Brian J. McCarthy @ 1999-01-24  5:00 UTC (permalink / raw)
  To: rceci

>
> I am getting some "unresolvable" messages while running an executable under
> 4.0B, CXX 6.1-027.  I find there is now a new libcxx.so, under
> /usr/ccs/lib/cmplrs/cxx that contains the text for this unresolvable symbol.
> Presumably, cxx is linking against the older libcxx.so in /usr/shlib.  I just
> recently upgraded cxx from 5.4 to 6.1.  Did I omit a step in the cxx
> installation process?
>

The history behind this is that the V6.0 (and above) C++ compiler required
new runtime support to implement the ANSI/ISO C++ Standard.  On 4.0D
and above systems, the libcxx.so that goes with the base OS, has the 
support.

To support prior versions of the OS, libcxx.so was shipped with the 
compiler kit and the compiler added the -rpath and -L to look at
libcxx.so in the /usr/lib/cmplrs/cxx area.


An updated libcxx.so has been placed into the UNIX patch kit stream and 
should be downloadable from:

http://www1.service.digital.com/patches/

Click on Search Engine, then search for libcxx.so - you'll find patches 
and descriptions of use of the cxx compiler to use the installed libcxx.so
instead of the one in the /usr/lib/cmplers/cxx area.


-- 
-----------------------------------------------------------------------
Brian J. McCarthy                  | mailto:mccarthy@zko.dec.com
Compaq Computer Corp. Nashua, NH   | DEC C++ Class Libraries
-----------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-01-24  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-21  5:00 __cxx_v60_dispatch__X4need3new8libcxxso rceci
1999-01-21  5:00 ` __cxx_v60_dispatch__X4need3new8libcxxso rceci
1999-01-21  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Ken Block USG
1999-01-21  5:00     ` __cxx_v60_dispatch__X4need3new8libcxxso Ken Block USG
1999-01-24  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Brian J. McCarthy

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