public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@cygnus.com>
To: Robert A Nesius <rnesius@ichips.intel.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Fun with shared libs on HPUX - Request for help
Date: Sun, 26 Mar 2000 21:32:00 -0000	[thread overview]
Message-ID: <orzorlugel.fsf@garnize.lsd.ic.unicamp.br> (raw)
In-Reply-To: <Pine.LNX.4.02A.10003261514210.706-100000@pdxlx196.pdx.intel.com>

On Mar 26, 2000, Robert A Nesius <rnesius@ichips.intel.com> wrote:

> But the problem I'm running into is that my libstdc++ lib is
> apparantly not really a shared library, even though -fPIC is getting
> set by the configure.

> /usr/ccs/bin/ld: DP relative code in file /usr/intel/pkgs/gcc/2.95.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.1/libstdc++.a(iostream.o) - shared library must be position
                                                                                                                         ^
See, it's linking with the static version of libstdc++, for some
reason.   e reason I don't understand.  Check whether libstdc++.sl
was installed, and, if it was, where it lives.

> I'm having trouble bottoming out on what the best way to fix this 
> is.  Build libstdc++ by itself separately after the main build 
> and reinstall it, using aCC and +Z?  

No, that definitely won't help, C++ compilers still don't produce
link-compatible code.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

WARNING: multiple messages have this Message-ID
From: Alexandre Oliva <aoliva@cygnus.com>
To: Robert A Nesius <rnesius@ichips.intel.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Fun with shared libs on HPUX - Request for help
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <orzorlugel.fsf@garnize.lsd.ic.unicamp.br> (raw)
Message-ID: <20000401000000.CErI1fXhTtwmRgURocQeQvIOKg6Y0qdDjSGwtNRM-R0@z> (raw)
In-Reply-To: <Pine.LNX.4.02A.10003261514210.706-100000@pdxlx196.pdx.intel.com>

On Mar 26, 2000, Robert A Nesius <rnesius@ichips.intel.com> wrote:

> But the problem I'm running into is that my libstdc++ lib is
> apparantly not really a shared library, even though -fPIC is getting
> set by the configure.

> /usr/ccs/bin/ld: DP relative code in file /usr/intel/pkgs/gcc/2.95.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.1/libstdc++.a(iostream.o) - shared library must be position
                                                                                                                         ^
See, it's linking with the static version of libstdc++, for some
reason.   e reason I don't understand.  Check whether libstdc++.sl
was installed, and, if it was, where it lives.

> I'm having trouble bottoming out on what the best way to fix this 
> is.  Build libstdc++ by itself separately after the main build 
> and reinstall it, using aCC and +Z?  

No, that definitely won't help, C++ compilers still don't produce
link-compatible code.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

  reply	other threads:[~2000-03-26 21:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-26 15:30 Robert A Nesius
2000-03-26 21:32 ` Alexandre Oliva [this message]
2000-03-27 10:09   ` Robert A Nesius
2000-03-27 10:55     ` Alexandre Oliva
2000-04-01  0:00       ` Alexandre Oliva
2000-04-01  0:00     ` Robert A Nesius
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` Robert A Nesius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=orzorlugel.fsf@garnize.lsd.ic.unicamp.br \
    --to=aoliva@cygnus.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=rnesius@ichips.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).