You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Thom Park <tp...@borland.com> on 2001/08/01 00:07:46 UTC
RE: RESOLVED: mod_webapp hanging/core-dumping on Solaris
Hello!
My tuppence worth on one comment here:
>1. Always use gcc. Always use gcc. Always use gcc.
Why? Because it's the lowest common denominator.
Because the developers are building/testing with it.
Because ./configure likes it. Always use gcc.
Only do this if your absolutely guaranteed that any libraries that you
link with have not been compiled with Sun's native C++ compiler ;-)
There is serious grief in store trying to resolve name-mangled symbols
between gcc and a C++ library (even with extern "C" used).
I learned this the hardway :(
Apart from that - excellent job on debugging!
-Thom
Re: RESOLVED: mod_webapp hanging/core-dumping on Solaris
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Thom Park at tpark@borland.com wrote:
> Hello!
>
> My tuppence worth on one comment here:
>
>> 1. Always use gcc. Always use gcc. Always use gcc.
> Why? Because it's the lowest common denominator.
> Because the developers are building/testing with it.
> Because ./configure likes it. Always use gcc.
>
> Only do this if your absolutely guaranteed that any libraries that you
> link with have not been compiled with Sun's native C++ compiler ;-)
>
> There is serious grief in store trying to resolve name-mangled symbols
> between gcc and a C++ library (even with extern "C" used).
>
> I learned this the hardway :(
If there's a problem with Sun's C++, I bet it's in APR (as mod_webapp relies
100% on it). And it can be fixed (here or there). And I don't quite get why
Sun's and GCC aren't interoperable... They should both spit out ELF on
Solaris...
> Apart from that - excellent job on debugging!
FUCK YEAH... (Ok, I can be somehow happy at this point)
Guys, we need to shoot at the bug I filed today... #2933... It's the only
step which still forbids me to put out a beta-1... :) Can you please check
if it's my setup or it can be reproduced also on yours?
Pier