public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* driver/9843: -static still leaves the linker looking for shared library code
@ 2003-02-24 23:26 matt.bonner
0 siblings, 0 replies; only message in thread
From: matt.bonner @ 2003-02-24 23:26 UTC (permalink / raw)
To: gcc-gnats; +Cc: steven.elbinger, jim.yamamoto
>Number: 9843
>Category: driver
>Synopsis: -static still leaves the linker looking for shared library code
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 24 23:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Matt Bonner
>Release: GCC 3.2.1
>Organization:
>Environment:
HP-UX B.11.11 U 9000/785
>Description:
The -static option to g++ results in the following error message from the linker:
/usr/ccs/bin/ld: Unsatisfied symbols:
shl_load (code)
shl_unload (code)
shl_findsym (code)
For at least any file including <iostream>
>How-To-Repeat:
g++ -static -o hola hola.cpp
>Fix:
Wish I knew... I can't figure out why the HP-UX loader thinks it needs those functions. I don't see any sign of any shared libraries being loaded, but then I haven't found an option that outputs each library linked. We can't release software until we can resolve this. I don't know what your severity or priority criteria are, so please adjust them as needed--I guessed based on what a "can't continue" defect from one of my users would be.
Only other signal I can report is that a main with just
int a=5;
and without including iostream links okay.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="hola.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="hola.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkKewog
IHN0ZDo6Y291dCA8PCAiaG9sYSwgbW9uXG4iOwoKICByZXR1cm4gMDsKfQo=
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-24 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-24 23:26 driver/9843: -static still leaves the linker looking for shared library code matt.bonner
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).