The following comment has been added to this issue:

     Author: Lénaïc Huard
    Created: Thu, 13 May 2004 2:52 AM
       Body:
I have the same problem when trying to build xerces 2.5.0 on this config :

% uname -a
SunOS XXXX 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire
% gcc -v
Reading specs from /tools/gcc64/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --prefix=/softntools/tools/gcc-3.2.1 
--enable-languages=c,c++,f77 --enable-shared --enable-threads=posix
Thread model: posix
gcc version 3.2.1


In order to fix the problem, I have modified the runConfigure scripts replacing the 
following lines :

if test $bitsToBuild = 64; then
    bitstobuildDefines=" -DXML_BITSTOBUILD_64 "
    bitstobuildLink=" "
    if test $platform; then
        case $platform in
           solaris)
              bitstobuildDefines=" $bitstobuildDefines -xarch=v9 "
              bitstobuildLink=" -xarch=v9 " ;;
           aix)


by those ones :

if test $bitsToBuild = 64; then
    bitstobuildDefines=" -m64 -DXML_BITSTOBUILD_64 "
    bitstobuildLink=" -m64 "
    if test $platform; then
        case $platform in
           solaris)
              bitstobuildDefines=" $bitstobuildDefines -mcpu=v9 "
              bitstobuildLink=" $bitstobuildLink -mcpu=v9 " ;;
           aix)

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XERCESC-1069?page=comments#action_35520

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1069

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1069
    Summary: configure gcc 64-bit on solaris fails
       Type: Bug

     Status: Open

    Project: Xerces-C++
 Components: 
             Build
   Versions:
             2.3.0

   Assignee: Xerces-C Developers Mailing List
   Reporter: John Ky

    Created: Thu, 27 Nov 2003 4:21 AM
    Updated: Thu, 13 May 2004 2:52 AM
Environment: Operating System: Other
Platform: Other

Description:
When:

./runConfigure -p$OSTYPE -cgcc -xg++ -minmem -nsocket -tnative -rpthread -b 64

The configure script fails on Solaris 9 fails because it uses the
compiler/linker options -xarch=v9 instead of -m64 -mcpu=v9.

gcc has no such command line options.

It is possible to use runConfigure with the following options instead:

./runConfigure -p$OSTYPE -cgcc -xg++ -minmem -nsocket -tnative -rpthread -l
"-m64" -l "-mcpu=v9" -z "-m64" -z "-mcpu=v9"


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to