This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Segmentation Fault with shared c++ library


Hi,

Cancel the bug report. The problem was caused by Solaris7 linker:

(from 106950-01)
4176579 problem loading dynamically linked libraries with setuid root

After apply the patch 106950-01, which you have to pay to get it 
(non-public patches), the problem is gone. This patch is included
in xx/99 version of Solaris7 release. We use xx/98 version of Solaris7
for Sparc, and 03/99 for x86. That's why the problem only happeded
on Sparc. 

> I'm upgrading our gcc/g++ from egcs v1.1.2 to gcc v2.95.1. However,
> when I use the newly built g++ compile the simple Hello-World program,
> the executable produces 'Segmentation Fault'. This problem only happens
> with Solaris/Sparc. I did exactly same under Solaris/x86 and there's
> no such problem.

-- 
Cheers, 
  
Ling Shi                                      
Email: ling@cs.mu.OZ.AU / sysad@cs.mu.OZ.AU         Ph: 9344 9108

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]