public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16184] New: dynamic_cast seg faults when linking certain libraries
@ 2004-06-24 19:34 cmorris at novell dot com
2004-06-24 21:24 ` [Bug c++/16184] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: cmorris at novell dot com @ 2004-06-24 19:34 UTC (permalink / raw)
To: gcc-bugs
See https://mail.internet2.edu/wws/arc/mace-opensaml-users/2004-06/msg00030.html
I've narrowed it down to a dynamic cast. This dynamic cast is in a shared
library. In my executable I link to the shared library at link time. I also
link in some additional libraries. I remove these additional libraries when I
link then the problem goes away. I put the links back and dynamic cast seg
faults again.
--
Summary: dynamic_cast seg faults when linking certain libraries
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cmorris at novell dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16184
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16184] dynamic_cast seg faults when linking certain libraries
2004-06-24 19:34 [Bug c++/16184] New: dynamic_cast seg faults when linking certain libraries cmorris at novell dot com
@ 2004-06-24 21:24 ` pinskia at gcc dot gnu dot org
2004-06-28 20:28 ` cmorris at novell dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-24 21:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-24 21:23 -------
Do you load the shared library with RTDL_GLOBAL?
See PR 4993 for more information.
If this is not the case this is just a dup of that bug and an invalid as the TypeInfo has to be exported.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16184
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16184] dynamic_cast seg faults when linking certain libraries
2004-06-24 19:34 [Bug c++/16184] New: dynamic_cast seg faults when linking certain libraries cmorris at novell dot com
2004-06-24 21:24 ` [Bug c++/16184] " pinskia at gcc dot gnu dot org
@ 2004-06-28 20:28 ` cmorris at novell dot com
2004-08-31 5:38 ` pinskia at gcc dot gnu dot org
2004-11-30 0:46 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cmorris at novell dot com @ 2004-06-28 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cmorris at novell dot com 2004-06-28 20:23 -------
(In reply to comment #1)
> Do you load the shared library with RTDL_GLOBAL?
> See PR 4993 for more information.
>
> If this is not the case this is just a dup of that bug and an invalid as the
TypeInfo has to be exported.
No linking is done at compile time. I don't do any library loading manually. I
narrowed down which library changes the behaviour and looks at which symbols are
exported. All the symbols exported start with "SAL_" except for one symbol
called "findid"
Could it be that this findid symbol is replacing something else needed for RTTI?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16184
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16184] dynamic_cast seg faults when linking certain libraries
2004-06-24 19:34 [Bug c++/16184] New: dynamic_cast seg faults when linking certain libraries cmorris at novell dot com
2004-06-24 21:24 ` [Bug c++/16184] " pinskia at gcc dot gnu dot org
2004-06-28 20:28 ` cmorris at novell dot com
@ 2004-08-31 5:38 ` pinskia at gcc dot gnu dot org
2004-11-30 0:46 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-31 5:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-31 05:38 -------
What binutils version are you using?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16184
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16184] dynamic_cast seg faults when linking certain libraries
2004-06-24 19:34 [Bug c++/16184] New: dynamic_cast seg faults when linking certain libraries cmorris at novell dot com
` (2 preceding siblings ...)
2004-08-31 5:38 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 0:46 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 0:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-30 00:46 -------
No feedback in 3 months.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16184
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-30 0:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-24 19:34 [Bug c++/16184] New: dynamic_cast seg faults when linking certain libraries cmorris at novell dot com
2004-06-24 21:24 ` [Bug c++/16184] " pinskia at gcc dot gnu dot org
2004-06-28 20:28 ` cmorris at novell dot com
2004-08-31 5:38 ` pinskia at gcc dot gnu dot org
2004-11-30 0:46 ` pinskia at gcc dot gnu dot org
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).