Hi Ryan,

It would be great to have a way to build Xalan on Solaris using gcc.  One
problem is that we don't have access to a Solaris box with the compiler on
it.  Another problem is that there are problems with gcc in general, and
even more with Solaris versions of the compiler.  I'm guessing the problem
you're having with the bus error is related to Xalan's use of templates and
the STL.  You might try rebuilding without optimization (either use the -d
flag with runConfigure, or remove the -O option from the generated
Makefile) to see if that helps.  You could try to debug the core to see
where the bus error is occurring.

You also might want to get the latest sources from the CVS repository
before you continue.  Some problems have been fixed, and if you end up
submitting diffs, it will be easier that way.

Dave



                                                                                       
                                               
                      "Ryan Delano"                                                    
                                               
                      <[EMAIL PROTECTED]         To:      <[EMAIL PROTECTED]>     
                                               
                      r.com>                   cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                          
                                               Subject: Nearly ported with g++ on 
solaris                                             
                      03/23/2002 04:05                                                 
                                               
                      PM                                                               
                                               
                      Please respond                                                   
                                               
                      to xalan-dev                                                     
                                               
                                                                                       
                                               
                                                                                       
                                               



I have been trying to build applications using gcc and g++ on Solaris in
hopes to discontinue using Workshop 6.2 (now Forte C++).  I have been able
to "rebuild" all related components with some difficulty and a few
modifications to a few distribution files.  I have completely rebuilt
Xerces-C 1.6 and then Xalan-C 1.3 to the point that I can compile and link
using gcc and it's ld.  The problem is that I can only successfully execute
parser-related actions.  When I try to execute the initialization for Xalan
I get a Bus error with a core.  The same is true for the recompiled
distributed exe's.

I think it would be really helpful for the Solaris user-base if they could
produce applications on GNU compilers and it seem like I'm close.  Can you
confirm that anyone has been able to fully rebuild the Xalan-C project or
perhaps confirm that I am wasting my time?  I'm not sure what to try next,
seeing that my compilation and links are happening without error.

In the event that my effort is successful I have fully documented all the
environment settings and modifications which I was intending to share with
you at that time.  Please let me know if you have any advice on where I
might look to understand and compensate for my Bus error.

Thanks,
Ryan Delano
Portland, Maine




Reply via email to