--- Comment #4 from paul dot shaklan at solipsys dot com 2010-04-26 16:56
---
Exactly the same results with libfoo.so is built with fPIC
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43734
--- Comment #2 from paul dot shaklan at solipsys dot com 2010-04-12 17:39
---
Created an attachment (id=20369)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20369&action=view)
.ii file associated with main.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43734
--- Comment #1 from paul dot shaklan at solipsys dot com 2010-04-12 17:38
---
Created an attachment (id=20368)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20368&action=view)
.ii file associated with foo.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43734
43obj/sparc-sun-solaris2.10/libstdc++-v3/include/ostream:510
#4 0x000107fc in main ()
(gdb)
Additional Notes:
- I've reproduced the seg fault on a Solaris 10 x86 machine.
- I've reproduced the seg fault with g++ 4.4.1
- I've reproduced the seg fault using binutils ld version 2.19.1
- I have not been able to reproduce using g++ 4.3.3, 3.4.6, nor 3.3.2
- I have not been able to reproduce on Red Hat Enterprise Linux ES release 4
- I'm not entirely convinced this isn't a linker problem, but (at this point)
I'm unsure how to go about distinguishing.
--
Summary: cerr related segmentation fault
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: paul dot shaklan at solipsys dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43734