httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu CARBONNEAUX <i...@ch2o.info>
Subject Re: [info@ch2o.info] Re: Compiling a C++ module with g++ on Solaris
Date Thu, 15 Jun 2006 10:09:08 GMT
yes try sun studio, v10 and v11 are free for use... than can been download for free on sun
site...
and work on solaris 8,9 and 10...
  _____  

From: Jean-frederic Clere [mailto:jfclere@gmail.com]
To: dev@httpd.apache.org
Sent: Mon, 12 Jun 2006 22:14:29 +0200
Subject: [info@ch2o.info] Re: Compiling a C++ module with g++ on Solaris

Phil Endecott wrote:

> Dear All,
>
> I'm the author of Anyterm (http://anyterm.org/) which uses an Apache 
> module written in C++.  This works OK on Linux.  However, a user has 
> attempted to compile it on Solaris and it fails at run time. 
> Specifically, the first time that any C++ memory allocation stuff 
> happens - it creates a std::string in the post_config hook function - 
> it segfaults deep inside libstdc++.

Have you try with sun studio?

>
> This user is using g++ 3.4.3 and the Sun linker on Solaris 10 x86.  
> I'm curous to know if any readers have any experience compiling C++ 
> Apache modules on this platform, and whether there are any gotchas to 
> look out for.
>
> Is it possible that there is some libstdc++ initialisation that hasn't 
> happened?  I could imagine that this would require special support 
> from the linker or the dlopen stuff, and that that behaves differently 
> with Sun's libc and linker than on Linux.
>
> Any ideas?  He has tried with 2.0.5? and 2.2.? with the same result.
>
> Cheers,
>
> Phil.
>
>
>
>

  
Mime
View raw message